Terminate an MCP session
/mcpExplicitly end the session named in the Mcp-Session-Id header. Returns
204 when the owning key deletes its own session, 404 for an
unknown or foreign session.
Authorization
apiKey Issued to you when your integration is provisioned. Determines which catalogue resources are visible and which AI tools are available.
In: header
Header Parameters
Response Body
application/json
curl -X DELETE "https://example.com/mcp" \ -H "Mcp-Session-Id: string"{ "success": false, "status": "fail", "message": "API key is required", "error": { "code": "NO_API_KEY", "message": "API key is required" }}Submit a job POST
Queue a long-running job scoped to the linked user + usergroup. The `type` must be one of the externally-submittable job types; `params` must carry the `resource` ref the job operates on plus any per-type options. All usergroup, feature-flag, file-type and permission checks are the same as the in-app path. Requires the `write` scope. Supports the `Idempotency-Key` header: a retry with the same key + body within 24h replays the original response (`Idempotent-Replayed: true`) instead of queuing a second job. Reusing a key with a different body returns `422 IDEMPOTENCY_KEY_CONFLICT`.
Not supported (no server-initiated stream) GET
This server offers no server-initiated SSE stream, which the streamable-HTTP spec allows. Always returns **405** with `Allow: POST, DELETE`.