Work agent access
/v1/work/shell/agent-access
Signed-in sessionLaunch key product.workOperation work_agent_access
People connect apps over MCP with OAuth, choose what each connection may do in one organization, and manage access in Settings, Connected agents.
Headers
- X-Specify-Account-IdstringRequired
- The account the request acts in.
- X-Specify-Service-Tenancy-IdstringRequired
- The service tenancy the request acts in.
Query parameters
- expectedAuthorizationVersionstring
Returns
- canManagefalse | trueRequired
- evaluatedAtnumberRequired
- permission"not_permitted" | "permitted"Required
- countnull | numberRequired
- countKind"unavailable" | "exact" | "lower_bound"Required
- accountIdstringRequired
- serviceTenancyIdstringRequired
- authorizationVersionstringRequired
Errors
400, 401, 403, 404, 409, 429 and 503 return {"error": {"code", "message", "correlationId"}}. A call without a valid credential gets 401 before its input is checked, and so does an address that is not an operation: 404 and 400 come only once the credential is accepted. Public operations answer without one.