cURL
curl --request POST \ --url https://api.example.com/api/v1/internal/traces \ --header 'Content-Type: application/json' \ --data ' { "trace_id": "<string>", "proxy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "provider": "<string>", "model": "<string>", "timestamp": "2023-11-07T05:31:56Z", "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "request_tokens": 0, "response_tokens": 0, "latency_ms": 0, "policy_decision": "", "policy_rule": "", "response_body": "", "intent_score": 0.5, "intent_action": "<string>", "integration_names": "", "stream": 0, "status_code": 200 } '
{ "trace_id": "<string>", "proxy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "provider": "<string>", "model": "<string>", "request_tokens": 123, "response_tokens": 123, "latency_ms": 123, "policy_decision": "<string>", "intent_score": 123, "intent_action": "<string>", "integration_names": "<string>", "stream": 123, "status_code": 123, "timestamp": "2023-11-07T05:31:56Z", "tool_names": "<string>", "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "policy_rule": "", "response_body": "" }
1 - 255
128
0 <= x <= 4294967295
64
255
4096
0 <= x <= 1
1024
100 <= x <= 599
Successful Response
Compatibility alias for runtimes still reading tool_names.
tool_names