Agentic

List enrollments

GEThttps://api.firstleeward.com/v0/agentic/enrollments

Lists the enrollments of a single owner. ownerId is required, and a list is always scoped to exactly one owner.

Authorizations

Authorizationstring · headerrequired

API key as Bearer token, e.g. Bearer YOUR_API_KEY

Headers

Leeward-Versionenum<string>required

API version (YYYY-MM-DD). Available option: 2026-09-18

Query Parameters

ownerTypestringdefault: "CLIENT_REFERENCE"
Available options:LEEWARD_USERCLIENT_REFERENCE
ownerIdstringrequired
limitintegerdefault: 20

Maximum number of enrollments to return

cursorstring

Response

200Response for status 200
itemsobject[]required
Show child attributes
idobjectrequired
statusstringrequired
Available options:REQUIRES_ACTIONACTIVEFAILEDEXPIREDREVOKED
ownerobjectrequired

Client customer that owns the enrollment

Show child attributes
Option 1 · First Leeward user
typestringrequired
idstring<uuid>required

User identifier

Option 2 · Client reference
typestringrequired
idstringrequired
emailobject
namestring
paymentMethodobject | nullrequired
Show child attributes
typestringrequired
Available options:CARD
networkstringrequired
last4stringrequired
expiryMonthintegerrequired
expiryYearintegerrequired
nextActionobject | nullrequired
Show child attributes
typestringrequired
Available options:REDIRECT
urlstring<uri>required
expiresAtobject
createdAtobjectrequired
updatedAtobjectrequired
nextCursorstring | nullrequired
400The request was rejected
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailnullrequired
404Resource not found
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired
503Agentic Payments is temporarily unavailable
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired