Skip to main content
StrikeStrike
API

POST/v1/traces

Ingest a strikeflow trace batch

Bearer auth. JSON body, optionally gzip. Prompt text is stored only when capture_content is on. Retention is 30 days.

Parameters

NameInRequired
AuthorizationheaderYes

Request body

Schema

FieldTypeRequired
projectstringYes
sdkstringNo
spansarray of objectYes

Responses

202

Accepted.

400

Schema

FieldTypeRequired
errorobjectYes

error

FieldTypeRequired
typestringNo
codestringNo
messagestringNo
paramstringNo
request_idstringNo

401

Schema

FieldTypeRequired
errorobjectYes

error

FieldTypeRequired
typestringNo
codestringNo
messagestringNo
paramstringNo
request_idstringNo

413

Schema

FieldTypeRequired
errorobjectYes

error

FieldTypeRequired
typestringNo
codestringNo
messagestringNo
paramstringNo
request_idstringNo

422

Schema

FieldTypeRequired
errorobjectYes

error

FieldTypeRequired
typestringNo
codestringNo
messagestringNo
paramstringNo
request_idstringNo

503

Schema

FieldTypeRequired
errorobjectYes

error

FieldTypeRequired
typestringNo
codestringNo
messagestringNo
paramstringNo
request_idstringNo
curl -s -X POST "https://strike-ai.eu/v1/traces" \
  -H "Authorization: Bearer $STRIKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d ''

Try it

Calls our server proxy. Only paste your API key here: it stays in this tab and isn’t stored or sent to analytics. Leave it empty to use the playground proxy key.

Errors

StatusCodeMeaning
401authentication_errorMissing or invalid Bearer API key.
422validation_errorRequest body failed schema or business validation.
413payload_too_largeRequest body or state exceeds size limits.
503model_warmingInference worker is starting (strike-1). Retry with backoff.