List Api Keys
const url = 'https://example.com/admin/api-keys/?skip=0&limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/admin/api-keys/?skip=0&limit=50' \ --header 'Authorization: Bearer <token>'List all API keys (admin only). Never returns the raw key.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ”Responses
Section titled “ Responses ”Successful Response
object
Page of API keys.
object
Unique API key identifier.
Owning user’s ID.
Human-readable label.
Whether the key is active. Inactive keys cannot authenticate.
Privilege scope: ‘full’, ‘read_only’, ‘dataset_write’ (reads and writes the features of the dataset in dataset_id, and nothing else), or ‘dataset_append’ (only creates features in that dataset).
Timestamp when the key was created.
Total number of API keys matching the query.
Example generated
{ "items": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "user_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "fingerprint": "example", "is_active": true, "expires_at": "2026-04-15T12:00:00Z", "scope": "example", "dataset_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "created_at": "2026-04-15T12:00:00Z", "last_used_at": "2026-04-15T12:00:00Z" } ], "total": 1}Bad request — invalid query parameters or payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “ Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request