Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Close trace thread(s)

PUT/v1/private/traces/threads/closeClose trace thread(s)

Close one or multiple trace threads. Supports both single thread_id and multiple thread_ids for batch operations.

Request body

application/json
objectTraceThreadBatchIdentifier
project_idstring · uuid
project_namestring
thread_idstring
thread_idsarray of string

maxItems 1000 · minItems 1 · uniqueItems true

Show child attributes

maxItems 1000 · minItems 1 · uniqueItems true

Example request
{
  "project_id": "00000000-0000-0000-0000-000000000000",
  "project_name": "string",
  "thread_id": "string",
  "thread_ids": [
    "string"
  ]
}

Responses

204No Content
404Not foundapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu