POST /api/methods and POST /api/workflow-uploads require idempotency_key in the body.
The MCP tool create_workflow requires the same key.
Rules
- Create one key for one logical request. Use 8 to 200 characters.
- Store the key before the first request.
- Reuse it after a timeout, a disconnect, or an uncertain response.
- Use a new key for a new source.
created: false and status 200.
The API stores only the SHA-256 of the key. GET /api/workflow-creation-requests/<sha256> returns { found, method } for a key.
Retry a build
A failed build is retried on the same method withPOST /api/methods/:id/retry.
Do not send a new key to retry a build.