Skip to main content
POST
/
v1
/
traces
Ingest traces
curl --request POST \
  --url https://api.agentmark.co/v1/traces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Agentmark-App-Id: <api-key>' \
  --data '
{
  "resourceSpans": [
    {}
  ]
}
'
{
  "data": {
    "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Agentmark-App-Id
string
header
required

Application ID for tenant scoping

Authorization
string
header
required

API key (sk_agentmark_*)

Headers

Content-Encoding
enum<string>
Available options:
gzip
X-Request-Id
string<uuid>

Body

application/json
resourceSpans
object[]
required

Response

Request processed (empty payload or direct path).

data
object
required