{"openapi":"3.1.0","info":{"title":"Flow Public API","version":"2026-07-18","description":"Public v2 API for Flow agents, runs, queues, files, sandboxes, artifacts, MCP, webhooks, and governed operations."},"servers":[{"url":"https://app.flowbe.ai"}],"security":[{"bearerAuth":[]}],"paths":{"/v2/mcp":{"get":{"tags":["MCP"],"summary":"MCP Streamable HTTP GET (not supported; use POST)","operationId":"getMcp","security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["MCP"],"summary":"Call the hosted MCP JSON-RPC endpoint","operationId":"callMcp","security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/plugins/catalog":{"get":{"tags":["Plugins"],"summary":"List plugin catalog entries","operationId":"listPluginCatalog","security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}":{"get":{"tags":["Teams"],"summary":"Get a team","operationId":"getTeam","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/webhooks":{"get":{"tags":["Webhooks"],"summary":"List webhook subscriptions","operationId":"listWebhooks","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Webhooks"],"summary":"Create a webhook subscription","operationId":"createWebhook","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/webhooks/{subscriptionId}":{"delete":{"tags":["Webhooks"],"summary":"Delete a webhook subscription","operationId":"deleteWebhook","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"subscriptionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/webhook-secret":{"get":{"tags":["Webhooks"],"summary":"Get the team webhook signing secret","operationId":"getWebhookSecret","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/webhook-secret/rotate":{"post":{"tags":["Webhooks"],"summary":"Rotate the team webhook signing secret","operationId":"rotateWebhookSecret","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/runs":{"get":{"tags":["Runs"],"summary":"List runs","operationId":"listRuns","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"digest_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"until","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"user_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"case_queue_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"source","in":"query","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"count_only","in":"query","required":false,"schema":{"type":"string"}},{"name":"include_total","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort_by","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string"}},{"name":"has_issues","in":"query","required":false,"schema":{"type":"string"}},{"name":"issue_severity","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data","total"],"properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"status":{"type":"string"},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"started_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"sandbox_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"human_in_the_loop_enabled":{"type":"boolean"},"pending_human_request":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]}}}},"total":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Runs"],"summary":"Start a run","operationId":"startRun","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/runs/{run_id}":{"get":{"tags":["Runs"],"summary":"Get a run","operationId":"getRun","security":[{"bearerAuth":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["run","pending_human_request"],"properties":{"run":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"status":{"type":"string"},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"started_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"sandbox_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"human_in_the_loop_enabled":{"type":"boolean"},"pending_human_request":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]}}},"pending_human_request":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/runs/{run_id}/messages":{"get":{"tags":["Runs"],"summary":"List run messages","operationId":"listRunMessages","security":[{"bearerAuth":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["messages","total","limit","offset"],"properties":{"messages":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Runs"],"summary":"Post a message to a run","operationId":"postRunMessage","security":[{"bearerAuth":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/runs/{run_id}/human-requests/{request_id}/respond":{"post":{"tags":["Runs"],"summary":"Respond to a human request","operationId":"respondToHumanRequest","security":[{"bearerAuth":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/runs/{run_id}/stop":{"post":{"tags":["Runs"],"summary":"Stop a run","operationId":"stopRun","security":[{"bearerAuth":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agent/{agentId}/runs/{runId}":{"get":{"tags":["Runs"],"summary":"Get the full run detail","operationId":"getAgentRun","security":[{"bearerAuth":[]}],"parameters":[{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"runId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"status":{"type":"string"},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"started_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"run_number":{"oneOf":[{"type":"integer"},{"type":"null"}]},"sandbox_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"human_in_the_loop_enabled":{"type":"boolean"},"submitted_prompt_count":{"type":"integer"},"resume_count":{"type":"integer"},"conversation":{"type":"array","items":{"type":"object","additionalProperties":true}},"conversationPagination":{"type":"object","additionalProperties":false,"required":["total","included","hasMore"],"properties":{"total":{"type":"integer"},"included":{"type":"integer"},"hasMore":{"type":"boolean"}}},"integrationInstances":{"type":"array","items":{"type":"object","additionalProperties":true}},"handover":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"eval_summaries":{"type":"object","additionalProperties":true},"bb_session_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"computer_session_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"computer_use_slug":{"oneOf":[{"type":"string"},{"type":"null"}]},"last_session_id":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agent/{agentId}/runs/{runId}/workflow-execution-report":{"get":{"tags":["Runs"],"summary":"Get the workflow execution report for a run","operationId":"getWorkflowExecutionReport","security":[{"bearerAuth":[]}],"parameters":[{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"runId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["provider","expectedProgrammatic","totalSteps","executedSteps","calls","executions","handoffs","errors","stopReasons","reachedCompletion","programmaticExecutionRate"],"properties":{"provider":{"oneOf":[{"type":"string"},{"type":"null"}]},"expectedProgrammatic":{"type":"boolean"},"totalSteps":{"type":"integer"},"executedSteps":{"type":"integer"},"calls":{"type":"integer"},"executions":{"type":"integer"},"handoffs":{"type":"integer"},"errors":{"type":"integer"},"stopReasons":{"type":"array","items":{"type":"string"}},"reachedCompletion":{"type":"boolean"},"programmaticExecutionRate":{"type":"number"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/browser-agent/session/{session_id}/pages":{"get":{"tags":["Runs"],"summary":"List browser session pages","operationId":"listBrowserSessionPages","security":[{"bearerAuth":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["pages"],"properties":{"pages":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["url","title","screenshot_url"],"properties":{"url":{"type":"string"},"title":{"oneOf":[{"type":"string"},{"type":"null"}]},"screenshot_url":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/runs/{run_id}/sandbox/files":{"get":{"tags":["Runs"],"summary":"List sandbox files for a run","operationId":"listRunSandboxFiles","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["sandboxStatus","path","entries"],"properties":{"sandboxStatus":{"type":"string","enum":["running","paused","not_found","error"]},"path":{"type":"string"},"entries":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["name","path","type","size","modified_at","isTextFile"],"properties":{"name":{"type":"string"},"path":{"type":"string"},"type":{"type":"string","enum":["file","directory"]},"size":{"type":"integer"},"modified_at":{"oneOf":[{"type":"string"},{"type":"null"}]},"isTextFile":{"type":"boolean"}}}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/runs/{run_id}/sandbox/files/content":{"get":{"tags":["Runs"],"summary":"Read a sandbox file of a run","operationId":"getRunSandboxFileContent","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":true,"required":["sandboxStatus","path","isTextFile","content","size"],"properties":{"sandboxStatus":{"type":"string","enum":["running","paused","not_found","error"]},"path":{"type":"string"},"isTextFile":{"type":"boolean"},"content":{"oneOf":[{"type":"string"},{"type":"null"}]},"size":{"type":"integer"},"encoding":{"type":"string"},"mime_type":{"oneOf":[{"type":"string"},{"type":"null"}]},"truncated":{"type":"boolean"},"message":{"type":"string"},"download_url":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/runs/{run_id}/sandbox/files":{"get":{"tags":["Runs"],"summary":"List sandbox files for a run (agent-less alias)","operationId":"listRunSandboxFilesByRun","security":[{"bearerAuth":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["sandboxStatus","path","entries"],"properties":{"sandboxStatus":{"type":"string","enum":["running","paused","not_found","error"]},"path":{"type":"string"},"entries":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["name","path","type","size","modified_at","isTextFile"],"properties":{"name":{"type":"string"},"path":{"type":"string"},"type":{"type":"string","enum":["file","directory"]},"size":{"type":"integer"},"modified_at":{"oneOf":[{"type":"string"},{"type":"null"}]},"isTextFile":{"type":"boolean"}}}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/runs/{run_id}/sandbox/files/content":{"get":{"tags":["Runs"],"summary":"Read a sandbox file of a run (agent-less alias)","operationId":"getRunSandboxFileContentByRun","security":[{"bearerAuth":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":true,"required":["sandboxStatus","path","isTextFile","content","size"],"properties":{"sandboxStatus":{"type":"string","enum":["running","paused","not_found","error"]},"path":{"type":"string"},"isTextFile":{"type":"boolean"},"content":{"oneOf":[{"type":"string"},{"type":"null"}]},"size":{"type":"integer"},"encoding":{"type":"string"},"mime_type":{"oneOf":[{"type":"string"},{"type":"null"}]},"truncated":{"type":"boolean"},"message":{"type":"string"},"download_url":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agent-runs/{run_id}/screenshots/timeline":{"get":{"tags":["Runs"],"summary":"Get the browser replay screenshot timeline of a run","operationId":"getRunScreenshotTimeline","security":[{"bearerAuth":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["toolExecutions"],"properties":{"toolExecutions":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["executionId","toolName","startedAt","endedAt","beforeScreenshot","afterScreenshot"],"properties":{"executionId":{"type":"string"},"toolName":{"type":"string"},"action":{"oneOf":[{"type":"string"},{"type":"null"}]},"startedAt":{"oneOf":[{"type":"string"},{"type":"null"}]},"endedAt":{"oneOf":[{"type":"string"},{"type":"null"}]},"beforeScreenshot":{"oneOf":[{"type":"object","additionalProperties":false,"required":["signedUrl","expiresAt"],"properties":{"signedUrl":{"type":"string"},"expiresAt":{"type":"string"}}},{"type":"null"}]},"afterScreenshot":{"oneOf":[{"type":"object","additionalProperties":false,"required":["signedUrl","expiresAt"],"properties":{"signedUrl":{"type":"string"},"expiresAt":{"type":"string"}}},{"type":"null"}]},"input":{"type":"object","additionalProperties":true}}}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/runs/{run_id}/screenshots/timeline":{"get":{"tags":["Runs"],"summary":"Get the browser replay screenshot timeline of a run (agent-scoped alias)","operationId":"getAgentRunScreenshotTimeline","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["toolExecutions"],"properties":{"toolExecutions":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["executionId","toolName","startedAt","endedAt","beforeScreenshot","afterScreenshot"],"properties":{"executionId":{"type":"string"},"toolName":{"type":"string"},"action":{"oneOf":[{"type":"string"},{"type":"null"}]},"startedAt":{"oneOf":[{"type":"string"},{"type":"null"}]},"endedAt":{"oneOf":[{"type":"string"},{"type":"null"}]},"beforeScreenshot":{"oneOf":[{"type":"object","additionalProperties":false,"required":["signedUrl","expiresAt"],"properties":{"signedUrl":{"type":"string"},"expiresAt":{"type":"string"}}},{"type":"null"}]},"afterScreenshot":{"oneOf":[{"type":"object","additionalProperties":false,"required":["signedUrl","expiresAt"],"properties":{"signedUrl":{"type":"string"},"expiresAt":{"type":"string"}}},{"type":"null"}]},"input":{"type":"object","additionalProperties":true}}}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/billing/usage":{"get":{"tags":["Billing"],"summary":"Get team usage","operationId":"getBillingUsage","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["teamId","period","agentRuns","clarityInterviews","assignments","concurrency"],"properties":{"teamId":{"type":"string","format":"uuid"},"period":{"type":"object","additionalProperties":false,"required":["start","end"],"properties":{"start":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"end":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]}}},"agentRuns":{"type":"object","additionalProperties":false,"required":["used","limit","remaining"],"properties":{"used":{"type":"integer"},"limit":{"oneOf":[{"type":"integer"},{"type":"string","enum":["unlimited"]}]},"remaining":{"oneOf":[{"type":"integer"},{"type":"string","enum":["unlimited"]}]}}},"clarityInterviews":{"type":"object","additionalProperties":false,"required":["used","limit","remaining"],"properties":{"used":{"type":"integer"},"limit":{"oneOf":[{"type":"integer"},{"type":"string","enum":["unlimited"]}]},"remaining":{"oneOf":[{"type":"integer"},{"type":"string","enum":["unlimited"]}]}}},"assignments":{"type":"object","additionalProperties":false,"required":["used","limit"],"properties":{"used":{"type":"integer"},"limit":{"oneOf":[{"type":"integer"},{"type":"string","enum":["unlimited"]}]}}},"concurrency":{"type":"object","additionalProperties":false,"required":["used","limit"],"properties":{"used":{"type":"integer"},"limit":{"oneOf":[{"type":"integer"},{"type":"string","enum":["unlimited"]}]}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/billing/entitlements":{"get":{"tags":["Billing"],"summary":"Get team entitlements","operationId":"getBillingEntitlements","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["plan","features","products","runCountingMode","maxConcurrentRuns"],"properties":{"plan":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"products":{"type":"array","items":{"type":"string"}},"runCountingMode":{"type":"string"},"maxConcurrentRuns":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/runs/{run_id}/files/{file_id}/download":{"get":{"tags":["Runs"],"summary":"Download a run file (e.g. browser screenshot)","operationId":"downloadRunFile","security":[{"bearerAuth":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/revisions/{build_id}/generate":{"post":{"tags":["Revisions"],"summary":"Generate an AOP for a revision","operationId":"generateRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"202":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","properties":{"generation":{"type":"object","properties":{"status":{"type":"string","enum":["generating"]},"builder_run_id":{"type":"string"},"build_id":{"type":"string"}},"required":["status","builder_run_id","build_id"]}},"required":["generation"]}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/revisions/{build_id}/builder-run":{"get":{"tags":["Revisions"],"summary":"Get the latest builder run for a revision","operationId":"getRevisionBuilderRun","security":[{"bearerAuth":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"assignment_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"prompt":{"oneOf":[{"type":"string"},{"type":"null"}]},"mode":{"type":"string"},"checkpoint_config":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"pending_user_questions":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"schedule_suggested":{"type":"boolean"},"phase":{"oneOf":[{"type":"string"},{"type":"null"}]},"setup_changes":{"type":"array","items":{"type":"object","additionalProperties":true}},"error":{"oneOf":[{"type":"string"},{"type":"null"}]},"started_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/revisions/{build_id}/accept":{"post":{"tags":["Revisions"],"summary":"Accept a generated revision","operationId":"acceptRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"builder_run_id":{"type":"string","format":"uuid","description":"The builder run being reviewed"},"expected_started_at":{"type":"string","format":"date-time","nullable":true,"description":"When that run started, as the client loaded it"}}}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","properties":{"builder_run":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["running","completed","failed","cancelled","waiting_for_input","waiting_for_approve"]},"build_id":{"type":"string"},"started_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"checkpoint_config":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"pending_user_questions":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"schedule_suggested":{"type":"boolean"},"warnings":{"type":"array","nullable":true,"items":{"type":"object"}}},"required":["id","status","build_id","started_at","completed_at","checkpoint_config","pending_user_questions"]}},"required":["builder_run"]}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/revisions/{build_id}/decline":{"post":{"tags":["Revisions"],"summary":"Decline a generated revision","operationId":"declineRevisionGeneration","security":[{"bearerAuth":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"builder_run_id":{"type":"string","format":"uuid","description":"The builder run being reviewed"},"expected_started_at":{"type":"string","format":"date-time","nullable":true,"description":"When that run started, as the client loaded it"}}}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","properties":{"builder_run":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["running","completed","failed","cancelled","waiting_for_input","waiting_for_approve"]},"build_id":{"type":"string"},"started_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"checkpoint_config":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"pending_user_questions":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"schedule_suggested":{"type":"boolean"},"warnings":{"type":"array","nullable":true,"items":{"type":"object"}}},"required":["id","status","build_id","started_at","completed_at","checkpoint_config","pending_user_questions"]}},"required":["builder_run"]}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/revisions/{build_id}/discard":{"post":{"tags":["Revisions"],"summary":"Discard a generated revision","operationId":"discardRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","properties":{"builder_run":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["running","completed","failed","cancelled","waiting_for_input","waiting_for_approve"]},"build_id":{"type":"string"},"started_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"checkpoint_config":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"pending_user_questions":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"schedule_suggested":{"type":"boolean"},"warnings":{"type":"array","nullable":true,"items":{"type":"object"}}},"required":["id","status","build_id","started_at","completed_at","checkpoint_config","pending_user_questions"]}},"required":["builder_run"]}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/builder-runs/{builder_run_id}/status":{"get":{"tags":["Revisions"],"summary":"Get builder run status","operationId":"getBuilderRunStatus","security":[{"bearerAuth":[]}],"parameters":[{"name":"builder_run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","properties":{"builder_run":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["running","completed","failed","cancelled","waiting_for_input","waiting_for_approve"]},"build_id":{"type":"string"},"started_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"checkpoint_config":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"pending_user_questions":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"schedule_suggested":{"type":"boolean"},"warnings":{"type":"array","nullable":true,"items":{"type":"object"}}},"required":["id","status","build_id","started_at","completed_at","checkpoint_config","pending_user_questions"]}},"required":["builder_run"]}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["Revisions"],"summary":"Cancel a builder run","operationId":"cancelBuilderRun","security":[{"bearerAuth":[]}],"parameters":[{"name":"builder_run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["cancelled"]}},"required":["status"]}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","properties":{"builder_run":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["running","completed","failed","cancelled","waiting_for_input","waiting_for_approve"]},"build_id":{"type":"string"},"started_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"checkpoint_config":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"pending_user_questions":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"schedule_suggested":{"type":"boolean"},"warnings":{"type":"array","nullable":true,"items":{"type":"object"}}},"required":["id","status","build_id","started_at","completed_at","checkpoint_config","pending_user_questions"]}},"required":["builder_run"]}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/builder-runs/{builder_run_id}/resume":{"post":{"tags":["Revisions"],"summary":"Answer builder clarifying questions","operationId":"resumeBuilderRun","security":[{"bearerAuth":[]}],"parameters":[{"name":"builder_run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agent/{agentId}/runs/{runId}/evaluation":{"get":{"tags":["Evaluations"],"summary":"Get run evaluation","operationId":"getRunEvaluation","security":[{"bearerAuth":[]}],"parameters":[{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"runId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/agents":{"get":{"tags":["Agents"],"summary":"List agents","operationId":"listAgents","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"include_schedules","in":"query","required":false,"schema":{"type":"string","enum":["true","false"],"default":"false"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["agents","total","limit","offset"],"properties":{"agents":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"slack_enabled":{"type":"boolean"},"microsoft_teams_enabled":{"type":"boolean"},"agentic_memory_enabled":{"type":"boolean"},"team_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"thread_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"folder_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"updated_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pinned_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_run_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"latest_build":{"oneOf":[{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"copilot_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"name":{"type":"string"},"revision_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"revision_description":{"oneOf":[{"type":"string"},{"type":"null"}]},"config":{"type":"object","additionalProperties":true,"properties":{"data":{"type":"object","additionalProperties":true,"properties":{"subAgents":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true,"default":[],"description":"Retired — Sub-Assignments was removed. Accepted for backwards compatibility and ignored."}}}}},"status":{"oneOf":[{"type":"string"},{"type":"null"}]},"revision_number":{"type":"integer"},"parent_build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"schedules":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"enabled":{"type":"boolean"},"frequency":{"type":"string"},"time":{"oneOf":[{"type":"string"},{"type":"null"}]},"timezone":{"type":"string"},"day":{"oneOf":[{"type":"string"},{"type":"null"}]},"day_of_month":{"oneOf":[{"type":"integer"},{"type":"null"}]},"cron":{"oneOf":[{"type":"string"},{"type":"null"}]},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"task":{"oneOf":[{"type":"string"},{"type":"null"}]},"recurring":{"type":"boolean"},"auto_disabled_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"auto_disabled_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"consecutive_missing_connection_failures":{"type":"integer"},"first_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_email":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}},{"type":"null"}]},"integration_configs":{"type":"array","items":{"type":"object","additionalProperties":true}},"user_triggers":{"type":"array","items":{"type":"object","additionalProperties":true}},"case_trigger_enabled":{"type":"boolean"},"case_trigger_has_conflict":{"type":"boolean"},"case_trigger_conflicting_agents":{"type":"array","items":{"type":"object","additionalProperties":true}},"case_queue_name":{"oneOf":[{"type":"string"},{"type":"null"}]}}}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Agents"],"summary":"Create an agent","operationId":"createAgent","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1,"maxLength":255},"thread_id":{"type":"string","format":"uuid"},"source_build_id":{"type":"string","format":"uuid"},"automation_id":{"type":"string","format":"uuid"},"build":{"type":"object","additionalProperties":false,"required":["name","config"],"properties":{"name":{"type":"string","minLength":1,"maxLength":255},"config":{"type":"object","additionalProperties":true,"properties":{"data":{"type":"object","additionalProperties":true,"properties":{"subAgents":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true,"default":[],"description":"Retired — Sub-Assignments was removed. Accepted for backwards compatibility and ignored."}}}}}}}}}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}":{"get":{"tags":["Agents"],"summary":"Get an agent","operationId":"getAgent","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["agent","user_context"],"properties":{"agent":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"slack_enabled":{"type":"boolean"},"microsoft_teams_enabled":{"type":"boolean"},"agentic_memory_enabled":{"type":"boolean"},"team_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"thread_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"folder_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"updated_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pinned_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_run_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"latest_build":{"oneOf":[{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"copilot_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"name":{"type":"string"},"revision_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"revision_description":{"oneOf":[{"type":"string"},{"type":"null"}]},"config":{"type":"object","additionalProperties":true,"properties":{"data":{"type":"object","additionalProperties":true,"properties":{"subAgents":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true,"default":[],"description":"Retired — Sub-Assignments was removed. Accepted for backwards compatibility and ignored."}}}}},"status":{"oneOf":[{"type":"string"},{"type":"null"}]},"revision_number":{"type":"integer"},"parent_build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"schedules":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"enabled":{"type":"boolean"},"frequency":{"type":"string"},"time":{"oneOf":[{"type":"string"},{"type":"null"}]},"timezone":{"type":"string"},"day":{"oneOf":[{"type":"string"},{"type":"null"}]},"day_of_month":{"oneOf":[{"type":"integer"},{"type":"null"}]},"cron":{"oneOf":[{"type":"string"},{"type":"null"}]},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"task":{"oneOf":[{"type":"string"},{"type":"null"}]},"recurring":{"type":"boolean"},"auto_disabled_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"auto_disabled_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"consecutive_missing_connection_failures":{"type":"integer"},"first_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_email":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}},{"type":"null"}]},"integration_configs":{"type":"array","items":{"type":"object","additionalProperties":true}},"user_triggers":{"type":"array","items":{"type":"object","additionalProperties":true}},"case_trigger_enabled":{"type":"boolean"},"case_trigger_has_conflict":{"type":"boolean"},"case_trigger_conflicting_agents":{"type":"array","items":{"type":"object","additionalProperties":true}},"case_queue_name":{"oneOf":[{"type":"string"},{"type":"null"}]}}},"user_context":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["Agents"],"summary":"Update an agent","operationId":"updateAgent","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":255},"slack_enabled":{"type":"boolean"},"microsoft_teams_enabled":{"type":"boolean"},"agentic_memory_enabled":{"type":"boolean"},"thread_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"computer_use_sandbox_template_id":{"oneOf":[{"type":"string","enum":["standard"]},{"type":"string","format":"uuid"},{"type":"null"}]},"pinned":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Agents"],"summary":"Delete an agent","operationId":"deleteAgent","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/revisions":{"get":{"tags":["Revisions"],"summary":"List agent revisions","operationId":"listAgentRevisions","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["builds","total","limit","offset"],"properties":{"builds":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"copilot_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"name":{"type":"string"},"revision_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"revision_description":{"oneOf":[{"type":"string"},{"type":"null"}]},"config":{"type":"object","additionalProperties":true,"properties":{"data":{"type":"object","additionalProperties":true,"properties":{"subAgents":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true,"default":[],"description":"Retired — Sub-Assignments was removed. Accepted for backwards compatibility and ignored."}}}}},"status":{"oneOf":[{"type":"string"},{"type":"null"}]},"revision_number":{"type":"integer"},"parent_build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"schedules":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"enabled":{"type":"boolean"},"frequency":{"type":"string"},"time":{"oneOf":[{"type":"string"},{"type":"null"}]},"timezone":{"type":"string"},"day":{"oneOf":[{"type":"string"},{"type":"null"}]},"day_of_month":{"oneOf":[{"type":"integer"},{"type":"null"}]},"cron":{"oneOf":[{"type":"string"},{"type":"null"}]},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"task":{"oneOf":[{"type":"string"},{"type":"null"}]},"recurring":{"type":"boolean"},"auto_disabled_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"auto_disabled_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"consecutive_missing_connection_failures":{"type":"integer"},"first_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_email":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Revisions"],"summary":"Create an agent revision","operationId":"createRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":255},"config":{"type":"object","additionalProperties":true,"properties":{"data":{"type":"object","additionalProperties":true,"properties":{"subAgents":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true,"default":[],"description":"Retired — Sub-Assignments was removed. Accepted for backwards compatibility and ignored."}}}}},"handover_target_ids":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":100},"source_build_id":{"type":"string","format":"uuid"}},"anyOf":[{"required":["config"]},{"required":["source_build_id"]}]}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/revisions/{build_id}":{"get":{"tags":["Revisions"],"summary":"Get an agent revision","operationId":"getRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"build_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["build"],"properties":{"build":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"copilot_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"name":{"type":"string"},"revision_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"revision_description":{"oneOf":[{"type":"string"},{"type":"null"}]},"config":{"type":"object","additionalProperties":true,"properties":{"data":{"type":"object","additionalProperties":true,"properties":{"subAgents":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true,"default":[],"description":"Retired — Sub-Assignments was removed. Accepted for backwards compatibility and ignored."}}}}},"status":{"oneOf":[{"type":"string"},{"type":"null"}]},"revision_number":{"type":"integer"},"parent_build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"schedules":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"enabled":{"type":"boolean"},"frequency":{"type":"string"},"time":{"oneOf":[{"type":"string"},{"type":"null"}]},"timezone":{"type":"string"},"day":{"oneOf":[{"type":"string"},{"type":"null"}]},"day_of_month":{"oneOf":[{"type":"integer"},{"type":"null"}]},"cron":{"oneOf":[{"type":"string"},{"type":"null"}]},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"task":{"oneOf":[{"type":"string"},{"type":"null"}]},"recurring":{"type":"boolean"},"auto_disabled_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"auto_disabled_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"consecutive_missing_connection_failures":{"type":"integer"},"first_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_email":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["Revisions"],"summary":"Update an agent revision","operationId":"updateRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"build_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["build"],"properties":{"build":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"copilot_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"name":{"type":"string"},"revision_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"revision_description":{"oneOf":[{"type":"string"},{"type":"null"}]},"config":{"type":"object","additionalProperties":true,"properties":{"data":{"type":"object","additionalProperties":true,"properties":{"subAgents":{"type":"array","items":{"type":"string","format":"uuid"},"nullable":true,"default":[],"description":"Retired — Sub-Assignments was removed. Accepted for backwards compatibility and ignored."}}}}},"status":{"oneOf":[{"type":"string"},{"type":"null"}]},"revision_number":{"type":"integer"},"parent_build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"schedules":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"enabled":{"type":"boolean"},"frequency":{"type":"string"},"time":{"oneOf":[{"type":"string"},{"type":"null"}]},"timezone":{"type":"string"},"day":{"oneOf":[{"type":"string"},{"type":"null"}]},"day_of_month":{"oneOf":[{"type":"integer"},{"type":"null"}]},"cron":{"oneOf":[{"type":"string"},{"type":"null"}]},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"task":{"oneOf":[{"type":"string"},{"type":"null"}]},"recurring":{"type":"boolean"},"auto_disabled_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"auto_disabled_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"consecutive_missing_connection_failures":{"type":"integer"},"first_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_email":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/memory/files":{"get":{"tags":["Agent Memory"],"summary":"List agent memory files","operationId":"listAgentMemoryFiles","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/memory/files/{path}":{"get":{"tags":["Agent Memory"],"summary":"Get an agent memory file","operationId":"getAgentMemoryFile","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/schedules":{"get":{"tags":["Schedules"],"summary":"List agent schedules","operationId":"listAgentSchedules","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["schedules"],"properties":{"schedules":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"enabled":{"type":"boolean"},"frequency":{"type":"string"},"time":{"oneOf":[{"type":"string"},{"type":"null"}]},"timezone":{"type":"string"},"day":{"oneOf":[{"type":"string"},{"type":"null"}]},"day_of_month":{"oneOf":[{"type":"integer"},{"type":"null"}]},"cron":{"oneOf":[{"type":"string"},{"type":"null"}]},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"task":{"oneOf":[{"type":"string"},{"type":"null"}]},"recurring":{"type":"boolean"},"auto_disabled_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"auto_disabled_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"consecutive_missing_connection_failures":{"type":"integer"},"first_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_email":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Schedules"],"summary":"Create an agent schedule","operationId":"createSchedule","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"enabled":{"type":"boolean"},"frequency":{"type":"string"},"time":{"oneOf":[{"type":"string"},{"type":"null"}]},"timezone":{"type":"string"},"day":{"oneOf":[{"type":"string"},{"type":"null"}]},"day_of_month":{"oneOf":[{"type":"integer"},{"type":"null"}]},"cron":{"oneOf":[{"type":"string"},{"type":"null"}]},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"task":{"oneOf":[{"type":"string"},{"type":"null"}]},"recurring":{"type":"boolean"},"auto_disabled_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"auto_disabled_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"consecutive_missing_connection_failures":{"type":"integer"},"first_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_email":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/schedules/all":{"get":{"tags":["Schedules"],"summary":"List every member's schedules on an agent","operationId":"listAllAgentSchedules","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["schedules"],"properties":{"schedules":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"enabled":{"type":"boolean"},"frequency":{"type":"string"},"time":{"oneOf":[{"type":"string"},{"type":"null"}]},"timezone":{"type":"string"},"day":{"oneOf":[{"type":"string"},{"type":"null"}]},"day_of_month":{"oneOf":[{"type":"integer"},{"type":"null"}]},"cron":{"oneOf":[{"type":"string"},{"type":"null"}]},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"task":{"oneOf":[{"type":"string"},{"type":"null"}]},"recurring":{"type":"boolean"},"auto_disabled_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"auto_disabled_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"consecutive_missing_connection_failures":{"type":"integer"},"first_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_email":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/triggers/{agentId}/{triggerId}":{"delete":{"tags":["Triggers"],"summary":"Delete an agent trigger","operationId":"deleteAgentTrigger","security":[{"bearerAuth":[]}],"parameters":[{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"triggerId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/schedules/{schedule_id}":{"patch":{"tags":["Schedules"],"summary":"Update an agent schedule","operationId":"updateSchedule","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"build_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"agent_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"enabled":{"type":"boolean"},"frequency":{"type":"string"},"time":{"oneOf":[{"type":"string"},{"type":"null"}]},"timezone":{"type":"string"},"day":{"oneOf":[{"type":"string"},{"type":"null"}]},"day_of_month":{"oneOf":[{"type":"integer"},{"type":"null"}]},"cron":{"oneOf":[{"type":"string"},{"type":"null"}]},"source":{"oneOf":[{"type":"string"},{"type":"null"}]},"task":{"oneOf":[{"type":"string"},{"type":"null"}]},"recurring":{"type":"boolean"},"auto_disabled_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"auto_disabled_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"consecutive_missing_connection_failures":{"type":"integer"},"first_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_missing_connection_failure_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_email":{"oneOf":[{"type":"string"},{"type":"null"}]}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Schedules"],"summary":"Delete an agent schedule","operationId":"deleteSchedule","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/case-triggers":{"get":{"tags":["Case Triggers"],"summary":"List case triggers for an agent","operationId":"listAgentCaseTriggers","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Case Triggers"],"summary":"Create an agent case trigger","operationId":"createAgentCaseTrigger","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/case-triggers/{case_trigger_id}":{"get":{"tags":["Case Triggers"],"summary":"Get an agent case trigger","operationId":"getAgentCaseTrigger","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_trigger_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["Case Triggers"],"summary":"Update an agent case trigger","operationId":"updateAgentCaseTrigger","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_trigger_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Case Triggers"],"summary":"Delete an agent case trigger","operationId":"deleteAgentCaseTrigger","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_trigger_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/case-triggers/conflict-preview":{"get":{"tags":["Case Triggers"],"summary":"Preview case trigger conflicts","operationId":"previewAgentCaseTriggerConflicts","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_queue_id","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/eval-counts":{"get":{"tags":["Evaluations"],"summary":"Get eval counts and run stats per agent","operationId":"getAgentEvalCounts","security":[{"bearerAuth":[]}],"parameters":[{"name":"agentIds","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdAtFrom","in":"query","required":false,"schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agent/{agentId}/eval-scores":{"get":{"tags":["Evaluations"],"summary":"Get agent evaluation scores","operationId":"getEvalScores","security":[{"bearerAuth":[]}],"parameters":[{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"since","in":"query","required":false,"schema":{"type":"string"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"}},{"name":"revision_id","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agentId}/eval-rubrics":{"get":{"tags":["Evaluations"],"summary":"List evaluation rubrics","operationId":"getEvalRubrics","security":[{"bearerAuth":[]}],"parameters":[{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"build_id","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Evaluations"],"summary":"Create an evaluation rubric","operationId":"createEvalRubric","security":[{"bearerAuth":[]}],"parameters":[{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["Evaluations"],"summary":"Replace evaluation rubrics","operationId":"replaceEvalRubrics","security":[{"bearerAuth":[]}],"parameters":[{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agentId}/eval-rubrics/{rubric_id}":{"patch":{"tags":["Evaluations"],"summary":"Update an evaluation rubric","operationId":"updateEvalRubric","security":[{"bearerAuth":[]}],"parameters":[{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Evaluations"],"summary":"Delete an evaluation rubric","operationId":"deleteEvalRubric","security":[{"bearerAuth":[]}],"parameters":[{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"204":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/case-queues/{queue_id}/eval-rubrics":{"get":{"tags":["Evaluations"],"summary":"Get Case Queue Eval Rubrics","operationId":"getCaseQueueEvalRubrics","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Evaluations"],"summary":"Create Case Queue Eval Rubric","operationId":"createCaseQueueEvalRubric","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["Evaluations"],"summary":"Replace Case Queue Eval Rubrics","operationId":"replaceCaseQueueEvalRubrics","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/case-queues/{queue_id}/eval-rubrics/{rubric_id}":{"patch":{"tags":["Evaluations"],"summary":"Update Case Queue Eval Rubric","operationId":"updateCaseQueueEvalRubric","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Evaluations"],"summary":"Delete Case Queue Eval Rubric","operationId":"deleteCaseQueueEvalRubric","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"rubric_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/revisions/{revision_id}/credentials":{"get":{"tags":["Revisions"],"summary":"List revision credentials","operationId":"listRevisionCredentials","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Revisions"],"summary":"Attach revision credential","operationId":"attachRevisionCredential","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/revisions/{revision_id}/credentials/{credential_id}":{"delete":{"tags":["Revisions"],"summary":"Detach revision credential","operationId":"detachRevisionCredential","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"credential_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"204":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/revisions/{revision_id}/logins":{"get":{"tags":["Revisions"],"summary":"List revision logins","operationId":"listRevisionLogins","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Revisions"],"summary":"Attach revision login","operationId":"attachRevisionLogin","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"exposedCredentialId":{"type":"string","format":"uuid"},"login_id":{"type":"string","format":"uuid"}},"anyOf":[{"required":["exposedCredentialId"]},{"required":["login_id"]}]}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/revisions/{revision_id}/logins/{login_id}":{"delete":{"tags":["Revisions"],"summary":"Detach revision login","operationId":"detachRevisionLogin","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"login_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"204":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/revisions/{revision_id}/integrations":{"get":{"tags":["Revisions"],"summary":"List revision integrations","operationId":"listRevisionIntegrations","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Revisions"],"summary":"Attach revision integration","operationId":"attachRevisionIntegration","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/revisions/{revision_id}/integrations/{integration_id}":{"delete":{"tags":["Revisions"],"summary":"Detach revision integration","operationId":"detachRevisionIntegration","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/revisions/{revision_id}/integrations/{integration_id}/connections":{"get":{"tags":["Revisions"],"summary":"List revision integration connections","operationId":"listRevisionIntegrationConnections","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Revisions"],"summary":"Attach revision integration connection","operationId":"attachRevisionIntegrationConnection","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/revisions/{revision_id}/integrations/{integration_id}/connections/{connection_id}":{"delete":{"tags":["Revisions"],"summary":"Detach revision integration connection","operationId":"detachRevisionIntegrationConnection","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/revisions/{revision_id}/integrations/{integration_id}/queues":{"get":{"tags":["Revisions"],"summary":"List revision integration queues","operationId":"listRevisionIntegrationQueues","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["Revisions"],"summary":"Replace revision integration queues","operationId":"replaceRevisionIntegrationQueues","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/revisions/{build_id}/promote":{"post":{"tags":["Agents"],"summary":"Publish a revision as the live build","operationId":"promoteRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/connections/oauth/native/{provider}/start":{"post":{"tags":["Connections"],"summary":"Start native OAuth","operationId":"startNativeOAuth","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"provider","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"integration_id":{"type":"string","minLength":1,"maxLength":100},"integrationId":{"type":"string","minLength":1,"maxLength":100},"return_url":{"type":"string","minLength":1,"maxLength":2048},"reconnect_instance_id":{"type":"string","format":"uuid"}},"anyOf":[{"required":["integration_id"]},{"required":["integrationId"]}]}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/connections/oauth/mcp/start":{"post":{"tags":["Connections"],"summary":"Start MCP OAuth","operationId":"authorizeMcpOAuth","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mcp_server_url":{"type":"string","minLength":1,"maxLength":2048},"server_url":{"type":"string","minLength":1,"maxLength":2048},"name":{"type":"string","minLength":1,"maxLength":100},"oauth_client_id":{"type":"string","minLength":1,"maxLength":255},"oauth_client_secret":{"type":"string","maxLength":1024},"scopes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":255},"maxItems":100},"return_url":{"type":"string","minLength":1,"maxLength":2048},"reconnect_instance_id":{"type":"string","format":"uuid"},"custom_integration_id":{"type":"string","format":"uuid"},"integration_type":{"type":"string","minLength":1,"maxLength":80}},"anyOf":[{"required":["mcp_server_url"]},{"required":["server_url"]}]}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/connections/oauth/mcp/check":{"post":{"tags":["Connections"],"summary":"Check MCP OAuth support","operationId":"checkMcpOAuth","security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/connections":{"get":{"tags":["Connections"],"summary":"List connections","operationId":"listConnections","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["integrations","total","limit","offset"],"properties":{"integrations":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"type":{"oneOf":[{"type":"string"},{"type":"null"}]},"provider":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"team_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"server_url":{"oneOf":[{"type":"string"},{"type":"null"}]},"transport_type":{"oneOf":[{"type":"string"},{"type":"null"}]},"auth_method":{"oneOf":[{"type":"string"},{"type":"null"}]},"custom_integration_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"icon_url":{"oneOf":[{"type":"string"},{"type":"null"}]},"oauth_provider":{"oneOf":[{"type":"string"},{"type":"null"}]},"oauth_provider_key":{"oneOf":[{"type":"string"},{"type":"null"}]},"oauth_scopes":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"has_headers":{"type":"boolean"},"has_oauth_tokens":{"type":"boolean"},"integration_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"shared":{"type":"boolean"},"created_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"broken_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"broken_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]}}}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Connections"],"summary":"Create a connection","operationId":"createConnection","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/connections/{connection_id}":{"get":{"tags":["Connections"],"summary":"Get a connection","operationId":"getConnection","security":[{"bearerAuth":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"type":{"oneOf":[{"type":"string"},{"type":"null"}]},"provider":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"team_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"server_url":{"oneOf":[{"type":"string"},{"type":"null"}]},"transport_type":{"oneOf":[{"type":"string"},{"type":"null"}]},"auth_method":{"oneOf":[{"type":"string"},{"type":"null"}]},"custom_integration_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"icon_url":{"oneOf":[{"type":"string"},{"type":"null"}]},"oauth_provider":{"oneOf":[{"type":"string"},{"type":"null"}]},"oauth_provider_key":{"oneOf":[{"type":"string"},{"type":"null"}]},"oauth_scopes":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"has_headers":{"type":"boolean"},"has_oauth_tokens":{"type":"boolean"},"integration_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"shared":{"type":"boolean"},"created_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"broken_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"broken_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["Connections"],"summary":"Update a connection","operationId":"updateConnection","security":[{"bearerAuth":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Connections"],"summary":"Delete a connection","operationId":"deleteConnection","security":[{"bearerAuth":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts":{"get":{"tags":["Artifacts"],"summary":"List artifacts","operationId":"listArtifacts","security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"}},{"name":"after_id","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["artifacts","total","limit","offset"],"properties":{"artifacts":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Artifacts"],"summary":"Create an artifact","operationId":"createArtifact","security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}":{"get":{"tags":["Artifacts"],"summary":"Get an artifact","operationId":"getArtifact","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["Artifacts"],"summary":"Update an artifact","operationId":"updateArtifact","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Artifacts"],"summary":"Delete an artifact","operationId":"deleteArtifact","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/render":{"get":{"tags":["Artifacts"],"summary":"Render artifact HTML","operationId":"renderArtifact","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/export/pdf":{"get":{"tags":["Artifacts"],"summary":"Export artifact PDF","operationId":"exportArtifactPdf","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"theme","in":"query","required":false,"schema":{"type":"string","enum":["light","dark"],"default":"light"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/export/html":{"get":{"tags":["Artifacts"],"summary":"Export artifact HTML","operationId":"exportArtifactHtml","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"theme","in":"query","required":false,"schema":{"type":"string","enum":["light","dark"],"default":"light"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/publish":{"post":{"tags":["Artifacts"],"summary":"Publish an artifact","operationId":"publishArtifact","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/duplicate":{"post":{"tags":["Artifacts"],"summary":"Duplicate an artifact","operationId":"duplicateArtifact","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/refresh":{"post":{"tags":["Artifacts"],"summary":"Refresh an artifact","operationId":"refreshArtifact","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/stop":{"post":{"tags":["Artifacts"],"summary":"Stop artifact generation","operationId":"stopArtifact","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"partial_text":{"type":"string","maxLength":500000}}}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/answer":{"post":{"tags":["Artifacts"],"summary":"Answer a question the Pulse agent asked","operationId":"answerArtifactQuestion","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/messages":{"get":{"tags":["Artifacts"],"summary":"List artifact messages","operationId":"listArtifactMessages","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data","total","has_more"],"properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"has_more":{"type":"boolean"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Artifacts"],"summary":"Post artifact message","operationId":"postArtifactMessage","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/attachments/upload-urls":{"post":{"tags":["Artifacts"],"summary":"Create an artifact attachment upload URL","operationId":"createArtifactAttachmentUploadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/attachments/{attachmentId}/download-url":{"get":{"tags":["Artifacts"],"summary":"Get a short-lived artifact attachment download URL","operationId":"getArtifactAttachmentDownloadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachmentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/connections":{"get":{"tags":["Artifacts"],"summary":"List artifact connections","operationId":"listArtifactConnections","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Artifacts"],"summary":"Attach an artifact connection","operationId":"attachArtifactConnection","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/connections/{connectionId}":{"delete":{"tags":["Artifacts"],"summary":"Detach an artifact connection","operationId":"detachArtifactConnection","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"connectionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifact_id}/data-sources":{"get":{"tags":["Artifacts"],"summary":"List Pulse data sources","operationId":"listPulseDataSources","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifact_id}/data-sources/{queue_id}":{"put":{"tags":["Artifacts"],"summary":"Connect a Pulse data source","operationId":"connectPulseDataSource","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Artifacts"],"summary":"Disconnect a Pulse data source","operationId":"disconnectPulseDataSource","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/revisions":{"get":{"tags":["Artifacts"],"summary":"List artifact revisions","operationId":"listArtifactRevisions","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["revisions","total","current_revision_id","current_version"],"properties":{"revisions":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"current_revision_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"current_version":{"oneOf":[{"type":"integer"},{"type":"null"}]}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/revisions/{revisionId}/render":{"get":{"tags":["Artifacts"],"summary":"Render an artifact revision","operationId":"renderArtifactRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"revisionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/artifacts/{artifactId}/revisions/{revisionId}/restore":{"post":{"tags":["Artifacts"],"summary":"Restore an artifact revision","operationId":"restoreArtifactRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"revisionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/artifacts/{artifactId}/move":{"post":{"tags":["Artifacts"],"summary":"Move an artifact to another team","operationId":"moveArtifact","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"dryRun","in":"query","required":false,"schema":{"type":"string","enum":["true","false"],"default":"false"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/sandboxes":{"post":{"tags":["Sandboxes"],"summary":"Create a sandbox","operationId":"createSandbox","security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/sandboxes/{sandbox_id}/upload-urls":{"post":{"tags":["Sandboxes"],"summary":"Create sandbox upload URLs","operationId":"createSandboxUploadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"sandbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/sandboxes/{sandbox_id}/files":{"get":{"tags":["Sandboxes"],"summary":"List sandbox files","operationId":"listSandboxFiles","security":[{"bearerAuth":[]}],"parameters":[{"name":"sandbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Sandboxes"],"summary":"Upload sandbox files","operationId":"uploadSandboxFile","security":[{"bearerAuth":[]}],"parameters":[{"name":"sandbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"query","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/queues":{"get":{"tags":["Queues"],"summary":"List queues","operationId":"listQueues","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["queues","total","limit","offset"],"properties":{"queues":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Queues"],"summary":"Create a queue","operationId":"createQueue","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases":{"get":{"tags":["Cases"],"summary":"List cases","operationId":"listCases","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"label","in":"query","required":false,"schema":{"type":"string"}},{"name":"labels","in":"query","required":false,"schema":{"type":"string"}},{"name":"priority","in":"query","required":false,"schema":{"type":"string"}},{"name":"issue_severity","in":"query","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"created_at_from","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"created_at_to","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"updated_at_from","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"updated_at_to","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"count_only","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort_by","in":"query","required":false,"schema":{"type":"string"}},{"name":"order","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["cases","total","limit","offset"],"properties":{"cases":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"queue_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"title":{"type":"string"},"data":{"oneOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"display_status":{"type":"string"},"claimed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"claimed_by_run_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"postponed_to":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_by_user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by_user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_by_user_email":{"oneOf":[{"type":"string"},{"type":"null"}]},"agent_run_status":{"oneOf":[{"type":"string"},{"type":"null"}]},"agent_run_user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_human_request_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_approval_batch_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_approval_assignee_user_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"approval_approved_count":{"type":"integer"},"approval_rejected_count":{"type":"integer"},"eval_summary":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"search_match_data_snippet":{"oneOf":[{"type":"string"},{"type":"null"}]},"labels":{"type":"array","items":{"type":"object","additionalProperties":true}}}}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Cases"],"summary":"Create cases","operationId":"createCases","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/search":{"post":{"tags":["Cases"],"summary":"Search cases","operationId":"searchCases","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["cases","total","limit","offset"],"properties":{"cases":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"queue_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"title":{"type":"string"},"data":{"oneOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"display_status":{"type":"string"},"claimed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"claimed_by_run_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"postponed_to":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_by_user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by_user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_by_user_email":{"oneOf":[{"type":"string"},{"type":"null"}]},"agent_run_status":{"oneOf":[{"type":"string"},{"type":"null"}]},"agent_run_user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_human_request_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_approval_batch_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_approval_assignee_user_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"approval_approved_count":{"type":"integer"},"approval_rejected_count":{"type":"integer"},"eval_summary":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"search_match_data_snippet":{"oneOf":[{"type":"string"},{"type":"null"}]},"labels":{"type":"array","items":{"type":"object","additionalProperties":true}}}}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/cases/{case_id}":{"get":{"tags":["Cases"],"summary":"Get a case","operationId":"getCase","security":[{"bearerAuth":[]}],"parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["case"],"properties":{"case":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"queue_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"title":{"type":"string"},"data":{"oneOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"display_status":{"type":"string"},"claimed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"claimed_by_run_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"postponed_to":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_by_user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by_user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_by_user_email":{"oneOf":[{"type":"string"},{"type":"null"}]},"agent_run_status":{"oneOf":[{"type":"string"},{"type":"null"}]},"agent_run_user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_human_request_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_approval_batch_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_approval_assignee_user_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"approval_approved_count":{"type":"integer"},"approval_rejected_count":{"type":"integer"},"eval_summary":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"search_match_data_snippet":{"oneOf":[{"type":"string"},{"type":"null"}]},"labels":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["Cases"],"summary":"Update Case","operationId":"updateCase","security":[{"bearerAuth":[]}],"parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["case"],"properties":{"case":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"queue_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"title":{"type":"string"},"data":{"oneOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"display_status":{"type":"string"},"claimed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"claimed_by_run_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"postponed_to":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_by_user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_by_user_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_by_user_email":{"oneOf":[{"type":"string"},{"type":"null"}]},"agent_run_status":{"oneOf":[{"type":"string"},{"type":"null"}]},"agent_run_user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_human_request_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_approval_batch_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"pending_approval_assignee_user_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"approval_approved_count":{"type":"integer"},"approval_rejected_count":{"type":"integer"},"eval_summary":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"search_match_data_snippet":{"oneOf":[{"type":"string"},{"type":"null"}]},"labels":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Cases"],"summary":"Delete a case","operationId":"deleteCase","security":[{"bearerAuth":[]}],"parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"204":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/bulk-delete":{"post":{"tags":["Cases"],"summary":"Bulk delete cases","operationId":"bulkDeleteCases","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"case_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100},"ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100},"all_matching":{"type":"boolean"},"filters":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string"},"label":{"type":"string"},"search":{"type":"string"}}},"search":{"type":"string","minLength":1,"maxLength":500}}}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/bulk-reprocess":{"post":{"tags":["Cases"],"summary":"Bulk reprocess cases","operationId":"bulkReprocessCases","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"case_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100},"ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100},"all_matching":{"type":"boolean"},"filters":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string"},"label":{"type":"string"},"search":{"type":"string"}}},"search":{"type":"string","minLength":1,"maxLength":500},"agent_id":{"type":"string","format":"uuid"}}}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/bulk-update-status":{"post":{"tags":["Cases"],"summary":"Bulk update case status","operationId":"bulkUpdateCaseStatus","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["status"],"properties":{"case_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100},"ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100},"all_matching":{"type":"boolean"},"filters":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string"},"label":{"type":"string"},"search":{"type":"string"}}},"search":{"type":"string","minLength":1,"maxLength":500},"status":{"type":"string","enum":["completed","failed"]}}}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/bulk-update-priority":{"post":{"tags":["Cases"],"summary":"Bulk update case priority","operationId":"bulkUpdateCasePriority","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["priority"],"properties":{"case_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100},"ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100},"all_matching":{"type":"boolean"},"filters":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string"},"label":{"type":"string"},"search":{"type":"string"}}},"search":{"type":"string","minLength":1,"maxLength":500},"priority":{"type":"string","enum":["none","medium","high"]}}}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/skills":{"get":{"tags":["Skills"],"summary":"List skills","operationId":"listSkills","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Skills"],"summary":"Create a skill","operationId":"createSkill","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["name","description","content"],"properties":{"name":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9-]+$"},"description":{"type":"string","minLength":1,"maxLength":1024},"content":{"type":"string","minLength":1},"license":{"type":"string","minLength":1,"maxLength":255},"compatibility":{"oneOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"object","additionalProperties":true}]},"allowed-tools":{"type":"array","items":{"type":"string","minLength":1,"maxLength":255},"maxItems":100},"metadata":{"type":"object","additionalProperties":true}}}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/skills/{skill_id}/assignments":{"get":{"tags":["Skills"],"summary":"List skill assignments","operationId":"listSkillAssignments","security":[{"bearerAuth":[]}],"parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["assignments","total"],"properties":{"assignments":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/skills/{skill_id}/revisions":{"get":{"tags":["Skills"],"summary":"List skill revisions","operationId":"listSkillRevisions","security":[{"bearerAuth":[]}],"parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Skills"],"summary":"Create a skill revision (draft)","operationId":"createSkillRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/skill-revisions/{skill_revision_id}":{"patch":{"tags":["Skills"],"summary":"Update a skill revision","operationId":"updateSkillRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"skill_revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Skills"],"summary":"Delete a skill revision","operationId":"deleteSkillRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"skill_revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/skill-revisions/{skill_revision_id}/promote":{"post":{"tags":["Skills"],"summary":"Promote a skill revision","operationId":"promoteSkillRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"skill_revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/skill-revisions/{skill_revision_id}/files":{"get":{"tags":["Skills"],"summary":"List skill revision files","operationId":"listSkillRevisionFiles","security":[{"bearerAuth":[]}],"parameters":[{"name":"skill_revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/skill-revisions/{skill_revision_id}/files/{path}":{"get":{"tags":["Skills"],"summary":"Get skill revision file content","operationId":"getSkillRevisionFileContent","security":[{"bearerAuth":[]}],"parameters":[{"name":"skill_revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["Skills"],"summary":"Update a skill revision file","operationId":"updateSkillRevisionFile","security":[{"bearerAuth":[]}],"parameters":[{"name":"skill_revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Skills"],"summary":"Delete a skill revision file","operationId":"deleteSkillRevisionFile","security":[{"bearerAuth":[]}],"parameters":[{"name":"skill_revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/cases/{case_id}/runs/{run_id}/recent-messages":{"get":{"tags":["Cases"],"summary":"List recent case run messages","operationId":"listCaseRunRecentMessages","security":[{"bearerAuth":[]}],"parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/{case_id}/labels":{"post":{"tags":["Cases"],"summary":"Assign labels to a case","operationId":"assignCaseLabels","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/{case_id}/labels/unlink":{"post":{"tags":["Cases"],"summary":"Unlink a label from a case","operationId":"unlinkCaseLabel","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/aggregations":{"get":{"tags":["Queue Aggregations"],"summary":"List Queue Aggregations","operationId":"listQueueAggregations","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Queue Aggregations"],"summary":"Create Queue Aggregation","operationId":"createQueueAggregation","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/aggregations/evaluate":{"post":{"tags":["Queue Aggregations"],"summary":"Evaluate Queue Aggregation","operationId":"evaluateQueueAggregation","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/aggregations/{definition_id}/result":{"get":{"tags":["Queue Aggregations"],"summary":"Get Queue Aggregation Result","operationId":"getQueueAggregationResult","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"definition_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/aggregations/{definition_id}/refresh":{"post":{"tags":["Queue Aggregations"],"summary":"Refresh Queue Aggregation","operationId":"refreshQueueAggregation","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"definition_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/aggregations/{definition_id}":{"delete":{"tags":["Queue Aggregations"],"summary":"Delete Queue Aggregation","operationId":"deleteQueueAggregation","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"definition_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/{case_id}/attachments":{"get":{"tags":["Case Attachments"],"summary":"List Case Attachments","operationId":"listCaseAttachments","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/{case_id}/attachments/{attachment_id}/content":{"put":{"tags":["Case Attachments"],"summary":"Upload Case Attachment Content","operationId":"uploadCaseAttachmentContent","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/{case_id}/attachments/upload-urls":{"post":{"tags":["Case Attachments"],"summary":"Create Case Attachment Upload URL","operationId":"createCaseAttachmentUploadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/{case_id}/attachments/{attachment_id}/finalize":{"post":{"tags":["Case Attachments"],"summary":"Finalize Case Attachment","operationId":"finalizeCaseAttachment","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/{case_id}/attachments/{attachment_id}/download-url":{"get":{"tags":["Case Attachments"],"summary":"Get Case Attachment Download URL","operationId":"getCaseAttachmentDownloadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"disposition","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/{case_id}/attachments/{attachment_id}/pages/{page}":{"get":{"tags":["Case Attachments"],"summary":"Get Case Attachment Page Image","operationId":"getCaseAttachmentPageImage","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/{case_id}/attachments/{attachment_id}":{"delete":{"tags":["Case Attachments"],"summary":"Delete Case Attachment","operationId":"deleteCaseAttachment","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/json-schema":{"get":{"tags":["Queues"],"summary":"Get Queue Json Schema","operationId":"getQueueJsonSchema","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Queues"],"summary":"Create Queue Json Schema","operationId":"createQueueJsonSchema","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["Queues"],"summary":"Replace Queue Json Schema","operationId":"replaceQueueJsonSchema","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["Queues"],"summary":"Update Queue Json Schema Settings","operationId":"updateQueueJsonSchemaSettings","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Queues"],"summary":"Detach Queue Json Schema","operationId":"detachQueueJsonSchema","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/json-schema/attach":{"post":{"tags":["Queues"],"summary":"Attach Queue Json Schema","operationId":"attachQueueJsonSchema","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/queues/{queue_id}/cases/export":{"post":{"tags":["Cases UI"],"summary":"Export Cases","operationId":"exportCases","security":[{"bearerAuth":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/cases/{case_id}/json-data":{"patch":{"tags":["Cases"],"summary":"Set Case Json Data Fields","operationId":"setCaseJsonDataFields","security":[{"bearerAuth":[]}],"parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/case-queues/stats":{"get":{"tags":["Cases"],"summary":"Get Batch Queue Stats","operationId":"getBatchQueueStats","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"queue_ids","in":"query","required":false,"schema":{"type":"string"}},{"name":"created_at_from","in":"query","required":false,"schema":{"type":"string"}},{"name":"created_at_to","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/files/download-url/{path}":{"get":{"tags":["Files"],"summary":"Get a file download URL","operationId":"getFileDownloadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/members":{"get":{"tags":["Teams"],"summary":"List team members","operationId":"listTeamMembers","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["members","total","limit","offset"],"properties":{"members":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/agents":{"get":{"tags":["Organizations"],"summary":"List agents across an organization","operationId":"listOrgAgents","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}},{"name":"team_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"schedule_enabled","in":"query","required":false,"schema":{"type":"string"}},{"name":"auto_disabled","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/runs":{"get":{"tags":["Organizations"],"summary":"List runs across an organization","operationId":"listOrgRuns","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"team_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"agent_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"source","in":"query","required":false,"schema":{"type":"string"}},{"name":"has_issues","in":"query","required":false,"schema":{"type":"string"}},{"name":"issue_severity","in":"query","required":false,"schema":{"type":"string"}},{"name":"created_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"created_before","in":"query","required":false,"schema":{"type":"string"}},{"name":"started_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"started_before","in":"query","required":false,"schema":{"type":"string"}},{"name":"completed_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"completed_before","in":"query","required":false,"schema":{"type":"string"}},{"name":"since","in":"query","required":false,"schema":{"type":"string"}},{"name":"until","in":"query","required":false,"schema":{"type":"string"}},{"name":"count_only","in":"query","required":false,"schema":{"type":"string"}},{"name":"include_total","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/members/{memberId}":{"patch":{"tags":["Teams"],"summary":"Update a team member role","operationId":"updateTeamMemberRole","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"memberId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string"}},"required":["role"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Teams"],"summary":"Remove a team member","operationId":"removeTeamMember","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"memberId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/integrations":{"get":{"tags":["Connections"],"summary":"List custom integrations","operationId":"listIntegrations","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["integrations","total","limit","offset"],"properties":{"integrations":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"type":{"oneOf":[{"type":"string"},{"type":"null"}]},"provider":{"oneOf":[{"type":"string"},{"type":"null"}]},"user_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"team_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"server_url":{"oneOf":[{"type":"string"},{"type":"null"}]},"transport_type":{"oneOf":[{"type":"string"},{"type":"null"}]},"auth_method":{"oneOf":[{"type":"string"},{"type":"null"}]},"custom_integration_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"icon_url":{"oneOf":[{"type":"string"},{"type":"null"}]},"oauth_provider":{"oneOf":[{"type":"string"},{"type":"null"}]},"oauth_provider_key":{"oneOf":[{"type":"string"},{"type":"null"}]},"oauth_scopes":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"has_headers":{"type":"boolean"},"has_oauth_tokens":{"type":"boolean"},"integration_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"shared":{"type":"boolean"},"created_by":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"broken_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"broken_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"created_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]}}}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping-v2/processes/summaries":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping process summaries","operationId":"listProcessMappingProcessSummaries","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}},{"name":"detail","in":"query","required":false,"schema":{"type":"string","enum":["skeleton","summary"],"default":"skeleton"}},{"name":"include_current_steps","in":"query","required":false,"schema":{"type":"string","enum":["true","false"],"default":"false"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["processes","total","limit","offset"],"properties":{"processes":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping-v2/processes":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping processes","operationId":"listProcessMappingProcesses","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["processes","total","limit","offset"],"properties":{"processes":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/snapshots/{kind}":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping v2 snapshots","operationId":"listProcessMappingSnapshots","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["snapshots","total"],"properties":{"snapshots":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/snapshots/{kind}/{snapshot_id}":{"get":{"tags":["ProcessMapping"],"summary":"Get a Process Mapping v2 snapshot","operationId":"getProcessMappingSnapshot","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["ProcessMapping"],"summary":"Delete a Process Mapping v2 snapshot","operationId":"deleteProcessMappingSnapshot","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/snapshots/{kind}/generate":{"post":{"tags":["ProcessMapping"],"summary":"Start Process Mapping v2 snapshot generation","operationId":"generateProcessMappingSnapshot","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"202":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/snapshots/{kind}/save":{"post":{"tags":["ProcessMapping"],"summary":"Save a Process Mapping v2 snapshot","operationId":"saveProcessMappingSnapshot","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/snapshots/{kind}/{snapshot_id}/promote":{"post":{"tags":["ProcessMapping"],"summary":"Promote a Process Mapping v2 snapshot","operationId":"promoteProcessMappingSnapshot","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/snapshots/{kind}/stop":{"post":{"tags":["ProcessMapping"],"summary":"Stop Process Mapping v2 snapshot generation","operationId":"stopProcessMappingSnapshotGeneration","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/transformation-proposals/{transformation_proposal_id}/extra-capture-requests":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping extra-capture requests","operationId":"listProcessMappingExtraCaptureRequests","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"transformation_proposal_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["requests","total","limit","offset"],"properties":{"requests":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/transformation-proposals/{transformation_proposal_id}/extra-capture-requests/{request_id}/assign":{"patch":{"tags":["ProcessMapping"],"summary":"Assign a Process Mapping extra-capture request","operationId":"assignProcessMappingExtraCaptureRequest","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"transformation_proposal_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/artifact-chat/conversations/{conversation_id}/messages":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping artifact chat messages","operationId":"listProcessMappingArtifactChatMessages","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/artifact-chat/messages/{message_id}":{"put":{"tags":["ProcessMapping"],"summary":"Update a Process Mapping artifact chat message","operationId":"updateProcessMappingArtifactChatMessage","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"content":{"type":"string","minLength":1,"maxLength":20000},"body":{"type":"object","additionalProperties":false,"required":["kind","text"],"properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string","minLength":1,"maxLength":20000}}},"decision":{"type":"string","enum":["accept","decline"]}},"anyOf":[{"required":["content"]},{"required":["body"]},{"required":["decision"]}]}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/artifact-imports/{import_id}/complete":{"post":{"tags":["ProcessMapping"],"summary":"Complete a Process Mapping artifact import","operationId":"completeProcessMappingArtifactImport","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"import_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"file_name":{"type":"string","minLength":1,"maxLength":255},"content_type":{"type":"string","enum":["image/svg+xml","application/xml","text/xml","image/png","image/jpeg"]}}}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/available-labels":{"get":{"tags":["ProcessMapping"],"summary":"List available Process Mapping process labels","operationId":"listAvailableProcessMappingProcessLabels","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data","total","limit","offset"],"properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/teams":{"get":{"tags":["Organizations"],"summary":"List organization teams","operationId":"listOrgTeams","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["teams","total"],"properties":{"teams":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Organizations"],"summary":"Create Org Team","operationId":"createOrgTeam","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1}}}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/members":{"post":{"tags":["Organizations"],"summary":"Invite Org Member","operationId":"inviteOrgMember","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["email","role"],"properties":{"email":{"type":"string","format":"email"},"role":{"type":"string","enum":["organization:executive","organization:owner","organization:admin","organization:member"]},"frontendUrl":{"type":"string","format":"uri","deprecated":true},"sendEmail":{"type":"boolean"},"teamId":{"type":"string","format":"uuid"}}}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/process-labels":{"get":{"tags":["ProcessMapping"],"summary":"List organization Process Mapping process labels","operationId":"listProcessMappingProcessLabels","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data","total","limit","offset"],"properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Process Label","operationId":"createProcessMappingProcessLabel","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/captures":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping landscape captures","operationId":"listProcessMappingLandscapeCaptures","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"includeTranscripts","in":"query","required":false,"schema":{"type":"string","enum":["true","false"],"default":"false"}},{"name":"include_excluded","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["captures","total","truncated"],"properties":{"captures":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"truncated":{"type":"boolean"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/process-links":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping process links","operationId":"listProcessMappingProcessLinks","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"node_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["process_links","total","limit","offset"],"properties":{"process_links":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Process Link","operationId":"createProcessMappingProcessLink","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/nodes/{nodeId}/placement":{"put":{"tags":["ProcessMapping"],"summary":"Update Process Mapping landscape node placement","operationId":"updateProcessMappingLandscapeNodePlacement","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Process","operationId":"getLegacyProcessMappingProcess","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Process","operationId":"updateProcessMappingProcess","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255,"description":"New process name"},"status":{"type":"string","enum":["complete"],"description":"Mark a review-stage process complete"},"customPrompt":{"type":"string","nullable":true,"maxLength":5000,"description":"Process-specific guidance, or null to clear it"},"visibility":{"type":"string","enum":["team","restricted"],"description":"Process visibility within the team"},"independentInterviews":{"type":"boolean","description":"When true, each interview starts fresh: no briefing from earlier interviews and no context from other people's captures"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["ProcessMapping"],"summary":"Delete Process Mapping Process","operationId":"deleteProcessMappingProcess","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/members":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Process Members","operationId":"listProcessMappingProcessMembers","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"contributorsAfter","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/people/{personId}/request-interview":{"post":{"tags":["ProcessMapping"],"summary":"Request Process Mapping Interview","operationId":"requestProcessMappingInterview","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"personId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/interview-invites":{"post":{"tags":["ProcessMapping"],"summary":"Send Process Mapping Interview Invites","operationId":"sendProcessMappingInterviewInvites","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"invitees":{"type":"array","maxItems":25,"items":{"type":"object","properties":{"email":{"type":"string","format":"email"},"name":{"type":"string","maxLength":200}},"required":["email"],"additionalProperties":false}},"includeProcessPeople":{"type":"boolean"},"message":{"type":"string","maxLength":500}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Interview Invites","operationId":"listProcessMappingInterviewInvites","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/interview-reminder":{"post":{"tags":["ProcessMapping"],"summary":"Send Process Mapping Interview Reminder","operationId":"sendProcessMappingInterviewReminder","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"}},"required":["email"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/my-interview-requests":{"get":{"tags":["ProcessMapping"],"summary":"List My Process Mapping Interview Requests","operationId":"listMyProcessMappingInterviewRequests","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/members/{invitationId}":{"delete":{"tags":["ProcessMapping"],"summary":"Remove Process Mapping Process Member","operationId":"removeProcessMappingProcessMember","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"invitationId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/duplicate":{"post":{"tags":["ProcessMapping"],"summary":"Duplicate Process Mapping Process","operationId":"duplicateProcessMappingProcess","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/captures/video/create-upload-url":{"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Video Capture Upload URL","operationId":"createProcessMappingVideoCaptureUploadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/captures/video/{captureId}/complete":{"post":{"tags":["ProcessMapping"],"summary":"Complete Process Mapping Video Capture Upload","operationId":"completeProcessMappingVideoCaptureUpload","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"captureId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/captures/document/create-upload-url":{"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Document Capture Upload URL","operationId":"createProcessMappingDocumentCaptureUploadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/captures/document/{captureId}/complete":{"post":{"tags":["ProcessMapping"],"summary":"Complete Process Mapping Document Capture Upload","operationId":"completeProcessMappingDocumentCaptureUpload","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"captureId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/captures/image/create-upload-url":{"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Image Capture Upload URL","operationId":"createProcessMappingImageCaptureUploadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/captures/image/{captureId}/complete":{"post":{"tags":["ProcessMapping"],"summary":"Complete Process Mapping Image Capture Upload","operationId":"completeProcessMappingImageCaptureUpload","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"captureId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/captures/meeting":{"post":{"tags":["ProcessMapping"],"summary":"Invite Process Mapping Meeting Notetaker","operationId":"inviteProcessMappingMeetingNotetaker","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/captures/{captureId}":{"delete":{"tags":["ProcessMapping"],"summary":"Delete Process Mapping Capture","operationId":"deleteProcessMappingCapture","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"captureId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/captures/{captureId}/files":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Capture Files","operationId":"listProcessMappingCaptureFiles","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"captureId","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","properties":{"nextCursor":{"type":"string","nullable":true},"files":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"},"contentType":{"type":"string","nullable":true},"sizeBytes":{"type":"number","nullable":true},"signedUrl":{"type":"string","format":"uri","description":"Short-lived download URL. Download promptly rather than storing the URL."},"signedUrlExpiresAt":{"type":"string","format":"date-time"}},"required":["fileName","contentType","sizeBytes","signedUrl","signedUrlExpiresAt"]}}},"required":["nextCursor","files"]}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/guidance":{"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Guidance","operationId":"createProcessMappingGuidance","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Guidance","operationId":"updateProcessMappingGuidance","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/sharing":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Process Sharing","operationId":"getProcessMappingProcessSharing","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Process Sharing","operationId":"updateProcessMappingProcessSharing","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/invite-link":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Process Invite Link","operationId":"getProcessMappingProcessInviteLink","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["ProcessMapping"],"summary":"Delete Process Mapping Process Invite Link","operationId":"deleteProcessMappingProcessInviteLink","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"204":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-join/{token}":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Process Join Info","operationId":"getProcessMappingProcessJoinInfo","security":[{"bearerAuth":[]}],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-join/{token}/accept":{"post":{"tags":["ProcessMapping"],"summary":"Accept Process Mapping Process Join","operationId":"acceptProcessMappingProcessJoin","security":[{"bearerAuth":[]}],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/nodes/{nodeId}/accept":{"post":{"tags":["ProcessMapping"],"summary":"Accept Process Mapping Landscape Node","operationId":"acceptProcessMappingLandscapeNode","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/nodes/{nodeId}/decline":{"post":{"tags":["ProcessMapping"],"summary":"Decline Process Mapping Landscape Node","operationId":"declineProcessMappingLandscapeNode","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/areas/order":{"put":{"tags":["ProcessMapping"],"summary":"Reorder Process Mapping Landscape Areas","operationId":"reorderProcessMappingLandscapeAreas","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/nodes/{nodeId}/team":{"put":{"tags":["ProcessMapping"],"summary":"Assign Process Mapping Landscape Node Team","operationId":"assignProcessMappingLandscapeNodeTeam","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/process-nodes":{"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Process Node","operationId":"createProcessMappingProcessNode","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/people/batch":{"post":{"tags":["ProcessMapping"],"summary":"Batch Add Process Mapping Landscape Node People","operationId":"batchAddProcessMappingLandscapeNodePeople","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/nodes/{nodeId}/people":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Landscape Node People","operationId":"listProcessMappingLandscapeNodePeople","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["ProcessMapping"],"summary":"Add Process Mapping Landscape Node Person","operationId":"addProcessMappingLandscapeNodePerson","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"query","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/nodes/{nodeId}/people/{personId}":{"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Landscape Node Person","operationId":"updateProcessMappingLandscapeNodePerson","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"personId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"query","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["ProcessMapping"],"summary":"Remove Process Mapping Landscape Node Person","operationId":"removeProcessMappingLandscapeNodePerson","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"personId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"query","required":false,"schema":{"type":"string"}},{"name":"pendingOnly","in":"query","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/hierarchy/nodes/{nodeId}/team-assignment-suggestions/{suggestionId}/accept":{"post":{"tags":["ProcessMapping"],"summary":"Accept Process Mapping Team Assignment Suggestion","operationId":"acceptProcessMappingTeamAssignmentSuggestion","security":[{"bearerAuth":[]}],"parameters":[{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"suggestionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/hierarchy/nodes/{nodeId}/team-assignment-suggestions/{suggestionId}/dismiss":{"post":{"tags":["ProcessMapping"],"summary":"Dismiss Process Mapping Team Assignment Suggestion","operationId":"dismissProcessMappingTeamAssignmentSuggestion","security":[{"bearerAuth":[]}],"parameters":[{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"suggestionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/hierarchy/nodes/{nodeId}/capture-suggestions/{suggestionId}/accept":{"post":{"tags":["ProcessMapping"],"summary":"Accept Process Mapping Capture Suggestion","operationId":"acceptProcessMappingCaptureSuggestion","security":[{"bearerAuth":[]}],"parameters":[{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"suggestionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/hierarchy/nodes/{nodeId}/capture-requests/{requestId}/assign":{"patch":{"tags":["ProcessMapping"],"summary":"Assign Process Mapping Landscape Capture Request","operationId":"assignProcessMappingLandscapeCaptureRequest","security":[{"bearerAuth":[]}],"parameters":[{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"requestId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/hierarchy/nodes/{nodeId}/capture-suggestions/{suggestionId}/dismiss":{"post":{"tags":["ProcessMapping"],"summary":"Dismiss Process Mapping Capture Suggestion","operationId":"dismissProcessMappingCaptureSuggestion","security":[{"bearerAuth":[]}],"parameters":[{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"suggestionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/nodes/{nodeId}/interviews":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Landscape Node Interviews","operationId":"listProcessMappingLandscapeNodeInterviews","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/nodes/{nodeId}/interviews/{interviewId}":{"delete":{"tags":["ProcessMapping"],"summary":"Delete Process Mapping Landscape Node Interview","operationId":"deleteProcessMappingLandscapeNodeInterview","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interviewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"204":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/artifact-chat/conversations/{conversation_id}":{"delete":{"tags":["ProcessMapping"],"summary":"Delete Process Mapping Artifact Chat Conversation","operationId":"deleteProcessMappingArtifactChatConversation","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/artifact-chat/conversations/{conversation_id}/stop":{"post":{"tags":["ProcessMapping"],"summary":"Stop Process Mapping Artifact Chat Conversation","operationId":"stopProcessMappingArtifactChatConversation","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{id}/upgrade":{"post":{"tags":["ProcessMapping"],"summary":"Upgrade Process Mapping Process","operationId":"upgradeProcessMappingProcess","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/landscape/generate":{"post":{"tags":["ProcessMapping"],"summary":"Generate Process Mapping Process Landscape","operationId":"generateProcessMappingProcessLandscape","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"202":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/organize":{"post":{"tags":["ProcessMapping"],"summary":"Organize Process Mapping Process Landscape","operationId":"organizeProcessMappingProcessLandscape","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"202":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/people":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Hierarchy People","operationId":"getProcessMappingHierarchyPeople","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"rootId","in":"query","required":false,"schema":{"type":"string"}},{"name":"ownerTeamId","in":"query","required":false,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{org_id}/process-mapping/hierarchy/priorities":{"put":{"tags":["ProcessMapping"],"summary":"Set Process Mapping Landscape Priorities","operationId":"setProcessMappingLandscapePriorities","security":[{"bearerAuth":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/interviews":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Organization Interviews","operationId":"listProcessMappingOrganizationInterviews","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/interviews/{interviewId}":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Organization Interview","operationId":"getProcessMappingOrganizationInterview","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interviewId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Organization Interview","operationId":"updateProcessMappingOrganizationInterview","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interviewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["ProcessMapping"],"summary":"Delete Process Mapping Organization Interview","operationId":"deleteProcessMappingOrganizationInterview","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interviewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"204":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/interviews/notetaker":{"post":{"tags":["ProcessMapping"],"summary":"Invite Process Mapping Organization Notetaker","operationId":"inviteProcessMappingOrganizationNotetaker","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/interviews/{interviewId}/usability":{"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Organization Interview Usability","operationId":"updateProcessMappingOrganizationInterviewUsability","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interviewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/interviews/{interviewId}/finalize":{"post":{"tags":["ProcessMapping"],"summary":"Finalize Process Mapping Organization Interview","operationId":"finalizeProcessMappingOrganizationInterview","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interviewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/interviews/document/create-upload-url":{"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Organization Document Upload URL","operationId":"createProcessMappingOrganizationDocumentUploadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/interviews/document/{interviewId}/complete":{"post":{"tags":["ProcessMapping"],"summary":"Complete Process Mapping Organization Document Upload","operationId":"completeProcessMappingOrganizationDocumentUpload","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interviewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/tree":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Landscape Tree","operationId":"getProcessMappingLandscapeTree","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"root","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/landscape":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Landscape","operationId":"getProcessMappingLandscape","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"root","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/landscape/initial":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Landscape Initial Payload","operationId":"getProcessMappingLandscapeInitial","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/landscape/people":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Landscape People","operationId":"listProcessMappingLandscapePeopleView","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/landscape/processes/{processId}/people/{userId}/interviews":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Landscape Person Interviews","operationId":"listProcessMappingLandscapePersonInterviews","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"processId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/access":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Landscape Access","operationId":"getProcessMappingLandscapeAccess","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/nodes":{"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Landscape Node","operationId":"createProcessMappingLandscapeNode","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/nodes/{nodeId}":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Landscape Node","operationId":"getProcessMappingLandscapeNode","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Landscape Node","operationId":"updateProcessMappingLandscapeNode","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["ProcessMapping"],"summary":"Delete Process Mapping Landscape Node","operationId":"deleteProcessMappingLandscapeNode","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"nodeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/process-links/{process_link_id}":{"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Process Link","operationId":"updateProcessMappingProcessLink","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"process_link_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["ProcessMapping"],"summary":"Delete Process Mapping Process Link","operationId":"deleteProcessMappingProcessLink","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"process_link_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"204":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/hierarchy/proposed-processes":{"post":{"tags":["ProcessMapping"],"summary":"Propose Process Mapping Landscape Process","operationId":"proposeProcessMappingLandscapeProcess","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","nullable":true,"maxLength":5000},"parentId":{"type":"string","format":"uuid","nullable":true,"default":null},"teamId":{"type":"string","format":"uuid","nullable":true,"default":null},"ownerLabel":{"type":"string","nullable":true,"maxLength":200},"materializationMode":{"type":"string","enum":["auto","proposal"],"description":"Use \"proposal\" to record a process owned by `teamId` for review without creating a real process record; `teamId` is then required and an equivalent live proposal under the same parent is returned untouched. Defaults to \"auto\", which creates a real process when `teamId` is set."}},"required":["name"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/process-labels/{labelId}":{"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Process Label","operationId":"updateProcessMappingProcessLabel","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"labelId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["ProcessMapping"],"summary":"Delete Process Mapping Process Label","operationId":"deleteProcessMappingProcessLabel","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"labelId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"204":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/processes":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Organization Processes","operationId":"listProcessMappingOrganizationProcesses","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"statuses","in":"query","required":false,"schema":{"type":"string"}},{"name":"teamId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/processes/summary":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Organization Process Summary","operationId":"getProcessMappingOrganizationProcessSummary","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/organizations/{orgId}/process-mapping/processes/{processId}/captures/{captureId}/usability":{"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Organization Capture Usability","operationId":"updateProcessMappingOrganizationCaptureUsability","security":[{"bearerAuth":[]}],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"processId","in":"path","required":true,"schema":{"type":"string"}},{"name":"captureId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Process","operationId":"getProcessMappingProcess","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/captures/{capture_id}":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Capture","operationId":"getProcessMappingCapture","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"capture_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/artifact-chat/conversations":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Artifact Chat Conversations","operationId":"listProcessMappingArtifactChatConversations","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/artifact-chat/messages":{"post":{"tags":["ProcessMapping"],"summary":"Send Process Mapping Artifact Chat Message","operationId":"sendProcessMappingArtifactChatMessage","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/artifact-imports/create-upload-url":{"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Artifact Import Upload URL","operationId":"createProcessMappingArtifactImportUploadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/artifact-imports/{import_id}/content":{"put":{"tags":["ProcessMapping"],"summary":"Upload Process Mapping Artifact Import Content","operationId":"uploadProcessMappingArtifactImportContent","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"import_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/automation":{"post":{"tags":["ProcessMapping"],"summary":"Build Process Mapping Automation","operationId":"buildProcessMappingAutomation","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","default":{},"properties":{"transformation_proposal_id":{"type":"string","format":"uuid","description":"Automation-proposal snapshot to build the automation from. Defaults to the process's live proposal."}},"additionalProperties":false}}}},"responses":{"202":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/invite-link":{"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Process Invite Link","operationId":"createProcessMappingProcessInviteLink","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/postprocess":{"post":{"tags":["ProcessMapping"],"summary":"Postprocess Process Mapping Snapshot","operationId":"postprocessProcessMappingSnapshot","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"202":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-v2/processes/{process_id}/snapshots/current_process/{snapshot_id}/step-frames":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Step Frames","operationId":"getProcessMappingStepFrames","security":[{"bearerAuth":[]}],"parameters":[{"name":"process_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"step_ids","in":"query","required":false,"schema":{"type":"string"}},{"name":"window","in":"query","required":false,"schema":{"type":"string"}},{"name":"size","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/labels":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Process Labels","operationId":"listProcessMappingProcessLabelsForProcess","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/labels/assign":{"post":{"tags":["ProcessMapping"],"summary":"Assign Process Mapping Process Label","operationId":"assignProcessMappingProcessLabel","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping/processes/{id}/labels/unlink":{"post":{"tags":["ProcessMapping"],"summary":"Unlink Process Mapping Process Label","operationId":"unlinkProcessMappingProcessLabel","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/processes":{"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Process","operationId":"createProcessMappingProcess","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/processes/landscape-groups":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Landscape Groups","operationId":"listProcessMappingLandscapeGroups","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/process-landscape":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Team Landscape","operationId":"getProcessMappingTeamLandscape","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/process-landscape/presence":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Team Landscape Presence","operationId":"getProcessMappingTeamLandscapePresence","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/process-mapping-export/{id}":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Export","operationId":"getProcessMappingExport","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping-export/active":{"get":{"tags":["ProcessMapping"],"summary":"List Active Process Mapping Exports","operationId":"listActiveProcessMappingExports","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping-export":{"post":{"tags":["ProcessMapping"],"summary":"Start Process Mapping Export","operationId":"startProcessMappingExport","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"202":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/folders":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Folders","operationId":"listProcessMappingFolders","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Folder","operationId":"createProcessMappingFolder","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/folders/{folderId}":{"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Folder","operationId":"updateProcessMappingFolder","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"folderId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["ProcessMapping"],"summary":"Delete Process Mapping Folder","operationId":"deleteProcessMappingFolder","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"folderId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/folders/reorder":{"post":{"tags":["ProcessMapping"],"summary":"Reorder Process Mapping Folders","operationId":"reorderProcessMappingFolders","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/folders/setup-from-landscape":{"post":{"tags":["ProcessMapping"],"summary":"Setup Process Mapping Folders From Landscape","operationId":"setupProcessMappingFoldersFromLandscape","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/folders/move-processes":{"post":{"tags":["ProcessMapping"],"summary":"Move Process Mapping Processes To Folder","operationId":"moveProcessMappingProcessesToFolder","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/folders/file-suggested":{"post":{"tags":["ProcessMapping"],"summary":"File Suggested Process Mapping Processes","operationId":"fileSuggestedProcessMappingProcesses","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/interviews":{"get":{"tags":["ProcessMapping"],"summary":"List Process Mapping Team Interviews","operationId":"listProcessMappingTeamInterviews","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/interviews/{interviewId}":{"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Team Interview","operationId":"updateProcessMappingTeamInterview","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interviewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["ProcessMapping"],"summary":"Delete Process Mapping Team Interview","operationId":"deleteProcessMappingTeamInterview","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interviewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"204":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/interviews/{interviewId}/finalize":{"post":{"tags":["ProcessMapping"],"summary":"Finalize Process Mapping Team Interview","operationId":"finalizeProcessMappingTeamInterview","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interviewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/interviews/document/create-upload-url":{"post":{"tags":["ProcessMapping"],"summary":"Create Process Mapping Team Document Upload URL","operationId":"createProcessMappingTeamDocumentUploadUrl","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/interviews/document/{interviewId}/complete":{"post":{"tags":["ProcessMapping"],"summary":"Complete Process Mapping Team Document Upload","operationId":"completeProcessMappingTeamDocumentUpload","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"interviewId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/team-settings":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Team Settings","operationId":"getProcessMappingTeamSettings","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["ProcessMapping"],"summary":"Update Process Mapping Team Settings","operationId":"updateProcessMappingTeamSettings","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/portfolio-intelligence":{"get":{"tags":["ProcessMapping"],"summary":"Get Process Mapping Portfolio Intelligence","operationId":"getProcessMappingPortfolioIntelligence","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/process-mapping/portfolio-intelligence/generate":{"post":{"tags":["ProcessMapping"],"summary":"Generate Process Mapping Portfolio Intelligence","operationId":"generateProcessMappingPortfolioIntelligence","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"202":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations":{"get":{"tags":["Automations"],"summary":"List Automations","operationId":"listAutomations","security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}":{"get":{"tags":["Automations"],"summary":"Get Automation","operationId":"getAutomation","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["Automations"],"summary":"Rename Automation","operationId":"updateAutomation","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/current":{"get":{"tags":["Automations"],"summary":"Get Automation Current Setup","operationId":"getAutomationCurrent","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/current/flow":{"get":{"tags":["Automations"],"summary":"Get Automation Current Flow","operationId":"getAutomationCurrentFlow","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/automations":{"get":{"tags":["Automations"],"summary":"List Team Automations","operationId":"listTeamAutomations","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Automations"],"summary":"Create Automation","operationId":"createAutomation","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/duplicate":{"post":{"tags":["Agents"],"summary":"Duplicate Agent","operationId":"duplicateAgent","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/duplicate":{"post":{"tags":["Automations"],"summary":"Duplicate Automation","operationId":"duplicateAutomation","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/agents/{agent_id}":{"post":{"tags":["Automations"],"summary":"Add Automation Agent","operationId":"addAutomationAgent","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Automations"],"summary":"Remove Automation Agent","operationId":"removeAutomationAgent","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/queues/{case_queue_id}":{"post":{"tags":["Automations"],"summary":"Add Automation Queue","operationId":"addAutomationQueue","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Automations"],"summary":"Remove Automation Queue","operationId":"removeAutomationQueue","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"case_queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/tabs":{"get":{"tags":["Automations"],"summary":"Get Automation Tabs","operationId":"getAutomationTabs","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["Automations"],"summary":"Update Automation Tabs","operationId":"updateAutomationTabs","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-fields":{"get":{"tags":["Automations"],"summary":"List Automation Config Fields","operationId":"listAutomationConfigFields","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include_hidden","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Automations"],"summary":"Add Config Field","operationId":"addConfigField","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":200,"description":"Short name for the field, shown as its row heading"},"key":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9][a-z0-9_]*$","description":"Optional key; by default custom_ plus the label in snake_case"},"question":{"type":"string","minLength":1,"maxLength":2000,"description":"The setup question asked for this field"},"type":{"type":"string","enum":["freeText","identifier","number","select","multiSelect","list","orderedList","personList","table"]},"section":{"type":"string","nullable":true,"minLength":1,"maxLength":200,"description":"Section to add the field to, or null for none"},"required":{"type":"boolean","description":"Whether the field must be filled"},"fill_mode":{"type":"string","enum":["interview","setup"],"description":"How the field is filled"},"options":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"description":"Required for select and multiSelect, refused otherwise"},"columns":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"description":"Required for table, refused otherwise"},"bindings":{"type":"array","items":{"type":"string","enum":["context","tool"]},"description":"How the value reaches the automation"}},"required":["label","question","type"]}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-fields/{field_id}/definition":{"patch":{"tags":["Automations"],"summary":"Update Config Field Definition","operationId":"updateConfigFieldDefinition","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"field_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":200},"key":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9][a-z0-9_]*$"},"question":{"type":"string","minLength":1,"maxLength":2000,"description":"A reworded question gets a new version"},"section":{"type":"string","nullable":true,"minLength":1,"maxLength":200,"description":"Section to move the field to the end of"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"description":"Select and multiSelect fields only; replaces the whole list"},"columns":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"description":"Table fields only, while the field has no answer"},"type":{"type":"string","enum":["freeText","identifier","number","select","multiSelect","list","orderedList","personList","table"],"description":"Only for an added field that has no answer yet"}}}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-fields/{field_id}/hide":{"post":{"tags":["Automations"],"summary":"Hide Config Field","operationId":"hideConfigField","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"field_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-fields/{field_id}/restore":{"post":{"tags":["Automations"],"summary":"Restore Config Field","operationId":"restoreConfigField","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"field_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-sections":{"get":{"tags":["Automations"],"summary":"List Config Sections","operationId":"listConfigSections","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Automations"],"summary":"Add Config Section","operationId":"addConfigSection","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"The section heading, unique within the automation ignoring case"},"after_key":{"type":"string","minLength":1,"maxLength":120,"description":"Key of the section to place the new one right after; omitted, it goes last"}},"required":["name"]}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-sections/order":{"put":{"tags":["Automations"],"summary":"Reorder Config Sections","operationId":"reorderConfigSections","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"keys":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"description":"Every section key of the automation exactly once, in the new display order"}},"required":["keys"]}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-sections/{section_key}":{"patch":{"tags":["Automations"],"summary":"Rename Config Section","operationId":"renameConfigSection","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"section_key","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Automations"],"summary":"Remove Config Section","operationId":"removeConfigSection","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"section_key","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-fields/{field_id}":{"patch":{"tags":["Automations"],"summary":"Update Automation Config Field","operationId":"updateAutomationConfigField","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"field_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/entrypoint-runs":{"get":{"tags":["Automations"],"summary":"List Automation Entrypoint Runs","operationId":"listAutomationEntrypointRuns","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/runs/{run_id}/automation-run-chain":{"get":{"tags":["Automations"],"summary":"Get Automation Run Chain","operationId":"getAutomationRunChain","security":[{"bearerAuth":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions":{"get":{"tags":["Automation Revisions"],"summary":"List Automation Revisions","operationId":"listAutomationRevisions","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Automation Revisions"],"summary":"Create Automation Revision","operationId":"createAutomationRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}":{"get":{"tags":["Automation Revisions"],"summary":"Get Automation Revision","operationId":"getAutomationRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Automation Revisions"],"summary":"Delete Automation Revision","operationId":"deleteAutomationRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/flow":{"get":{"tags":["Automation Revisions"],"summary":"Get Automation Revision Flow","operationId":"getAutomationRevisionFlow","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/activate":{"post":{"tags":["Automation Revisions"],"summary":"Activate Automation Revision","operationId":"activateAutomationRevision","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/generate-overview":{"post":{"tags":["Automations"],"summary":"Generate Automation Overview","operationId":"generateAutomationOverview","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/current/overview":{"patch":{"tags":["Automations"],"summary":"Update Automation Overview","operationId":"updateAutomationOverview","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/overview":{"patch":{"tags":["Automation Revisions"],"summary":"Update Automation Revision Overview","operationId":"updateAutomationRevisionOverview","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/suggest-revision-description":{"post":{"tags":["Automation Revisions"],"summary":"Suggest Automation Revision Description","operationId":"suggestAutomationRevisionDescription","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/agents":{"patch":{"tags":["Automation Revisions"],"summary":"Set Automation Revision Agent","operationId":"setAutomationRevisionAgent","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/agents/{agent_id}":{"delete":{"tags":["Automation Revisions"],"summary":"Remove Automation Revision Agent","operationId":"removeAutomationRevisionAgent","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/queues":{"patch":{"tags":["Automation Revisions"],"summary":"Set Automation Revision Queue","operationId":"setAutomationRevisionQueue","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/queues/{queue_id}":{"delete":{"tags":["Automation Revisions"],"summary":"Remove Automation Revision Queue","operationId":"removeAutomationRevisionQueue","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"queue_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/triggers":{"get":{"tags":["Automation Revisions"],"summary":"Get Automation Revision Triggers","operationId":"getAutomationRevisionTriggers","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["Automation Revisions"],"summary":"Set Automation Revision Triggers","operationId":"setAutomationRevisionTriggers","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/schedules":{"get":{"tags":["Automation Revisions"],"summary":"Get Automation Revision Schedules","operationId":"getAutomationRevisionSchedules","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["Automation Revisions"],"summary":"Set Automation Revision Schedules","operationId":"setAutomationRevisionSchedules","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/triggers/{trigger_id}/subscription":{"put":{"tags":["Automation Revisions"],"summary":"Set Automation Trigger Subscription","operationId":"setAutomationTriggerSubscription","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"trigger_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/revisions/{revision_id}/schedules/{schedule_id}/subscription":{"put":{"tags":["Automation Revisions"],"summary":"Set Automation Schedule Subscription","operationId":"setAutomationScheduleSubscription","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-interviews":{"get":{"tags":["Automation Policy"],"summary":"List Policy Interviews","operationId":"listAutomationConfigInterviews","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Automation Policy"],"summary":"Create Policy Interview","operationId":"createAutomationConfigInterview","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-interviews/{interview_id}/resend-invite":{"post":{"tags":["Automation Policy"],"summary":"Resend Policy Interview Invite","operationId":"resendAutomationConfigInterviewInvite","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"interview_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-interviews/{interview_id}/extract":{"post":{"tags":["Automation Policy"],"summary":"Retry Policy Answer Extraction","operationId":"retryAutomationConfigAnswerExtraction","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"interview_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-interviews/{interview_id}/transcript":{"get":{"tags":["Automation Policy"],"summary":"Get Policy Interview Transcript","operationId":"getAutomationConfigInterviewTranscript","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"interview_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-proposals":{"get":{"tags":["Automation Policy"],"summary":"List Policy Proposals","operationId":"listAutomationConfigProposals","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-proposals/{proposal_id}":{"post":{"tags":["Automation Policy"],"summary":"Resolve Policy Proposal","operationId":"resolveAutomationConfigProposal","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-context-proposals":{"get":{"tags":["Automation Policy"],"summary":"List Policy Context Notes","operationId":"listAutomationConfigContextNotes","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Automation Policy"],"summary":"Create Policy Context Note","operationId":"createAutomationConfigContextNote","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-context-proposals/{note_id}":{"post":{"tags":["Automation Policy"],"summary":"Resolve Policy Context Note","operationId":"resolveAutomationConfigContextNote","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-apply":{"get":{"tags":["Automation Policy"],"summary":"Get Policy Apply Status","operationId":"getAutomationConfigApplyStatus","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Automation Policy"],"summary":"Record Policy Application","operationId":"recordAutomationConfigApplication","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-activity":{"get":{"tags":["Automation Policy"],"summary":"List Policy Activity","operationId":"listAutomationConfigActivity","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"schema":{"type":"string"}},{"name":"kinds","in":"query","required":false,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-fields/install":{"post":{"tags":["Automation Policy"],"summary":"Install Policy Questions","operationId":"installAutomationConfigFields","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/module-process":{"get":{"tags":["Automation Policy"],"summary":"Get Automation Module Process","operationId":"getAutomationModuleProcess","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Automation Policy"],"summary":"Ensure Automation Module Process","operationId":"ensureAutomationModuleProcess","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/automations/{automation_id}/config-fields/{field_id}/events":{"get":{"tags":["Automation Policy"],"summary":"List Policy Field Events","operationId":"listAutomationConfigFieldEvents","security":[{"bearerAuth":[]}],"parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"field_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/assignments/{agent_id}/revisions/{build_id}/policy-fields":{"get":{"tags":["Automation Policy"],"summary":"Get Build Policy Fields","operationId":"getBuildPolicyFields","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"build_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["Automation Policy"],"summary":"Set Build Policy Fields","operationId":"setBuildPolicyFields","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"build_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/notifications":{"get":{"tags":["Notifications"],"summary":"List Notifications","operationId":"listNotifications","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"unread","in":"query","required":false,"schema":{"type":"string"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string"}},{"name":"minSeverity","in":"query","required":false,"schema":{"type":"string"}},{"name":"important","in":"query","required":false,"schema":{"type":"string"}},{"name":"agentRunId","in":"query","required":false,"schema":{"type":"string"}},{"name":"processId","in":"query","required":false,"schema":{"type":"string"}},{"name":"batchId","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Notifications"],"summary":"Delete All Notifications","operationId":"deleteAllNotifications","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/notifications/feed":{"get":{"tags":["Notifications"],"summary":"Get Notification Feed","operationId":"getNotificationFeed","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"unread","in":"query","required":false,"schema":{"type":"string"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string"}},{"name":"minSeverity","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/notifications/counts":{"get":{"tags":["Notifications"],"summary":"Get Notification Counts","operationId":"getNotificationCounts","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"unread","in":"query","required":false,"schema":{"type":"string"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string"}},{"name":"minSeverity","in":"query","required":false,"schema":{"type":"string"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/notifications/unread-count":{"get":{"tags":["Notifications"],"summary":"Get Unread Notification Count","operationId":"getUnreadNotificationCount","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/notifications/batches/{id}":{"get":{"tags":["Notifications"],"summary":"Get Notification Batch","operationId":"getNotificationBatch","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string"}},{"name":"minSeverity","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/notifications/batches/{id}/read":{"post":{"tags":["Notifications"],"summary":"Mark Notification Batch Read","operationId":"markNotificationBatchRead","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/notifications/mark-all-read":{"post":{"tags":["Notifications"],"summary":"Mark All Notifications Read","operationId":"markAllNotificationsRead","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/notifications/read":{"delete":{"tags":["Notifications"],"summary":"Delete Read Notifications","operationId":"deleteReadNotifications","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/notifications/{id}":{"get":{"tags":["Notifications"],"summary":"Get Notification","operationId":"getNotification","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/notifications/{id}/read":{"patch":{"tags":["Notifications"],"summary":"Mark Notification Read","operationId":"markNotificationRead","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/notifications/{id}/dismiss":{"patch":{"tags":["Notifications"],"summary":"Dismiss Notification","operationId":"dismissNotification","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/invites":{"get":{"tags":["Invites"],"summary":"List Team Invites","operationId":"listTeamInvites","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"processId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Invites"],"summary":"Create Team Invite","operationId":"createTeamInvite","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/invites/bulk":{"post":{"tags":["Invites"],"summary":"Bulk Create Team Invites","operationId":"bulkCreateTeamInvites","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/invites/{id}":{"patch":{"tags":["Invites"],"summary":"Update Team Invite","operationId":"updateTeamInvite","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Invites"],"summary":"Delete Team Invite","operationId":"deleteTeamInvite","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/invites/{id}/send-email":{"post":{"tags":["Invites"],"summary":"Send Team Invite Email","operationId":"sendTeamInviteEmail","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/teams/{teamId}/team-invite-link":{"get":{"tags":["Invites"],"summary":"Get Team Invite Link","operationId":"getTeamInviteLink","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"frontendUrl","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Invites"],"summary":"Create Team Invite Link","operationId":"createTeamInviteLink","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Invites"],"summary":"Delete Team Invite Link","operationId":"deleteTeamInviteLink","security":[{"bearerAuth":[]}],"parameters":[{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"204":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/slack-triggers":{"get":{"tags":["Triggers"],"summary":"List Slack Channel Triggers","operationId":"listAgentSlackTriggers","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["Triggers"],"summary":"Create Slack Channel Trigger","operationId":"createAgentSlackTrigger","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/slack-triggers/{trigger_id}":{"patch":{"tags":["Triggers"],"summary":"Update Slack Channel Trigger","operationId":"updateSlackTrigger","security":[{"bearerAuth":[]}],"parameters":[{"name":"trigger_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["Triggers"],"summary":"Delete Slack Channel Trigger","operationId":"deleteSlackTrigger","security":[{"bearerAuth":[]}],"parameters":[{"name":"trigger_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v2/agents/{agent_id}/builds/{build_id}/slack-bound-workspaces":{"get":{"tags":["Triggers"],"summary":"List Slack Workspaces Bound To An Agent","operationId":"listAgentSlackBoundWorkspaces","security":[{"bearerAuth":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"build_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Workspace-issued bearer credentials or enterprise OAuth client credentials."}},"schemas":{"Error":{"type":"object","additionalProperties":false,"required":["error"],"properties":{"error":{"type":"string"},"message":{"type":"string"}}}},"responses":{"Error":{"description":"Error","headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Request limit for the current window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests remaining in the current window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets."},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying a rate-limited request."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Replay-safe key for mutating JSON requests. Stored 2xx and 4xx responses are replayed for 24 hours."}}},"x-capture-omissions":["GET /v2/mcp: this repo registers POST /v2/mcp only."]}