API Overview
AICA exposes a RESTful JSON API for managing call records, analyses, projects, alerts, users, and billing.
Base URL
https://api.aica.grow2.ai/api/v1
Replace with your custom domain if you have one configured.
General Conventions
- All endpoints require authentication unless noted otherwise (the
/healthendpoint is public). - Rate limiting is enforced at 200 requests per minute per client.
- Request and response bodies use
Content-Type: application/json. - Every response includes a unique request ID in the
X-Request-Idheader for debugging and support purposes.
Response Format
Success
{
"data": { ... },
"meta": {
"page": 1,
"pageSize": 20,
"total": 142
}
}
The meta object is included for paginated list endpoints. Single-resource responses omit meta or include only non-pagination metadata.
Error
{
"error": {
"message": "Record not found",
"code": "NOT_FOUND"
}
}
Standard HTTP status codes are used: 400 for validation errors, 401 for authentication failures, 403 for authorization failures, 404 for missing resources, 429 for rate limiting, and 500 for internal errors.
API Groups
| Group | Description |
|---|---|
| Records | Create, list, upload, and manage call records and transcripts |
| Projects | Manage projects and their analysis settings |
| Analyses | Access analysis results, annotations, and QA reviews |
| Alerts | Configure alert rules and view triggered incidents |
| Users | Manage organization users and invitations |
| Billing | View usage, credits, and configure budget limits |
| Search | Full-text search across records, transcripts, and analyses |
Pagination
List endpoints accept page and pageSize query parameters:
GET /api/v1/records?page=2&pageSize=50
pagedefaults to1.pageSizedefaults to20, maximum100.
Filtering and Sorting
Most list endpoints support filtering via query parameters specific to the resource. Common parameters include:
projectId— filter by projectstatus— filter by processing statusfrom/to— date range (ISO 8601)sort— field to sort by (e.g.,createdAt,qualityScore)order—ascordesc
Refer to Endpoints for resource-specific filters.
Next Steps
- Authentication — how to obtain and use API tokens
- Endpoints Reference — full list of available endpoints with examples