Projects
Send traces to different projects on Confident AI
Overview
You can specify which project each trace should be sent to by setting the Confident API key on a trace. This is especially useful when you need to separate traces to different projects within the same LLM application.
The Confident API key is unique to each project and can be found in your project settings on Confident AI.
Route Traces to Projects
Python
TypeScript
You can use update_current_trace to set the confident_api_key for a specific trace.
main.py
confident_api_key overrides the CONFIDENT_API_KEY environment variable.