Register an agent public key
Register a public JWK the external agent signs private_key_jwt client assertions with. Symmetric keys, keys with private members and algorithms outside the allowlist are refused.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
id
Agent ID
Request
This endpoint expects an object.
jwk
A public JWK (EC P-256/P-384, RSA of at least 2048 bits, or OKP Ed25519) with no private members.
algorithm
The algorithm client assertions are signed with; defaults to the JWK alg.
expiresAt
When the key stops being accepted.
Response
The registered key
agentId
algorithm
The pinned signing algorithm of a public key.
createdAt
createdByUserId
Who registered it; provenance only.
expiresAt
id
kid
Key ID; for a client secret, a generated identifier.
kind
Allowed values:
publicJwk
The registered public JWK.
revokedAt
secretHint
The last four characters of a client secret.
status
Allowed values:
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error