API reference
Imports
You can import past calls from an observability tool in the console. This operation lists those imports.
All paths are under https://api.mubit.ai, with a management key in Authorization: Bearer. Management API covers keys, roles, pagination, retries and errors. The samples read the key from MUBIT_MANAGEMENT_KEY.
List imports
GET /api/v1/imports
Lists the imports of past calls in the organization's projects, newest first, the last 50 of each project. total_records is the number of calls read.
Role: read or higher.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | no | Number of records to return (1-200) |
cursor | query | string | no | Sealed pagination cursor from previous page |
curl
curl "https://api.mubit.ai/api/v1/imports" \
-H "Authorization: Bearer $MUBIT_MANAGEMENT_KEY"Response 200: Import jobs
Each item of data:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | imp_ and the run's 24 hex digits |
source | string | yes | |
status | string | yes | queued, running, succeeded, failed or canceled (a paused run is running) |
total_records | integer | no | The calls read so far |
created_at | string (date-time) | yes |
{
"data": [
{
"id": "imp_019283",
"source": "braintrust",
"status": "succeeded",
"total_records": 1200,
"created_at": "2026-10-25T00:00:00Z"
}
],
"next_cursor": null
}| Status | Meaning |
|---|---|
400 | Bad request (validation, invalid_cursor, out_of_bounds) |
401 | Unauthenticated (missing, invalid, or expired token) |
403 | Forbidden (role_required, role_ceiling, project_scoped, forbidden, or a key that isn't a management key) |
500 | Internal server error |
503 | Service unavailable (unavailable). Retry after the Retry-After seconds. |