Integration
Logging API
Log your LLM requests and responses asynchronously
How to use Keywords AI Logging API
1. Get your Keywords AI API key
After you create an account on Keywords AI, you can get your API key from the API keys page.
2. Integrate Async Logging into your codebase
3. Check your logs on the platform
After you integrate the async logging into your codebase and send the request successfully, you can check your logs on the Logs page.
4. Parameters
Check out the Logging endpoint page to see all supported parameters.
Parameters like: cost
, completion_tokens
, and prompt_tokens
will be automatically calculated if your model is supported. Check out our models page to see the list of supported models.