Skip to main content
POST
/
session
/
start
Start a new session (deprecated)
curl --request POST \
  --url https://api.dp1.us.honeyhive.ai/session/start \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "session": {
    "session_id": "<string>",
    "session_name": "<string>",
    "event_name": "<string>",
    "source": "<string>",
    "start_time": 123,
    "end_time": 123,
    "duration": 123,
    "config": {},
    "inputs": {},
    "outputs": {},
    "metadata": {},
    "user_properties": {},
    "children_ids": [
      "<string>"
    ]
  }
}
'
{
  "event_id": "<string>",
  "session_id": "<string>",
  "org_id": "<string>",
  "workspace_id": "<string>",
  "project_id": "<string>",
  "parent_id": "<string>",
  "children_ids": [
    "<string>"
  ],
  "event_type": "<string>",
  "event_name": "<string>",
  "config": "<unknown>",
  "inputs": "<unknown>",
  "outputs": "<unknown>",
  "error": "<string>",
  "source": "<string>",
  "duration": 123,
  "user_properties": "<unknown>",
  "metrics": "<unknown>",
  "feedback": "<unknown>",
  "metadata": "<unknown>",
  "start_time": 123,
  "end_time": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.honeyhive.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body for POST /session/start (deprecated — use POST /v1/sessions)

session
object
required

Response

200 - application/json

Session successfully started

Full session event object returned after starting a new session

event_id
string
required
session_id
string
required
org_id
string
required
workspace_id
string
required
project_id
string
required
parent_id
string | null
children_ids
string[]
event_type
string | null
event_name
string | null
config
any
inputs
any
outputs
any
error
string | null
source
string | null
duration
number | null
user_properties
any
metrics
any
feedback
any
metadata
any
start_time
number | null
end_time
number | null
{key}
any