Agentic
List enrollments
GET
https://api.firstleeward.com/v0/agentic/enrollmentsLists the enrollments of a single owner. ownerId is required, and a list is always scoped to exactly one owner.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Query Parameters
ownerTypestringdefault: "CLIENT_REFERENCE"Available options:
LEEWARD_USERCLIENT_REFERENCEownerIdstringrequiredlimitintegerdefault: 20Maximum number of enrollments to return
cursorstringResponse
200Response for status 200
itemsobject[]requiredShow child attributes
idobjectrequiredstatusstringrequiredAvailable options:
REQUIRES_ACTIONACTIVEFAILEDEXPIREDREVOKEDownerobjectrequiredClient customer that owns the enrollment
Show child attributes
Option 1 · First Leeward user
typestringrequiredidstring<uuid>requiredUser identifier
Option 2 · Client reference
typestringrequiredidstringrequiredemailobjectnamestringpaymentMethodobject | nullrequiredShow child attributes
typestringrequiredAvailable options:
CARDnetworkstringrequiredlast4stringrequiredexpiryMonthintegerrequiredexpiryYearintegerrequirednextActionobject | nullrequiredShow child attributes
typestringrequiredAvailable options:
REDIRECTurlstring<uri>requiredexpiresAtobjectcreatedAtobjectrequiredupdatedAtobjectrequirednextCursorstring | nullrequired400The request was rejected
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailnullrequired404Resource not found
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired503Agentic Payments is temporarily unavailable
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired