curl -sS "$BMA_BASE_URL/v1/mcp_oauth_authorizations/<authorization_id>" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"id": "<string>",
"type": "mcp_oauth_authorization",
"status": "pending",
"mcp_server_url": "<string>",
"vault_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"credential_id": "<string>",
"error_code": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}MCP OAuth
Get an MCP OAuth authorization
GET
/
v1
/
mcp_oauth_authorizations
/
{authorization_id}
curl -sS "$BMA_BASE_URL/v1/mcp_oauth_authorizations/<authorization_id>" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"id": "<string>",
"type": "mcp_oauth_authorization",
"status": "pending",
"mcp_server_url": "<string>",
"vault_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"credential_id": "<string>",
"error_code": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}응답
Success.