Skip to main content
GET
/
v1
/
traces
/
{traceId}
/
spans
/
{spanId}
Get span I/O detail
curl --request GET \
  --url https://api.agentmark.co/v1/traces/{traceId}/spans/{spanId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Agentmark-App-Id: <api-key>'
{
  "data": {
    "input": "<string>",
    "output": "<string>",
    "output_object": "<string>",
    "tool_calls": "<string>"
  }
}

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_*)

Path Parameters

traceId
string
required
spanId
string
required

Response

Full I/O payload for the span.

data
object
required