/tours/{tourId}/legs

List the legs routed on a tour in creation order. A tour carries a small, bounded number of legs, so the complete set is returned in a single page by default; limit and cursor are available for the rare tour large enough to warrant paging.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the tour whose legs to list.

Query Params
string
enum

Sorting direction. Legs are always sorted by creation time; defaults to ascending (oldest first).

Allowed:
number

Maximum count of items in one page. Omitted returns the tour's complete leg set.

string

Opaque pagination cursor from the previous response's cursors.after.

Responses

401

Unauthorized - invalid or missing API key.

404

Tour not found.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json