Skip to main content
GET
List transport routes

Authorizations

X-API-Key
string
header
required

Per-manufacturer API key in the X-API-Key header, format emidat-{key_id}-{secret} where key_id is a random public handle. Issued by an owner in the Emidat dashboard; carries its own permission scopes, optional plant restrictions, and optional expiry. A revoked, expired, or unknown key returns 401. See the Authentication guide for details.

Query Parameters

source_kind
enum<string>
required

What source_id names: one of your supplier plants, or one of your own plants for a route between two of your plants.

Available options:
plant,
supplier_plant
source_id
string<uuid>
required

UUID of the supplier plant or plant the routes start at.

destination_kind
enum<string>
required

What destination_id names. Only plant (one of your plants) today; other kinds may be added, so branch on this rather than assuming it.

Available options:
plant
destination_id
string<uuid>
required

UUID of the plant the routes deliver to. A plant outside the key's plant access returns 403.

cursor
string

Opaque cursor taken from the previous page's next_cursor. Omit it for the first page. Never construct or parse one — its encoding is not part of the contract. A cursor that cannot be decoded is rejected with 422. See Pagination.

limit
integer
default:50

Maximum number of items on the page. Out of range is rejected with 422. See Pagination.

Required range: 1 <= x <= 200

Response

One page of transport routes.

data
object[]
required
next_cursor
string | null
required

Pass back as cursor to fetch the next page. null on the last page — the only reliable end-of-collection signal.