MCP服务
查询 MCP OAuth 授权状态
Changed on返回当前用户的 OAuth Token 生命周期状态;传 authorization_attempt 时只检查本次授权流程
get/mcp-services/{id}/oauth/status
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/mcp-services/{id}/oauth/status
- AuthAPI key in header Authorization
Path parameters
idstring required
MCP 服务 ID
Query parameters
authorization_attemptstring
本次授权尝试 ID;传入后不会接受历史 Token
Response
{authorized: bool, state: string, refresh_available: bool, expires_at?: string}
object required
Changes
- info
added the new optional
queryrequest parameterauthorization_attempt
- info
- info
endpoint added
- info