PUT
/
session
/
{session_id}
Authorization
Path
Body
curl --request PUT \
  --url https://api.honeyhive.ai/session/{session_id} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "duration": 123,
  "error": "<string>",
  "feedback": {},
  "inputs": {},
  "metadata": {},
  "output": {},
  "user_properties": {}
}'
{
  "id": "<string>",
  "success": true
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

session_id
string
required

Body

application/json
duration
integer

Updated duration for the event

error
string
required

Updated error for the event

feedback
object

Updated feedback for the event

inputs
object

Updated inputs for the event

metadata
object

Updated metadata for the event

output
object
required

Updated outputs for the event

user_properties
object

Updated user properties for the event

Response

200 - application/json
id
string

The ID of the created object

success
boolean

Indicates whether the request was successful