Skip to main content
POST
Keep a chat turn's agent trace

Authorizations

Authorization
string
header
required

An API key (pch_...) or the token from pch login.

Body

application/json
trace_id
string<uuid>
required
size
integer
required

Bytes, gzipped

Required range: 1 <= x <= 268435456
sha256
string
required
Pattern: ^[0-9a-f]{64}$
started_at
string<date-time>

When the turn started; now if left out

Response

Where to upload the trace

key
string
required
upload
object
required