Endpoints
DEVELOPER REFERENCE

Get authoring context

GET /mcp/context

Inspect the authenticated principal and authoring availability.

GET /api/v1/mcp/context

Permission: workflows:read. Write endpoints also require a workspace role that permits changes. See authentication and errors.

Request

curl --request GET 'https://app.innflow.ai/api/v1/mcp/context' \
  --header "Authorization: Bearer $INNFLOW_API_KEY"

Examples use placeholder IDs. Set INNFLOW_API_KEY in your shell and replace IDs with your own before sending a request.

Parameters

NameInRequiredDetails
X-Innflow-WorkspaceheaderNoOrganization ID, or personal. Set explicitly; omission uses legacy user-owned resource scope.

Response

HTTP 200 — Returns data with workspace, userId, role, permissions, authoringEnabled and contractVersion. Check authoringEnabled before graph or trigger mutations.

See OpenAPI download for the machine-readable request contract and errors for errors and retry behavior.

On this page