Skip to main content
PUT
/
api
/
parea
/
v1
/
trace_log
Update Trace Log
curl --request PUT \
  --url https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1/api/parea/v1/trace_log \
  --header 'Content-Type: application/json' \
  --header 'x-user-id: <api-key>' \
  --data '
{
  "trace_id": "<string>",
  "field_name_to_value_map": {},
  "root_trace_id": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

x-user-id
string
header
required

Body

application/json
trace_id
string
required

UUID of the trace log which should be updated

field_name_to_value_map
Field Name To Value Map · object
required

Key-value pairs how each given field (key) of the trace log should be updated with value. For field names, see TraceLogSchema.

root_trace_id
string | null

UUID of root trace

Response

Successful Response