curl --request POST \
--url https://api.promptmetrics.dev/traces/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"traces": [
{
"trace_id": "<string>",
"span_id": "<string>",
"function_name": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"duration_ms": 1,
"status": "SUCCESS",
"parent_span_id": "<string>",
"error": {},
"input": {},
"output": {},
"metadata": {},
"scores": [
{}
],
"tags": [
"<string>"
],
"group_id": "<string>",
"group_type": "<string>"
}
]
}
'{
"responseData": {
"data": {}
}
}curl --request POST \
--url https://api.promptmetrics.dev/traces/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"traces": [
{
"trace_id": "<string>",
"span_id": "<string>",
"function_name": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"duration_ms": 1,
"status": "SUCCESS",
"parent_span_id": "<string>",
"error": {},
"input": {},
"output": {},
"metadata": {},
"scores": [
{}
],
"tags": [
"<string>"
],
"group_id": "<string>",
"group_type": "<string>"
}
]
}
'{
"responseData": {
"data": {}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
1 - 100 elementsShow child attributes
Batch processed
Show child attributes