curl --request POST \
  --url https://api.honeyhive.ai/session/start \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "session": {
    "children_ids": [
      "<string>"
    ],
    "config": {},
    "duration": 123,
    "end_time": 123,
    "error": "<string>",
    "feedback": {},
    "inputs": {},
    "metadata": {},
    "metrics": {},
    "outputs": {},
    "project": "<string>",
    "session_id": "<string>",
    "session_name": "<string>",
    "source": "<string>",
    "start_time": 123,
    "user_properties": {}
  }
}'
{
  "session_id": "<string>"
}

Authorizations

Authorization
string
headerrequired

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

Body

application/json
session
object

Response

200 - application/json
session_id
string