Skip to main content
Vaults group credentials within your organization. All endpoints require an x-api-key header. Secret values are accepted on create or rotation but are never returned.

Create a vault

The response is a vault object:

Manage vaults

Deleting a vault is permanent. Delete every credential first so its stored value is removed, then delete the empty vault. A non-empty vault returns 409 conflict. Archiving keeps a vault available for inspection but prevents new credentials or agent attachments.

Create a static bearer credential

The response redacts token:

Create an MCP OAuth credential

Use mcp_oauth when you already have access and refresh tokens from an OAuth flow:
tokenEndpointAuth.type can be none, client_secret_basic, or client_secret_post. Responses redact access tokens, refresh tokens, and client secrets.

Manage credentials

Rotate a static bearer token without changing its MCP server URL:
Credential auth type is immutable. For MCP OAuth credentials, PATCH can replace accessToken, expiresAt, and refresh.refreshToken.

Attach vaults to an agent

GET returns the attached vaults, the agent’s updatedAt, and connection status for the latest version’s MCP servers. Use that timestamp for optimistic concurrency when replacing the attachment set:
PUT replaces the complete attachment set. Send an empty vaultIds array to detach all vaults. A stale expectedUpdatedAt returns 409 conflict; reload the agent vault state before retrying. MCP server status is one of:

Errors

Last modified on July 23, 2026