List archived trips
GET/v1/trips/archived
Lists the agency's archived trips, most recently archived first, in one page (the app's own archive list is not paginated either). Restore one with POST /trips/{tripId}/restore.
Permissions: trips:read · Kind: read · Cost: 1 unit · MCP tool list_archived_trips
Path parameters
None.
Query parameters
None.
Response 200
| Field | Type | Required | Description |
|---|---|---|---|
object |
"list" | yes | |
data |
object[] | yes | |
data[].object |
"archived_trip" | yes | |
data[].id |
uuid | yes | |
data[].code |
string | yes | |
data[].title |
string | yes | |
data[].startDate |
string | null | yes | |
data[].endDate |
string | null | yes | |
data[].archivedAt |
string | yes | |
data[].archivedBy |
string | null | yes | |
nextCursor |
string | null | yes |
Errors
Errors are problem details. Besides the refusals described above, any call like this one can return:
invalid_request— Invalid requestunauthorized— Missing or invalid API keyinsufficient_scope— Missing permissionrate_limited— Rate limit reached