AIGateway

List the AI Gateway keys of a project

Changed on

This endpoint may be changed or removed at any time. Don't use it in production environments.

Expired keys are not listed, unless include_expired is set. Revoked keys are not listed, unless include_revoked is set. Keys are listed newest first and one page at a time; follow next until it comes back null to read the whole list.

get/project/{project}/ai-gateway/keys

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/project/{project}/ai-gateway/keys
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: projects:read

Path parameters

projectstring required

Project name

Query parameters

include_revokedboolean

Also list revoked keys

include_expiredboolean

Also list expired keys

cursorstring

Pagination cursor

limitinteger

Limit results to this number

order_by'asc' | 'desc'

Order by creation time, newest first by default

Response

Response

firststring

First page

laststring

Last page

nextstring

Next page

prevstring

Previous page

Changes