provider-credentials
List Credentials
List redacted provider credential summaries for the selected tenant scope.
All-project listing requires administrator permission and the organization’s cost-optimization rollout flag.
GET
/
api
/
provider-credentials
List Credentials
curl --request GET \
--url https://api.aixy-gateway.com/api/provider-credentials \
--cookie gateway_session=import requests
url = "https://api.aixy-gateway.com/api/provider-credentials"
headers = {"cookie": "gateway_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'gateway_session='}};
fetch('https://api.aixy-gateway.com/api/provider-credentials', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"provider": "<string>",
"scope": "organization",
"project_id": "<string>",
"key_hint": "<string>",
"credential_type": "api_key",
"created_at": "<string>",
"updated_at": "<string>",
"display_name": "<string>",
"base_url": "<string>",
"cost_attribution": {
"mode": "hybrid",
"reported_cost_format": "auto",
"stream_usage_format": "auto",
"version": 123
},
"prompt_caching_mode": "provider_default",
"prompt_caching_capability": "controllable",
"object": "provider.credential",
"connection_check": {
"checked_at": "2023-11-07T05:31:56Z",
"status": "passed",
"stages": [
{
"name": "configuration",
"status": "passed",
"code": "<string>",
"message": "<string>",
"next_step": "<string>"
}
],
"model_count": 123
}
}
],
"object": "list"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}Authorizations
Secure same-origin browser session cookie.
⌘I
List Credentials
curl --request GET \
--url https://api.aixy-gateway.com/api/provider-credentials \
--cookie gateway_session=import requests
url = "https://api.aixy-gateway.com/api/provider-credentials"
headers = {"cookie": "gateway_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'gateway_session='}};
fetch('https://api.aixy-gateway.com/api/provider-credentials', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"provider": "<string>",
"scope": "organization",
"project_id": "<string>",
"key_hint": "<string>",
"credential_type": "api_key",
"created_at": "<string>",
"updated_at": "<string>",
"display_name": "<string>",
"base_url": "<string>",
"cost_attribution": {
"mode": "hybrid",
"reported_cost_format": "auto",
"stream_usage_format": "auto",
"version": 123
},
"prompt_caching_mode": "provider_default",
"prompt_caching_capability": "controllable",
"object": "provider.credential",
"connection_check": {
"checked_at": "2023-11-07T05:31:56Z",
"status": "passed",
"stages": [
{
"name": "configuration",
"status": "passed",
"code": "<string>",
"message": "<string>",
"next_step": "<string>"
}
],
"model_count": 123
}
}
],
"object": "list"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}