List API keys
curl --request GET \
--url https://agent.infragrid.ai/v1/workspaces/{workspace_id}/api-keys \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://agent.infragrid.ai/v1/workspaces/{workspace_id}/api-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://agent.infragrid.ai/v1/workspaces/{workspace_id}/api-keys"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{}
]
}Credentials
List API keys
List safe workspace API-key metadata.
GET
/
v1
/
workspaces
/
{workspace_id}
/
api-keys
List API keys
curl --request GET \
--url https://agent.infragrid.ai/v1/workspaces/{workspace_id}/api-keys \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://agent.infragrid.ai/v1/workspaces/{workspace_id}/api-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://agent.infragrid.ai/v1/workspaces/{workspace_id}/api-keys"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{}
]
}Requires an authenticated dashboard session. A workspace API key cannot call this endpoint.
Send requests to the public API gateway at
https://agent.infragrid.ai.
uuid
required
Workspace whose credentials are being administered.
integer
default:"100"
Number of keys to return. Minimum 1; maximum 100.
integer
default:"0"
Zero-based offset. Maximum 1,000,000.
Response
ApiKey[]
required
Safe key metadata including ID, name, prefix, scopes, use/expiry/revocation timestamps, and rotation links.
Plaintext key values are never returned by list operations.
Last modified on August 17, 2026