Create Api Key
Create a new API key. The raw token value is returned once — store it securely.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Slug of the workspace the request acts in
120^[a-z0-9]+(?:-[a-z0-9]+)*$Body
Human-friendly label for this API key
1 - 255Bind the key to one agent of this workspace: it then reaches only that agent over A2A, nothing else. The key to hand to a caller outside the workspace.
Optional expiry in days (omit for non-expiring)
1 <= x <= 3650Response
Successful Response
Extends APIKeyResponse with the raw token — shown ONCE at creation.
Raw token value — copy it now, it won't be shown again
The one agent the key reaches over A2A; None for a workspace key