List API keys on the current tenant
const url = 'https://api.aetherpush.com/v1/api-keys?include_revoked=false';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://api.aetherpush.com/v1/api-keys?include_revoked=false' \ --header 'Authorization: Bearer <token>'Returns all API keys belonging to the tenant. By default revoked
keys are excluded; pass include_revoked=true to include them.
Field names use snake_case for historical reasons. Tracked for normalization in a future API version.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”List of API keys.
object
API key metadata. Fields use snake_case for historical reasons —
this will be normalized to camelCase in a future API version.
object
Public, non-sensitive prefix for visual identification of the key.
Format: aether_sk_live_ followed by 9 base62 characters.
Null means no expiration.
Example
{ "api_keys": [ { "name": "github-actions-ci", "key_prefix": "aether_sk_live_AbC123XyZ", "scopes": [ "deploy", "read" ] } ]}Unauthenticated.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}API keys and named access keys cannot access this endpoint. A login session is required.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}