Skip to main content
GET
List a bounded page of account order templates
Examples are synthetic; the documentation cannot submit requests.

Authorization

read; templates are account-owned.

Behavior

Returns {templates, next_cursor}. The cursor is null when the statement observed the end; otherwise copy it unchanged to the next call. The optional limit defaults to 20, with a maximum of 100. Templates are account-owned and are not limited to the credential instrument. Template reads place no trades.

Request example

All IDs and dates are illustrative. URL-encode opaque query values and supply each allowed key once. Optional filters and their types appear in the generated schema below.

Response and errors

413 TEMPLATE_PAGE_TOO_LARGE rejects a page before loading its template payloads. Retry this read with a smaller limit and the same cursor. At limit 1, a persistent failure means the saved row exceeds the external read budget and needs account-side inspection. No partial page or approximate cursor is returned. The generated response schema below is the wire contract. Preserve fixed-point strings, nullable fields and endpoint-specific envelopes. Inspect HTTP status and Content-Type before decoding failures; reused trading routes may return JSON or plain text. Authentication, entitlement and exact link/instrument restrictions apply in addition to endpoint validation. See errors and recovery. Read the related guide for lifecycle, units and recovery semantics.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default:20

Maximum templates in this page. Reduce it on TEMPLATE_PAGE_TOO_LARGE.

Required range: 1 <= x <= 100
cursor
string

Opaque next_cursor returned by the previous page. Omit for the first page; never construct, round or edit it.

Required string length: 1 - 128

Response

Success

templates
object[]
required

Current account-owned templates ordered by full-precision creation time and UUID, descending.

Maximum array length: 100
next_cursor
string | null
required

Opaque continuation for older templates, or null when this statement observed the end. Copy unchanged; public template timestamps are not a substitute.

Maximum string length: 128