Zum Hauptinhalt springen
StrikeStrike
API

Endpoint-Beschreibungen stammen aus OpenAPI und sind auf Englisch. Fehler.

POST/v1/traces

Ingest a decision trace batch

Bearer auth. JSON body, optionally gzip. Prompt text is stored only when capture_content is on. Trace spans are kept until you delete them; there is no automatic purge.

Parameter

NameOrtPflicht
AuthorizationheaderJa

Anfragekörper

Schema

FeldTypPflicht
projectstringJa
sdkstringNein
spansarray of objectJa

Antworten

202

Accepted.

400

Schema

FeldTypPflicht
errorobjectJa

error

FeldTypPflicht
typestringNein
codestringNein
messagestringNein
paramstringNein
request_idstringNein

401

Schema

FeldTypPflicht
errorobjectJa

error

FeldTypPflicht
typestringNein
codestringNein
messagestringNein
paramstringNein
request_idstringNein

413

Schema

FeldTypPflicht
errorobjectJa

error

FeldTypPflicht
typestringNein
codestringNein
messagestringNein
paramstringNein
request_idstringNein

422

Schema

FeldTypPflicht
errorobjectJa

error

FeldTypPflicht
typestringNein
codestringNein
messagestringNein
paramstringNein
request_idstringNein

503

Schema

FeldTypPflicht
errorobjectJa

error

FeldTypPflicht
typestringNein
codestringNein
messagestringNein
paramstringNein
request_idstringNein
curl -s -X POST "https://strike-ai.eu/v1/traces" \
  -H "Authorization: Bearer $STRIKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d ''

Ausprobieren

Ruft unseren Server-Proxy auf. Füg deinen API-Key nur hier ein: Er bleibt in diesem Tab und wird weder gespeichert noch an Analyse-Tools gesendet. Leer lassen, um den Proxy-Key des Playgrounds zu nutzen.

Fehler

StatusCodeBedeutung
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.
Strike AI | POST /v1/traces