Aller au contenu principal
StrikeStrike
API

Les descriptions d’endpoints sont générées depuis OpenAPI en anglais. Erreurs.

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.

Paramètres

NomDansObligatoire
AuthorizationheaderOui

Corps de la requête

Schema

ChampTypeObligatoire
projectstringOui
sdkstringNon
spansarray of objectOui

Réponses

202

Accepted.

400

Schema

ChampTypeObligatoire
errorobjectOui

error

ChampTypeObligatoire
typestringNon
codestringNon
messagestringNon
paramstringNon
request_idstringNon

401

Schema

ChampTypeObligatoire
errorobjectOui

error

ChampTypeObligatoire
typestringNon
codestringNon
messagestringNon
paramstringNon
request_idstringNon

413

Schema

ChampTypeObligatoire
errorobjectOui

error

ChampTypeObligatoire
typestringNon
codestringNon
messagestringNon
paramstringNon
request_idstringNon

422

Schema

ChampTypeObligatoire
errorobjectOui

error

ChampTypeObligatoire
typestringNon
codestringNon
messagestringNon
paramstringNon
request_idstringNon

503

Schema

ChampTypeObligatoire
errorobjectOui

error

ChampTypeObligatoire
typestringNon
codestringNon
messagestringNon
paramstringNon
request_idstringNon
curl -s -X POST "https://strike-ai.eu/v1/traces" \
  -H "Authorization: Bearer $STRIKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d ''

Essayer

Appelle notre proxy serveur. Ne collez votre clé API qu’ici : elle reste dans cet onglet, n’est ni stockée ni envoyée à un outil d’analyse. Laissez vide pour utiliser la clé du proxy du playground.

Erreurs

StatutCodeSignification
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