Validate Credential
api/beta/vaults/credentials/mcp_oauth_validate
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/beta/vaults/credentials/mcp_oauth_validate Changed · +16 / -19 lines
# Validate Credential ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Validate Credential ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: Validate Credential -url: https://platform.claude.com/docs/en/api/beta/vaults/credentials/mcp_oauth_validate ---- +# Validate Credential -## Validate Credential +**POST** `/v1/vaults/{vault_id}/credentials/{credential_id}/mcp_oauth_validate` -**post** `/v1/vaults/{vault_id}/credentials/{credential_id}/mcp_oauth_validate` - Validate Credential -### Path Parameters +## Path parameters - `vault_id: string` - `credential_id: string` -### Header Parameters +## Headers - `"anthropic-beta": optional array of AnthropicBeta`
- `"mid-conversation-tool-changes-2026-07-01"` -### Returns +## Returns -- `BetaManagedAgentsCredentialValidation object { credential_id, has_refresh_token, mcp_probe, 5 more }` +- `BetaManagedAgentsCredentialValidation object` Result of live-probing a credential against its configured MCP server.
HTTP status code. + format: int32 + - `method: string` The MCP method that failed (for example `initialize` or `tools/list`).
- `type: "vault_credential_validation"` - - `"vault_credential_validation"` - - `validated_at: string` A timestamp in RFC 3339 format + format: date-time + - `vault_id: string` Identifier of the vault containing the credential. -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials/$CREDENTIAL_ID/mcp_oauth_validate \ -X POST \ -H 'anthropic-version: 2023-06-01' \
-H "X-Api-Key: $ANTHROPIC_API_KEY" ``` -#### Response +### Response (200) ```json {