Endpoints
DEVELOPER REFERENCE
Get authoring context
GET /mcp/context
Inspect the authenticated principal and authoring availability.
GET /api/v1/mcp/contextPermission: 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
| Name | In | Required | Details |
|---|---|---|---|
X-Innflow-Workspace | header | No | Organization 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.