Skip to main content
POST
Report business outcomes attributed to traces

Authorizations

x-api-key
string
header
required

Project API key. Manage keys in the Zespan dashboard under project settings.

Body

application/json
outcomes
object[]
required

Up to 100 outcomes per request — the same per-batch cap POST /v1/ingest uses for native SDK events, reused rather than inventing a second limit for a second ingest endpoint.

Required array length: 1 - 100 elements

Response

Batch accepted and written.

accepted
integer
required

Number of outcomes accepted from the batch.

Example:

1