{"openapi":"3.1.0","info":{"title":"SignalCrane developer API","version":"1.0.0","description":"One credential is bound to one environment. Keep IDs and cursors opaque. List pages are live, not snapshots. Retry 429 and 503 after Retry-After with jitter; replay a mutation using its original key. Breaking changes require a new major path. Scheduled retirements are announced with a replacement path and deadline in the developer changelog; v1 has no scheduled retirement."},"externalDocs":{"url":"/developers/api","description":"API reference and examples"},"x-version-lifecycle":{"status":"active","changelog":"/developers/changelog","sunset":null},"servers":[{"url":"/api/v1"}],"security":[{"bearer":[]}],"paths":{"/whoami":{"get":{"operationId":"getIdentity","description":"Inspect the current environment, permissions and expiration.","x-required-scope":"any","parameters":[],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Identity"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/auth/exchange":{"post":{"operationId":"exchangeCiCredential","description":"Exchange the environment bootstrap for a session valid for up to 15 minutes. Parent revocation immediately invalidates all sessions.","x-required-scope":"CI bootstrap only","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Session"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/openapi.json":{"get":{"operationId":"getOpenApi","security":[],"responses":{"200":{"description":"This OpenAPI 3.1 contract","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/checks":{"get":{"operationId":"listChecks","description":"List native resources, including UI-owned resources.","x-required-scope":"config:read","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Checks"}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"post":{"operationId":"createChecks","description":"Create a Git-owned resource.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/ChecksSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Checks"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/checks/{id}":{"get":{"operationId":"getChecks","description":"Read live and desired settings and their current revision.","x-required-scope":"config:read","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Checks"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"put":{"operationId":"updateChecks","description":"Replace the managed specification using the reviewed revision.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/ChecksSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Checks"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"delete":{"operationId":"releaseChecks","description":"Release Git ownership. Preserve native identity and evidence, pause a schedule or clear route hops when applicable.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Checks"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/checks/preview":{"post":{"operationId":"previewCreateChecks","description":"Validate a proposed creation with no persisted changes.","x-required-scope":"config:write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/ChecksSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preview"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/checks/{id}/preview":{"post":{"operationId":"previewUpdateChecks","description":"Validate effects, volume and changed fields with no persisted changes.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/ChecksSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preview"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/checks/{id}/adopt":{"post":{"operationId":"adoptChecks","description":"Adopt the live configuration using its native identity.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Checks"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/checks/{id}/revert":{"post":{"operationId":"revertChecks","description":"Restore a prior managed revision. Omit revision to restore its predecessor.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Checks"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/groups":{"get":{"operationId":"listGroups","description":"List native resources, including UI-owned resources.","x-required-scope":"config:read","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Groups"}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"post":{"operationId":"createGroups","description":"Create a Git-owned resource.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/GroupsSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Groups"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/groups/{id}":{"get":{"operationId":"getGroups","description":"Read live and desired settings and their current revision.","x-required-scope":"config:read","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Groups"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"put":{"operationId":"updateGroups","description":"Replace the managed specification using the reviewed revision.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/GroupsSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Groups"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"delete":{"operationId":"releaseGroups","description":"Release Git ownership. Preserve native identity and evidence, pause a schedule or clear route hops when applicable.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Groups"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/groups/preview":{"post":{"operationId":"previewCreateGroups","description":"Validate a proposed creation with no persisted changes.","x-required-scope":"config:write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/GroupsSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preview"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/groups/{id}/preview":{"post":{"operationId":"previewUpdateGroups","description":"Validate effects, volume and changed fields with no persisted changes.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/GroupsSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preview"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/groups/{id}/adopt":{"post":{"operationId":"adoptGroups","description":"Adopt the live configuration using its native identity.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Groups"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/groups/{id}/revert":{"post":{"operationId":"revertGroups","description":"Restore a prior managed revision. Omit revision to restore its predecessor.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Groups"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/schedules":{"get":{"operationId":"listSchedules","description":"List native resources, including UI-owned resources.","x-required-scope":"config:read","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Schedules"}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"post":{"operationId":"createSchedules","description":"Create a Git-owned resource.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/SchedulesSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Schedules"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/schedules/{id}":{"get":{"operationId":"getSchedules","description":"Read live and desired settings and their current revision.","x-required-scope":"config:read","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Schedules"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"put":{"operationId":"updateSchedules","description":"Replace the managed specification using the reviewed revision.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/SchedulesSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Schedules"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"delete":{"operationId":"releaseSchedules","description":"Release Git ownership. Preserve native identity and evidence, pause a schedule or clear route hops when applicable.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Schedules"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/schedules/preview":{"post":{"operationId":"previewCreateSchedules","description":"Validate a proposed creation with no persisted changes.","x-required-scope":"config:write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/SchedulesSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preview"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/schedules/{id}/preview":{"post":{"operationId":"previewUpdateSchedules","description":"Validate effects, volume and changed fields with no persisted changes.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/SchedulesSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preview"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/schedules/{id}/adopt":{"post":{"operationId":"adoptSchedules","description":"Adopt the live configuration using its native identity.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Schedules"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/schedules/{id}/revert":{"post":{"operationId":"revertSchedules","description":"Restore a prior managed revision. Omit revision to restore its predecessor.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Schedules"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/routes":{"get":{"operationId":"listRoutes","description":"List native resources, including UI-owned resources.","x-required-scope":"config:read","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Routes"}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"post":{"operationId":"createRoutes","description":"Create a Git-owned resource.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/RoutesSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Routes"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/routes/{id}":{"get":{"operationId":"getRoutes","description":"Read live and desired settings and their current revision.","x-required-scope":"config:read","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Routes"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"put":{"operationId":"updateRoutes","description":"Replace the managed specification using the reviewed revision.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/RoutesSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Routes"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"delete":{"operationId":"releaseRoutes","description":"Release Git ownership. Preserve native identity and evidence, pause a schedule or clear route hops when applicable.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Routes"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/routes/preview":{"post":{"operationId":"previewCreateRoutes","description":"Validate a proposed creation with no persisted changes.","x-required-scope":"config:write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/RoutesSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preview"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/routes/{id}/preview":{"post":{"operationId":"previewUpdateRoutes","description":"Validate effects, volume and changed fields with no persisted changes.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/RoutesSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preview"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/routes/{id}/adopt":{"post":{"operationId":"adoptRoutes","description":"Adopt the live configuration using its native identity.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Routes"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/routes/{id}/revert":{"post":{"operationId":"revertRoutes","description":"Restore a prior managed revision. Omit revision to restore its predecessor.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Routes"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/status-components":{"get":{"operationId":"listStatusComponents","description":"List native resources, including UI-owned resources.","x-required-scope":"config:read","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/StatusComponents"}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"post":{"operationId":"createStatusComponents","description":"Create a Git-owned resource.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/StatusComponentsSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StatusComponents"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/status-components/{id}":{"get":{"operationId":"getStatusComponents","description":"Read live and desired settings and their current revision.","x-required-scope":"config:read","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StatusComponents"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"put":{"operationId":"updateStatusComponents","description":"Replace the managed specification using the reviewed revision.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/StatusComponentsSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StatusComponents"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}},"delete":{"operationId":"releaseStatusComponents","description":"Release Git ownership. Preserve native identity and evidence, pause a schedule or clear route hops when applicable.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StatusComponents"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/status-components/preview":{"post":{"operationId":"previewCreateStatusComponents","description":"Validate a proposed creation with no persisted changes.","x-required-scope":"config:write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/StatusComponentsSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preview"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/status-components/{id}/preview":{"post":{"operationId":"previewUpdateStatusComponents","description":"Validate effects, volume and changed fields with no persisted changes.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"$ref":"#/components/schemas/StatusComponentsSpec"}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preview"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/status-components/{id}/adopt":{"post":{"operationId":"adoptStatusComponents","description":"Adopt the live configuration using its native identity.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StatusComponents"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/status-components/{id}/revert":{"post":{"operationId":"revertStatusComponents","description":"Restore a prior managed revision. Omit revision to restore its predecessor.","x-required-scope":"config:write","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/ifMatch"},{"$ref":"#/components/parameters/key"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Idempotency-Replayed":{"schema":{"type":"string","const":"true"},"description":"Historical success receipt. Read the resource by ID before treating its returned revision as current."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StatusComponents"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/runs":{"get":{"operationId":"listRuns","description":"List environment-scoped runs in UUID order.","x-required-scope":"runs:read","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/runs"}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/runs/{id}":{"get":{"operationId":"getRuns","description":"Retrieve one scoped runs record.","x-required-scope":"runs:read","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/runs"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/incidents":{"get":{"operationId":"listIncidents","description":"List environment-scoped incidents in UUID order.","x-required-scope":"incidents:read","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/incidents"}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/incidents/{id}":{"get":{"operationId":"getIncidents","description":"Retrieve one scoped incidents record.","x-required-scope":"incidents:read","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/incidents"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/evidence":{"get":{"operationId":"listEvidence","description":"List environment-scoped evidence in UUID order.","x-required-scope":"evidence:read","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/evidence"}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/evidence/{id}":{"get":{"operationId":"getEvidence","description":"Retrieve one scoped evidence record.","x-required-scope":"evidence:read","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/EvidenceDetail"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/exports":{"get":{"operationId":"listExports","description":"List environment-scoped exports in UUID order.","x-required-scope":"exports:read","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/exports"}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}},"/exports/{id}":{"get":{"operationId":"getExports","description":"Retrieve one scoped exports record.","x-required-scope":"exports:read","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ExportDetail"}},"required":["data"],"additionalProperties":false}}}},"400":{"$ref":"#/components/responses/Error400"},"401":{"$ref":"#/components/responses/Error401"},"403":{"$ref":"#/components/responses/Error403"},"404":{"$ref":"#/components/responses/Error404"},"405":{"$ref":"#/components/responses/Error405"},"409":{"$ref":"#/components/responses/Error409"},"412":{"$ref":"#/components/responses/Error412"},"413":{"$ref":"#/components/responses/Error413"},"415":{"$ref":"#/components/responses/Error415"},"422":{"$ref":"#/components/responses/Error422"},"428":{"$ref":"#/components/responses/Error428"},"429":{"$ref":"#/components/responses/Error429"},"503":{"$ref":"#/components/responses/Error503"}}}}},"components":{"schemas":{"Identity":{"type":"object","properties":{"environmentId":{"type":"string","format":"uuid"},"credentialFamilyId":{"type":"string","format":"uuid"},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":"string","format":"date-time"}},"required":["environmentId","credentialFamilyId","scopes","expiresAt"],"additionalProperties":false},"Session":{"type":"object","properties":{"environmentId":{"type":"string","format":"uuid"},"credentialFamilyId":{"type":"string","format":"uuid"},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":"string","format":"date-time"},"token":{"type":"string"}},"required":["environmentId","credentialFamilyId","scopes","expiresAt","token"],"additionalProperties":false},"Error":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid"},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":false}},"required":["requestId","error"],"additionalProperties":false},"Preview":{"type":"object","properties":{"action":{"type":"string","enum":["create","update","noop"]},"changes":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"before":{},"after":{}},"required":["field","before","after"],"additionalProperties":false}},"estimatedRequests30d":{"type":"integer"},"sideEffects":{"type":"array","items":{"type":"string"}},"revision":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}]}},"required":["action","changes","estimatedRequests30d","sideEffects","revision"],"additionalProperties":false},"runs":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environmentId":{"type":"string","format":"uuid"},"definitionId":{"type":"string","format":"uuid"},"revisionId":{"type":"string","format":"uuid"},"kind":{"type":"string"},"mode":{"type":"string"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}]},"region":{"type":"string"},"scheduledAt":{"type":"string","format":"date-time"},"outcome":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","environmentId","definitionId","revisionId","kind","mode","phase","region","scheduledAt","outcome"],"additionalProperties":false},"incidents":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environmentId":{"type":"string","format":"uuid"},"incidentId":{"type":"string","format":"uuid"},"generation":{"type":"integer"},"definitionId":{"type":"string","format":"uuid"},"kind":{"type":"string"},"domain":{"type":"string"},"state":{"type":"string"},"title":{"type":"string"},"openedAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer"}},"required":["id","environmentId","incidentId","generation","definitionId","kind","domain","state","title","openedAt","updatedAt","version"],"additionalProperties":false},"evidence":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environmentId":{"type":"string","format":"uuid"},"slotId":{"type":"string","format":"uuid"},"attemptId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"sourceId":{"type":"string","format":"uuid"},"observedAt":{"type":"string","format":"date-time"},"arrivedAt":{"type":"string","format":"date-time"},"retainUntil":{"type":"string","format":"date-time"},"retentionClass":{"type":"string"}},"required":["id","environmentId","slotId","attemptId","sourceId","observedAt","arrivedAt","retainUntil","retentionClass"],"additionalProperties":false},"exports":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environmentId":{"type":"string","format":"uuid"},"kind":{"const":"workflow-exceptions"},"revisionId":{"type":"string","format":"uuid"},"startsAt":{"type":"string","format":"date-time"},"cutoffAt":{"type":"string","format":"date-time"}},"required":["id","environmentId","kind","revisionId","startsAt","cutoffAt"],"additionalProperties":false},"EvidenceDetail":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environmentId":{"type":"string","format":"uuid"},"slotId":{"type":"string","format":"uuid"},"attemptId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"sourceId":{"type":"string","format":"uuid"},"observedAt":{"type":"string","format":"date-time"},"arrivedAt":{"type":"string","format":"date-time"},"retainUntil":{"type":"string","format":"date-time"},"retentionClass":{"type":"string"},"evidence":{"type":"object"},"corrections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"intervalStart":{"type":"string","format":"date-time"},"intervalEnd":{"type":"string","format":"date-time"},"recordedAt":{"type":"string","format":"date-time"},"evidence":{"type":"object"}},"required":["id","intervalStart","intervalEnd","recordedAt","evidence"],"additionalProperties":false}}},"required":["id","environmentId","slotId","attemptId","sourceId","observedAt","arrivedAt","retainUntil","retentionClass","evidence","corrections"],"additionalProperties":false},"ExportDetail":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environmentId":{"type":"string","format":"uuid"},"kind":{"const":"workflow-exceptions"},"revisionId":{"type":"string","format":"uuid"},"startsAt":{"type":"string","format":"date-time"},"cutoffAt":{"type":"string","format":"date-time"},"exceptions":{"type":"array","items":{"type":"object","properties":{"cohortId":{"type":"string","format":"uuid"},"itemId":{"type":"string","format":"uuid"},"observerEventId":{"type":"string","format":"uuid"},"reason":{"type":"string"},"approvedAt":{"type":"string","format":"date-time"},"approvedBy":{"type":"string","format":"uuid"}},"required":["cohortId","itemId","observerEventId","reason","approvedAt","approvedBy"],"additionalProperties":false}}},"required":["id","environmentId","kind","revisionId","startsAt","cutoffAt","exceptions"],"additionalProperties":false},"ChecksSpec":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"targetId":{"type":"string","format":"uuid"},"ownerRef":{"type":"string","minLength":1,"maxLength":120},"expectedStatus":{"type":"integer","minimum":200,"maximum":599},"deadlineMs":{"type":"integer","minimum":100,"maximum":10000},"method":{"type":"string","enum":["GET","HEAD"]},"bodyContains":{"anyOf":[{"type":"string","maxLength":256,"description":"GET only; maximum 256 UTF-8 bytes."},{"type":"null"}]},"maxLatencyMs":{"type":"integer","minimum":1,"maximum":10000,"description":"Must not exceed deadlineMs."},"secretReferenceId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["name","targetId","ownerRef","expectedStatus","deadlineMs"],"additionalProperties":false},"Checks":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environmentId":{"type":"string","format":"uuid"},"kind":{"const":"checks"},"ownership":{"type":"string","enum":["git","ui"]},"spec":{"$ref":"#/components/schemas/ChecksSpec"},"desiredSpec":{"anyOf":[{"$ref":"#/components/schemas/ChecksSpec"},{"type":"null"}]},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"drifted":{"type":"boolean"},"definitionRevisionId":{"type":"string","format":"uuid","readOnly":true,"description":"Native check revision used to bind an approved schedule."}},"required":["id","environmentId","kind","ownership","spec","desiredSpec","revision","drifted","definitionRevisionId"],"additionalProperties":false},"GroupsSpec":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"checkIds":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":100,"uniqueItems":true}},"required":["name","checkIds"],"additionalProperties":false},"Groups":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environmentId":{"type":"string","format":"uuid"},"kind":{"const":"groups"},"ownership":{"type":"string","enum":["git","ui"]},"spec":{"$ref":"#/components/schemas/GroupsSpec"},"desiredSpec":{"anyOf":[{"$ref":"#/components/schemas/GroupsSpec"},{"type":"null"}]},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"drifted":{"type":"boolean"}},"required":["id","environmentId","kind","ownership","spec","desiredSpec","revision","drifted"],"additionalProperties":false},"SchedulesSpec":{"type":"object","properties":{"definitionId":{"type":"string","format":"uuid"},"revisionId":{"type":"string","format":"uuid"},"enabled":{"type":"boolean"},"mode":{"type":"string","enum":["parallel","round_robin"]},"cadenceSeconds":{"type":"integer","minimum":60,"maximum":86400,"multipleOf":60},"regions":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,31}$"},"minItems":1,"maxItems":2,"uniqueItems":true},"approvedRequests":{"type":"integer","minimum":1,"description":"Must equal the current 30-day execution forecast."},"reserveRequests":{"type":"integer","minimum":0,"description":"Must not exceed approvedRequests."},"forecastVersion":{"const":1}},"required":["definitionId","revisionId","enabled","mode","cadenceSeconds","regions","approvedRequests","reserveRequests","forecastVersion"],"additionalProperties":false},"Schedules":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environmentId":{"type":"string","format":"uuid"},"kind":{"const":"schedules"},"ownership":{"type":"string","enum":["git","ui"]},"spec":{"$ref":"#/components/schemas/SchedulesSpec"},"desiredSpec":{"anyOf":[{"$ref":"#/components/schemas/SchedulesSpec"},{"type":"null"}]},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"drifted":{"type":"boolean"}},"required":["id","environmentId","kind","ownership","spec","desiredSpec","revision","drifted"],"additionalProperties":false},"RoutesSpec":{"type":"object","properties":{"hops":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["email","webhook","slack","pagerduty","discord","teams","valosend_email","valosend_push","valosend_sms","valosend_whatsapp"]},"binding":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,63}$"}},"required":["provider","binding"],"additionalProperties":false},"maxItems":4,"description":"Each binding can appear only once."},"escalateAfterSeconds":{"anyOf":[{"const":0},{"type":"integer","minimum":60,"maximum":86400}]}},"required":["hops","escalateAfterSeconds"],"additionalProperties":false},"Routes":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environmentId":{"type":"string","format":"uuid"},"kind":{"const":"routes"},"ownership":{"type":"string","enum":["git","ui"]},"spec":{"$ref":"#/components/schemas/RoutesSpec"},"desiredSpec":{"anyOf":[{"$ref":"#/components/schemas/RoutesSpec"},{"type":"null"}]},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"drifted":{"type":"boolean"}},"required":["id","environmentId","kind","ownership","spec","desiredSpec","revision","drifted"],"additionalProperties":false},"StatusComponentsSpec":{"type":"object","properties":{"pageId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":100},"position":{"type":"integer","minimum":0,"maximum":10000}},"required":["pageId","name","position"],"additionalProperties":false},"StatusComponents":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environmentId":{"type":"string","format":"uuid"},"kind":{"const":"status-components"},"ownership":{"type":"string","enum":["git","ui"]},"spec":{"$ref":"#/components/schemas/StatusComponentsSpec"},"desiredSpec":{"anyOf":[{"$ref":"#/components/schemas/StatusComponentsSpec"},{"type":"null"}]},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"drifted":{"type":"boolean"}},"required":["id","environmentId","kind","ownership","spec","desiredSpec","revision","drifted"],"additionalProperties":false}},"parameters":{"id":{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},"limit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},"cursor":{"name":"cursor","in":"query","schema":{"type":"string","format":"uuid"},"description":"Pass the last nextCursor for this collection and environment."},"ifMatch":{"name":"If-Match","in":"header","required":true,"schema":{"type":"string"},"description":"Copy the quoted ETag from the item response."},"key":{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9._:-]{8,128}$"},"description":"Same key, path, precondition and body return the original success for 24 hours within a credential family."}},"responses":{"Error400":{"description":"Invalid parameters or configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Error401":{"description":"Invalid, revoked or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Error403":{"description":"Insufficient scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Error404":{"description":"Unavailable resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Error405":{"description":"Unsupported method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Error409":{"description":"Idempotency, adoption or revision conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Error412":{"description":"Stale If-Match","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Error413":{"description":"Body exceeds 64 KiB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Error415":{"description":"Unsupported content type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Error422":{"description":"Configuration rejected: invalid_spec, invalid_reference or capacity_exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Error428":{"description":"Missing If-Match","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Error429":{"description":"Credential family exceeded 120 requests per UTC minute","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Wait at least this many seconds."}}},"Error503":{"description":"Temporarily unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Wait at least this many seconds."}}}},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Owner-issued scoped credential or short-lived CI session."}}}}