Skip to main content
POST
Create collector collector

Authorizations

Authorization
string
header
required

Organization-scoped EvalGate API key. Discover the supported agent scopes at /.well-known/oauth-protected-resource. Per-operation grants are listed in x-evalgate-required-scopes; OpenAPI bearer security requirement arrays remain empty as required for non-OAuth schemes.

Body

application/json
trace_id
string
required
name
string
required
spans
object[]
required
status
Available options:
error
duration_ms
null | number
source
Available options:
api
environment
Available options:
dev
repo_sha
string
content_hash
string
metadata
null | object
evaluation_run_id
number
user_feedback
object

Response

Successful response

trace_id
string
required
trace_db_id
number
required
span_count
number
required
spans_written
number
required
spans_existing
number
required
feedback_recorded
boolean
required
queued_for_analysis
boolean
required
sampling_reason
required
Available options:
skipped