| API | Purpose | Base path |
|---|---|---|
| Data analysis API | Brand tracking, prompts, competitors, sources, teams, billing | /api/v1 and /api/v2 |
| Content generation API | Article creation and management | /api/v1 |
Response format
Data analysis API
Most endpoints return responses in this format:Content generation API
Responses return the data directly (no wrapper). Errors return:Common HTTP status codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Created |
202 | Accepted (async operation started) |
400 | Bad request (invalid parameters) |
401 | Unauthorized (missing or invalid token) |
403 | Forbidden (no access to this resource) |
404 | Not found |
409 | Conflict (e.g., duplicate entry) |
429 | Usage limit exceeded (plan quota reached) |
API versioning
The data analysis API has two versions:- v1 — used for bootstrap, membership, and some legacy endpoints
- v2 — the current version for projects, prompts, competitors, sources, and teams