Get an API

GET /v1/apis/{api_id} · permission apis:read

Returns one API. The ETag response header holds the current version for use in If-Match. An API of another environment, a deleted API and a malformed id all return 404.

Request

Parameter In Description
api_id path The API id, api_….

Response

200 OK with an ETag header:

{
  "id": "api_01h455vb4pex5vsknk084sn02q",
  "key": "orders",
  "identifier": "https://api.example.com/orders",
  "name": "Orders API",
  "is_system": false,
  "access_token_lifetime_s": 3600,
  "token_format": "jwt",
  "rbac_mode": "off",
  "allow_offline_access": true,
  "require_resource_indicator": false,
  "dpop_required": false,
  "mcp_profile": false,
  "first_party_access": "all",
  "introspection_applications": ["app_01h455vb4pex5vsknk084sn02r"],
  "created_at": "2026-10-05T12:00:00Z",
  "updated_at": "2026-10-05T12:00:00Z"
}

introspection_applications lists the applications (app_…, in id order) that may introspect this API's tokens; when empty, only the application a token was issued to can introspect it.

Errors

HTTP code When
404 not_found No such API in this environment.
403 insufficient_permissions The credential lacks apis:read.

Example

curl https://api.eu.keenauth.com/v1/apis/api_01h455vb4pex5vsknk084sn02q \
  -H "Authorization: Bearer $KEENAUTH_SECRET_KEY"