Mint an API-key credential for a workspace agent
Requires integrations:write and workspaces:read — the route resolves the workspace agent before anything else, so a key missing workspaces:read gets 404 rather than reaching the scope check.
Authorizations
Account API key: key id as the username, secret as the password.
Path Parameters
Response
Successful response
Integration auth config this row applies to
The user or API key that granted this credential to the agent.
Workspace agent install receiving the credential; the association is scoped to this install's workspace. Account-wide availability is plain credential ownership with no association row.
GRANTED = existing credential shared with the agent; CONNECTED = credential created for the agent (connect flow).
CONNECTED, GRANTED Linked credential row; null while OAuth connect is pending.