External API Reference
Use the external API to integrate prompts, runs, and usage data with your systems.
Authentication
- Use your workspace API key; keep it secret.
- Send requests over HTTPS only.
Common endpoints
- Prompts – Create, list, and manage prompts.
- Runs – Trigger runs and retrieve results where available.
- Usage – Check usage and analysis credits.
Rate limits
- Standard rate limits apply per workspace; contact support for higher limits.
Tips
- Rotate keys regularly and scope them to the minimum needed.
- Handle pagination with cursors where provided.