To make an authenticated API call, include the API key in the Authorization header of your request, prefixed with Bearer .Here is an example using curl to list your assistants:
Copy
# Replace <YOUR_API_KEY> with the key you just copiedcurl -X GET "http://localhost:8000/api/v1/assistants/" \ -H "Authorization: Bearer <YOUR_API_KEY>" \ -H "Content-Type: application/json"
A successful request will return a JSON array of your assistants. Now you’re ready to explore the full API Reference!