Getting started
Base URL:https://core.ravenna.ai/api
Authentication: Include your API key in the x-ravenna-api-token header with every request.
Example request:
Authentication
Create an API key
- Navigate to Settings in your Ravenna workspace
- Select API Keys from the sidebar
- Click Create API Key
- Copy your key and store it securely
Use your API key
Include your API key in thex-ravenna-api-token header with every request:
Revoke an API key
To revoke an API key:- Go to Settings > API Keys
- Find the key you want to revoke
- Click the delete button
Making requests
Response format
All responses return JSON. Successful responses include the requested data:Rate limits
The API enforces rate limits to ensure fair usage. If you exceed the limit, you’ll receive a
429 Too Many Requests response. Wait before retrying your request.Common error codes
401 Unauthorized: Invalid or missing API key403 Forbidden: Valid API key but insufficient permissions404 Not Found: Resource doesn’t exist429 Too Many Requests: Rate limit exceeded500 Internal Server Error: Server error, contact support if persistent