Traces
Get a trace
Returns a single trace by ID.
get/v1/projects/{project_id}/traces/{trace_id}
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/traces/{trace_id}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Path parameters
trace_idstring required
Public ID of the trace
Response
Trace details
Example response
{
"id": "trace_V1StGXR8Z5jdHi6B",
"file_id": "file_xyz789",
"step_count": 2,
"error": {
"code": "AI_PROVIDER_ERROR",
"message": "Provider returned 402: insufficient credits"
},
"content_redacted_by_principal_type": "user",
"content_redacted_by_principal_id": "user_V1StGXR8Z5jdHi6B"
}Changes
No recorded changes to this operation across all 1 revision of this API.