List API Keys (V2)
Lists customized ACL API keys in the calling organization.
The base URL for this API is in the following format:
https://api.cloud.zilliz.com
The endpoints on the control plane currently supports up to 20 requests per second per user per endpoint.
export BASE_URL="https://api.cloud.zilliz.com"
The authentication token should be an API key with appropriate privileges.
The page number to return. The first page is 1.
The number of items to return per page.
export TOKEN="YOUR_API_KEY"
curl --request GET \
--url "${BASE_URL}/v2/api-keys" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json"
Returns a successful result or an error message.
A successful response.
The response code.
The total number of matching items.
The current page number.
The requested page size.
The apiKeys returned on this page.
The public API key ID.
The API key display name.
The API key description.
The resolved display name of the creator.
The creator email address or creator API key ID.
The organization role assigned to the API key: Owner, Member, or Billing-Admin.
The project-level access granted to the API key.
The project ID.
The project display name.
The project role: Admin, Read-Write, or Read-Only.
Whether access covers all clusters in the project.
The clusters the API key can access.
The cluster ID.
The cluster display name.
Whether access covers all volumes in the project.
The volumes the API key can access.
The volume ID.
The volume display name.
The creation time in UTC ISO 8601 format.
A failure response.
The response code.
The error message.
{
"code": 0,
"data": {
"count": 2,
"currentPage": 1,
"pageSize": 10,
"apiKeys": [
{
"apiKeyId": "key-xxxxxxxxxxxxxx",
"name": "Data Pipeline",
"description": "API key used by the ingestion pipeline",
"creatorName": "Alice",
"createdBy": "alice@example.com",
"orgRoles": [
{
"bindingId": "rb-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"roleId": "r-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"roleName": "Org Viewer",
"roleType": "org"
}
],
"projectRoles": [
{
"projectId": "proj-xxxxxxxx",
"roles": [
{
"bindingId": "rb-yyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
"roleId": "r-yyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
"roleName": "Data Reader",
"roleType": "project"
}
]
}
],
"createTime": "2026-07-22T02:30:00Z"
}
]
}
}