Skip to main content
POST
/
api
/
tracing
/
traces
/
cURL
curl --request POST \
  --url https://api.bedrock.orinlabs.org/api/tracing/traces/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "started_at": "2023-11-07T05:31:56Z",
  "room_name": "<string>",
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "metadata": "<unknown>"
}
'
{
  "name": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "started_at": "2023-11-07T05:31:56Z",
  "room_name": "<string>",
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "metadata": "<unknown>"
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

Serializer for creating a trace.

External tracer clients (harness) supply id and started_at so trace timestamps reflect the client-side clock. Bedrock generates both when the fields are absent (preserves the original portal behavior).

name
string
required
Required string length: 1 - 255
id
string<uuid>
started_at
string<date-time>
room_name
string | null
Maximum string length: 255
agent_id
string<uuid> | null
metadata
any

Response

201 - application/json

Serializer for creating a trace.

External tracer clients (harness) supply id and started_at so trace timestamps reflect the client-side clock. Bedrock generates both when the fields are absent (preserves the original portal behavior).

name
string
required
Maximum string length: 255
id
string<uuid>
started_at
string<date-time>
room_name
string | null
Maximum string length: 255
agent_id
string<uuid> | null
metadata
any