Validate Credential
$ ant beta:vaults:credentials mcp-oauth-validatePOST/v1/vaults/{vault_id}/credentials/{credential_id}/mcp_oauth_validate
Validate Credential
Parameters
Header param: Optional header to specify the beta version(s) you want to use.
Returns
Validate Credential
ant beta:vaults:credentials mcp-oauth-validate \
--api-key my-anthropic-api-key \
--vault-id vlt_011CZkZDLs7fYzm1hXNPeRjv \
--credential-id vcrd_011CZkZEMt8gZan2iYOQfSkw{
"credential_id": "vcrd_011CZkZEMt8gZan2iYOQfSkw",
"has_refresh_token": true,
"mcp_probe": {
"http_response": {
"body": "body",
"body_truncated": true,
"content_type": "content_type",
"status_code": 0
},
"method": "method"
},
"refresh": {
"http_response": {
"body": "body",
"body_truncated": true,
"content_type": "content_type",
"status_code": 0
},
"status": "succeeded"
},
"status": "valid",
"type": "vault_credential_validation",
"validated_at": "2026-03-15T10:00:00Z",
"vault_id": "vlt_011CZkZDLs7fYzm1hXNPeRjv"
}Returns Examples
{
"credential_id": "vcrd_011CZkZEMt8gZan2iYOQfSkw",
"has_refresh_token": true,
"mcp_probe": {
"http_response": {
"body": "body",
"body_truncated": true,
"content_type": "content_type",
"status_code": 0
},
"method": "method"
},
"refresh": {
"http_response": {
"body": "body",
"body_truncated": true,
"content_type": "content_type",
"status_code": 0
},
"status": "succeeded"
},
"status": "valid",
"type": "vault_credential_validation",
"validated_at": "2026-03-15T10:00:00Z",
"vault_id": "vlt_011CZkZDLs7fYzm1hXNPeRjv"
}