Docs

API reference · AI gateway

The organization's own provider credentials, oldest first, never their secrets

GET/v1/orgs/{org}/ai/credentials
Permission
ai.credentials.read
Operation
ai.credentials.list

Parameters

NameInTypeRequiredNotes
orgpathstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
limitqueryintegerno1 to 100; default 50
cursorquerystringno0 to 200 characters
x-obhut-management-assignmentheaderstringnoSelect one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q"

Response 200

FieldTypeRequiredNotes
itemsarray of objectyes
items[].idstringyesfor example "pcr_01h455vb4pex5vsknk084sn02q"
items[].orgIdstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
items[].namestringyes
items[].providerstringyes
items[].baseUrlstring or nullyes
items[].createdAtstring (date-time)yesUTC, ISO 8601.
nextCursorstring or nullyes