Traces Not Appearing
- Confirm key formats:
- TraceLM key starts with
lt_ - Provider key is valid (
OPENAI_API_KEY,ANTHROPIC_API_KEY, orGOOGLE_API_KEY)
- Confirm base URL:
- Production:
https://api.tracelm.ai - Local:
http://localhost:8000
- Confirm proxy request headers:
X-API-KeyAuthorization: Bearer <provider_key>- Optional
X-Provider
Task Detection Missing
- Ensure calls are grouped with
X-Task-ID(or SDK task context). - Run
PUT /api/v1/tasks/{task_id}/complete?run_detection=trueorPOST /api/v1/tasks/{task_id}/detect.
Wrong Task/Conversation Metrics
- Verify
X-Task-IDis stable during one execution cycle. - Verify
X-Conversation-IDis stable across turns. - Use
/api/v1/tasks/{task_id}/timelineto debug missing/ordering issues.
Feedback Not Updating Patterns
- Submit feedback with
POST /api/v1/tasks/{task_id}/feedback. - Check aggregates with
/api/v1/feedback/patternsand/api/v1/feedback/stats. - Patterns require valid
tool_call_idtied to the given task.
Verification Route Errors
Use current routes:POST /api/v1/verification/traces/{trace_id}/verifyGET /api/v1/verification/traces/{trace_id}
/verification/verify/... and /verification/results/... paths are deprecated.)
