API Documentation
Complete guide to integrating with the OATDA API
Learn how to use our unified API to access multiple LLM providers through a single interface.
Getting Started
Follow these steps to start using the OATDA API
1. Generate API Key
First, you need to create an API key in your dashboard. Navigate to the API Keys section and generate a new key.
Generate API Key2. Set Base URL
Use the following base URL for all API requests:
Base URL
https://yourapi.com/api/v1text
3. Make Your First Request
Include your API key in the request headers and start making requests to our endpoints.
First Request Example
curl -X POST "https://yourapi.com/api/v1/llm" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-api-key-here" \
-d '{
"provider": "openai",
"model": "gpt-4",
"prompt": "Hello, world!",
"temperature": 0.7,
"maxTokens": 100
}'bash