curl --request POST \
--url https://api.example.com/v1/projects/{project_identifier}/spans \
--header 'Content-Type: application/json' \
--data '
{
"data": [
{
"name": "<string>",
"context": {
"trace_id": "<string>",
"span_id": "<string>"
},
"span_kind": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"status_code": "<string>",
"id": "",
"parent_id": "<string>",
"status_message": "",
"attributes": {},
"events": [
{
"name": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"attributes": {}
}
]
}
]
}
'{
"total_received": 123,
"total_queued": 123
}Submit spans to be inserted into a project. If any spans are invalid or duplicates, no spans will be inserted.
curl --request POST \
--url https://api.example.com/v1/projects/{project_identifier}/spans \
--header 'Content-Type: application/json' \
--data '
{
"data": [
{
"name": "<string>",
"context": {
"trace_id": "<string>",
"span_id": "<string>"
},
"span_kind": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"status_code": "<string>",
"id": "",
"parent_id": "<string>",
"status_message": "",
"attributes": {},
"events": [
{
"name": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"attributes": {}
}
]
}
]
}
'{
"total_received": 123,
"total_queued": 123
}Documentation Index
Fetch the complete documentation index at: https://arizeai-433a7140-update-phoenix-arize-phoenix-evals-3-1-0.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The project identifier: either project ID or project name. If using a project name, it cannot contain slash (/), question mark (?), or pound sign (#) characters.
Show child attributes
Was this page helpful?