Docs

API reference · AI gateway

The aliases of the organization, oldest first

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

Parameters

NameInTypeRequiredNotes
orgpathstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
limitqueryintegerno1 to 100; default 50
cursorquerystringno0 to 200 characters
qquerystringno0 to 64 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 "als_01h455vb4pex5vsknk084sn02q"
items[].orgIdstring or nullyes
items[].namestringyes
items[].strategystringyesone of "priority", "weighted", "cheapest"
items[].targetsarray of objectyes
items[].targets[].modelstringyesfor example "cm_01h455vb4pex5vsknk084sn02q"
items[].targets[].providerstringyes
items[].targets[].providerModelstringyes
items[].targets[].locationstringyes
items[].targets[].credentialstringyesfor example "pcr_01h455vb4pex5vsknk084sn02q"
items[].targets[].ownCredentialbooleanyes
items[].targets[].weightinteger or nullyes
items[].shadowedbooleanyes
items[].createdAtstring (date-time)yesUTC, ISO 8601.
items[].updatedAtstring (date-time)yesUTC, ISO 8601.
nextCursorstring or nullyes