API reference
Kairro’s integration API covers provisioning (SCIM 2.0), the audit log, and service health. The full machine-readable description is an OpenAPI 3.1 document.
https://app.kairro.ai/v1/openapi.json
Base URL
https://app.kairro.ai
Authentication
| Endpoints | Credential | Where to get it |
|---|---|---|
/v1/scim/v2/* | Provisioning token | Settings, Provisioning in the admin console |
/v1/admin/* | Session token | Returned when a user signs in. Requires the Admin role for the endpoints below |
Send the credential as Authorization: Bearer <token>. A credential only ever acts on the organization it belongs to.
Rate limits
- Admin and SCIM endpoints: a default limit of 600 requests per minute. Counters use the authenticated user or API key when available, otherwise the client IP address.
- Rate-limited sign-in actions: a default limit of 20 requests per minute per client address and endpoint.
Responses include RateLimit-Limit, RateLimit-Remaining, and RateLimit-Reset. A 429 response includes Retry-After in seconds.
Audit log
| Request | Purpose |
|---|---|
GET /v1/admin/audit-logs | List entries, newest first. Page with page and pageSize (up to 200) |
GET /v1/admin/audit-logs/export | Download matching entries as CSV, up to 10,000 rows per request. Growth and Enterprise plans |
Both accept the filters from, to (ISO 8601), eventType, entityType, actor, q, and sort.
curl "https://app.kairro.ai/v1/admin/audit-logs?from=2026-11-01T00:00:00Z&eventType=POLICY_UPDATED" \
-H "Authorization: Bearer $KAIRRO_SESSION_TOKEN"
When an export is capped, the response header X-Export-Truncated is true; narrow the date range and request again. Each export is itself recorded in the audit log.
Provisioning (SCIM)
Users and Groups under /v1/scim/v2. See SCIM provisioning for setup and behaviour.
Errors and support
- Errors are returned as JSON; the fields depend on the endpoint. SCIM endpoints use the SCIM error format.
- Every response carries an
X-Request-Idheader. Include it when you contact us about a request.
Scope
The endpoints above are the supported integration surface. Other endpoints used by the admin console are internal and may change without notice.