Skip to main content
POST
Error

Authorizations

x-partner-access-token
string
header
required

The holder's AIR Kit partner access token, from airService.getAccessToken(). Send it with x-partner-id.

x-partner-jwt
string
header
required

JWT signed with your partner login key (the same key used for the AIR Kit login partnerJwt). Its partnerId must match x-partner-id and the AIR Kit session. Omit email unless it is this holder's. Body partnerJwt is accepted as a fallback.

Headers

x-partner-id
string<uuid>
required

Your Partner ID (UUID) from the Developer Dashboard.

Path Parameters

id
string<uuid>
required

Agent key UUID from bind or list.

Response

Rotated key. Store the new agentApiKey.

id
string<uuid>
required
createdAt
string<date-time>
required
scope
string
required

Space-delimited scopes granted to the key, including openid.

Example:

"openid credentials.read credentials.verify"

agentApiKey
string
required

Opaque secret with the prefix air_ag_. Returned only once.

Example:

"air_ag_<secret>"

publicKey
string | null

Masked PEM when a public key was bound; null for API-key-only agents.

nickname
string | null
partnerId
string<uuid> | null