List providers in project
Lists the providers of an organization, or a project's own, without their keys, or, as the project - with a filter that names an organization, those of the organization's projects that the caller holds llmgateway.providers.list on.
Lists the providers of an organization, or a project's own, without their keys, or, as the project - with a filter that names an organization, those of the organization's projects that the caller holds llmgateway.providers.list on.
bearerAuthorizationBearer <token>An access token, or an API key.
project*stringThe project's ID, or - for every project of the organization that filter names.
^(-|prj_[0-7][0-9a-hjkmnp-tv-z]{25})$pageSize?integerMaximum number of items to return. Defaults to 50; values above 500 are treated as 500.
int320 <= valuepageToken?stringPage token from a previous response.
filter?stringWith the project -, and only then: organization = "organizations/{organization_id}". The list then holds the providers of every project of the organization that the caller holds llmgateway.providers.list on, without the organization's own.
length <= 200OK
application/json- response
nextPageToken*stringToken for the next page; empty on the last page.
providers*array<>Providers, oldest first.
curl -X GET 'https://api.kosem.ai/v1/projects/string/providers'{
"nextPageToken": "string",
"providers": [
{
"availability": {
"allProjects": true,
"projects": [
"string"
]
},
"config": {
"property1": "string",
"property2": "string"
},
"createTime": "2019-08-24T14:15:22Z",
"displayName": "string",
"keyHint": "string",
"name": "string",
"state": "ACTIVE",
"stateReason": "string",
"trust": {
"attributeCondition": "string",
"issuer": "string",
"subject": "string"
},
"type": "string",
"updateTime": "2019-08-24T14:15:22Z",
"verifyTime": "2019-08-24T14:15:22Z"
}
]
}