[Go to site: main page, start]

API reference

Applications API

Applications and operations

HTTP reference. Generated from the backend contract. Browse endpoints below or download OpenAPI.

This group has 13 operations, generated from api/openapi.yaml. Filter by path, action, or authentication. Each endpoint lists its inputs; expand it for a request template and response codes. Templates need your own values and a schema-valid body.

Replace uppercase placeholders with your values. For a JSON request, save a body matching the schema in request.json. Cookie examples use a local cookie jar from an authenticated session.

Applications and operations

GET/api/applications

List Applications

Lists applications newest first, or with sort by name, update or creation, at most 500 per page; q searches names and IDs, published keeps the applications with a ready release or those without, use keeps those of one use, and ids keeps named ones. Names are labels and need not be unique; address an application by id.

The first page (a request without after) carries total, the applications under the same filters across all pages, and publication_counts, how many of those under the same q and ids are published and unpublished whatever published asks; with use, use_counts too. next_cursor is the position of the last returned row while more rows remain; pass it back as after, with the same q and sort, for the next page. next_cursor is null on the last page.

Authentication
projectBearer OR dashboardSession
Request body
none
Operation ID
listApplications

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
qqueryoptional

Keeps the applications whose name contains the text, ignoring case and read literally (no wildcards), and the application whose ID the text is. At most 100 characters without control characters, else invalid_request naming q. Without sort the list is in name order.

publishedqueryoptionaltrue keeps the applications that have a ready release (latest_ready_release is present), false those that have none. Anything but true or false is invalid_request naming published.
usequeryoptional

Keeps the applications of one use: active have a ready release and a playlist places them; inactive have a ready release, no playlist places them, and one placed them in the last 30 days or they were made in them; stale have a ready release and no playlist has placed them for 30 days (or, never placed, they were made before them); empty have no ready release.

When a playlist last placed an application is stamped hourly. With use the first page also carries use_counts. Anything else is invalid_request naming use.

idsqueryoptionalComma-separated application IDs, at most 200: keeps only those. Empty keeps none; an ID that names no application is absent from the answer. More than 200 is invalid_request naming ids.
sortqueryoptional

The order of the applications, each then by ID; a leading - reverses it. name orders by name, ignoring case and reading a run of digits as a number. updated is least recently updated first (-updated most recently first), created oldest first (-created newest first, the default). Omitted is newest first, or name when q is given.

Anything else is invalid_request naming sort.

afterqueryoptionalnext_cursor of the previous page of the same list, with the same filters and sort. Omitted starts the list. A cursor made under another sort, or a value that is not such a cursor, is invalid_request.
limitqueryoptionalPage size. Omitted is 500. A value outside 1-500 is invalid_request.
Request template and responses
shell · request template
curl --request GET --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --cookie cookies.txt --cookie-jar cookies.txt 'https://screenrig.ai/api/applications'

Responses

StatusMeaningBody and headers
200ApplicationsApplicationList (application/json)
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
POST/api/applications

Upload Application

Streams one CLI-produced tar.gz directly into bounded durable staging. Metadata is carried in headers so the archive is never base64-wrapped or materialized as JSON by the server.

The proxy in front of the API ends a request it has not answered within about 100 s, so a large archive on a slow uplink fails here; POST /api/applications/uploads sends the archive straight to the object store instead.

Authentication
projectBearer
Request body
string
Operation ID
uploadApplication

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
Idempotency-Keyheaderrequired
ScreenRig-Archive-SHA256headerrequired
ScreenRig-Expanded-Bytesheaderrequired
ScreenRig-File-Countheaderrequired
ScreenRig-SDK-Versionheaderoptional
ScreenRig-Application-Nameheaderoptional

ASCII application name; mutually exclusive with ScreenRig-Application-Name*. Leading and trailing whitespace is trimmed. Controls and duplicate header values are rejected. The decoded name is limited to 120 Unicode scalar values.

ScreenRig-Application-Name*headeroptional

Unicode application name encoded as RFC 8187 UTF-8'' followed by percent-encoded UTF-8 bytes (empty language, exact UTF-8 charset). Mutually exclusive with ScreenRig-Application-Name. Invalid escapes, invalid UTF-8, controls, and duplicate header values are rejected.

Leading and trailing whitespace is trimmed; the decoded name is limited to 120 Unicode scalar values. Neither name header may rename a release update. This avoids raw Unicode in HTTP header values.

ScreenRig-Application-ContextheaderoptionalA new application's context, base64url (padding optional) of its UTF-8 markdown text, at most 8 KiB decoded. Required as for every create; refused on a new release (the application keeps its context).
Request template and responses
shell · request template
curl --request POST --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --header 'Idempotency-Key: REQUEST_ID' --header 'ScreenRig-Archive-SHA256: VALUE' --header 'ScreenRig-Expanded-Bytes: VALUE' --header 'ScreenRig-File-Count: VALUE' --header 'Content-Type: application/gzip' --data-binary '@request.bin' 'https://screenrig.ai/api/applications'

Responses

StatusMeaningBody and headers
202Upload acceptedOperationAccepted (application/json); headers: RateLimit-Policy, RateLimit
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
GET/api/applications/{id}/releases

List Application Releases

Lists the releases of an application, newest accepted first: those being published, ready and failed. latest marks the newest ready release (latest_ready_release). placements counts the application primitives of the project's playlists that pin each release.

A release is kept while it is the latest, while a playlist, a pending review or a screen's live grant names it, and for 30 days after a newer release became ready (a failed one: after it failed); then it is removed and expires_at, absent while it is kept for one of those reasons, says when. actor or agent is who sent it, absent for a release whose sender is no longer recorded.

Pin a listed ready release everywhere with POST /api/applications/{id}/releases/{release_id}/use.

Authentication
projectBearer OR dashboardSession
Request body
none
Operation ID
listApplicationReleases

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
idpathrequired
cursorqueryoptionalThe next_cursor of the previous page.
limitqueryoptional
Request template and responses
shell · request template
curl --request GET --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --cookie cookies.txt --cookie-jar cookies.txt 'https://screenrig.ai/api/applications/RESOURCE_ID/releases'

Responses

StatusMeaningBody and headers
200One page of releases.ApplicationReleasePage (application/json)
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
POST/api/applications/{id}/releases

Upload Application Release

Publishes an immutable new release of an owned application using the same bounded tar.gz upload pipeline. If-Match guards the application revision; acceptance increments it, and successful publication increments it again when latest_ready_release changes. Name and application identity are preserved.

Existing playlist release pins are not changed; POST /api/applications/{id}/releases/{release_id}/use pins every placement to a release. An identical idempotent retry returns the original operation even after revision changes.

The proxy in front of the API ends a request it has not answered within about 100 s, so a large archive on a slow uplink fails here; POST /api/applications/{id}/uploads sends the archive straight to the object store instead.

Authentication
projectBearer
Request body
string
Operation ID
uploadApplicationRelease

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
idpathrequired
If-MatchheaderoptionalOptional positive resource revision. Omit to write the current resource; a supplied stale revision is revision_conflict.
Idempotency-Keyheaderrequired
ScreenRig-Archive-SHA256headerrequired
ScreenRig-Expanded-Bytesheaderrequired
ScreenRig-File-Countheaderrequired
ScreenRig-SDK-Versionheaderoptional
Request template and responses
shell · request template
curl --request POST --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --header 'Idempotency-Key: REQUEST_ID' --header 'ScreenRig-Archive-SHA256: VALUE' --header 'ScreenRig-Expanded-Bytes: VALUE' --header 'ScreenRig-File-Count: VALUE' --header 'Content-Type: application/gzip' --data-binary '@request.bin' 'https://api.screenrig.ai/api/applications/RESOURCE_ID/releases'

Responses

StatusMeaningBody and headers
202Upload acceptedOperationAccepted (application/json); headers: RateLimit-Policy, RateLimit
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
POST/api/applications/{id}/releases/{release_id}/use

Use Application Release

Pins every placement of the application to one of its ready releases: each application primitive of the project's playlists that pins another release (temporary playlists excepted) moves to release_id, one playlist write each, so the screens that show those playlists converge on it.

It rolls an application back to an earlier release, or forward to the latest, without editing each playlist. With dry_run nothing is written and every playlist answers would_change.

Otherwise each playlist answers applied (with its new revision), unchanged (already pinned) or refused with the problem a write of that playlist would answer, such as an unapproved playlist, a template without playlist templates in the plan, or params that differ from another primitive pinning the release in that playlist.

Playlists are written one at a time, so a refusal leaves the others applied; send the request again to retry, which skips what is already pinned. A credential that proposes cannot apply it (forbidden), and from the dashboard only the owner or a member who can approve can.

A release that is not ready is resource_conflict; one of another application is not_found.

Authentication
projectBearer OR dashboardSession
Request body
object
Operation ID
useApplicationRelease

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
idpathrequired
release_idpathrequired
Idempotency-KeyheaderoptionalOmit for a fresh operation. Supply and reuse a key to deduplicate retries; the CLI manages keys automatically.

Request body fields

FieldDescription
dry_run (optional, boolean)Answer what would change without writing. default: false
Request template and responses
shell · request template
curl --request POST --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --cookie cookies.txt --cookie-jar cookies.txt --header 'Content-Type: application/json' --data '@request.json' 'https://screenrig.ai/api/applications/RESOURCE_ID/releases/RELEASE_ID/use'

Responses

StatusMeaningBody and headers
200What changed, or would change, in each playlist.ApplicationReleaseUse (application/json)
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
POST/api/applications/uploads

Create Application Upload

Declares a direct upload of one CLI-produced tar.gz that creates a new application. The answer is a signed authorization for exactly one object PUT of the archive, so the bytes go straight to the object store and never through the API, whose proxy ends a request it has not answered within about 100 s.

PUT the archive to upload_url, then commit with POST /api/applications/uploads/{id}/commit and wait on the operation. The application, its release and the receiving operation exist from this answer on, as after POST /api/applications. An upload not committed within 24 hours fails, and an application that never published a release is removed.

The same Idempotency-Key and body answer the same upload with a freshly signed URL. GET /api/capabilities sets features.application_direct_uploads where these routes are served. The dashboard uploads a web app this way too, after its browser prepares the archive as the CLI's app pack does.

Authentication
projectBearer OR dashboardSession
Request body
ApplicationUploadDeclaration
Operation ID
createApplicationUpload

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
Idempotency-Keyheaderrequired
project_idqueryoptionalRequired with dashboardSession: the project where the web app was queued. Must match the session's selected project, otherwise resource_conflict. Omitted with a project bearer.

Request body fields

FieldDescription
context (optional, string)

The new object's context: markdown saying what it is for, where it is used and how it stays current (at most 8 KiB). An MCP tool call without one is context_required; another agent's create without one is answered with a context_missing warning. maxLength: 8192

name (optional, string)

Name of a new application, trimmed; at most 120 Unicode characters and no controls. Omitted or empty selects a generated name. A release declaration (POST /api/applications/{id}/uploads) must not carry one. maxLength: 120

sha256 (required, string)SHA-256 of the archive bytes. pattern: "^[0-9a-f]{64}$"
compressed_bytes (required, integer)Size of the archive in bytes. minimum: 1 maximum: 104857600
expanded_bytes (required, integer)minimum: 1 maximum: 262144000
file_count (required, integer)minimum: 1 maximum: 5000
sdk_version (optional, string)maxLength: 64
Request template and responses
shell · request template
curl --request POST --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --cookie cookies.txt --cookie-jar cookies.txt --header 'Idempotency-Key: REQUEST_ID' --header 'Content-Type: application/json' --data '@request.json' 'https://api.screenrig.ai/api/applications/uploads'

Responses

StatusMeaningBody and headers
201Signed authorization for exactly one object PUT of the archive. Send the returned method and every returned header verbatim; the PUT must start before expires_at, two hours after the declaration.ApplicationUploadSession (application/json); headers: Cache-Control, RateLimit-Policy, RateLimit
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
POST/api/applications/{id}/uploads

Create Application Release Upload

Declares a direct upload of a new immutable release of an owned application, answered as POST /api/applications/uploads is. If-Match guards the application revision as on POST /api/applications/{id}/releases, and acceptance increments it. The body carries no name; a release keeps its application's name. Existing playlist release pins are not changed.

Authentication
projectBearer OR dashboardSession
Request body
ApplicationUploadDeclaration
Operation ID
createApplicationReleaseUpload

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
idpathrequired
If-MatchheaderoptionalOptional positive resource revision. Omit to write the current resource; a supplied stale revision is revision_conflict.
Idempotency-Keyheaderrequired
project_idqueryoptionalRequired with dashboardSession: the project where the web app was queued. Must match the session's selected project, otherwise resource_conflict. Omitted with a project bearer.

Request body fields

FieldDescription
context (optional, string)

The new object's context: markdown saying what it is for, where it is used and how it stays current (at most 8 KiB). An MCP tool call without one is context_required; another agent's create without one is answered with a context_missing warning. maxLength: 8192

name (optional, string)

Name of a new application, trimmed; at most 120 Unicode characters and no controls. Omitted or empty selects a generated name. A release declaration (POST /api/applications/{id}/uploads) must not carry one. maxLength: 120

sha256 (required, string)SHA-256 of the archive bytes. pattern: "^[0-9a-f]{64}$"
compressed_bytes (required, integer)Size of the archive in bytes. minimum: 1 maximum: 104857600
expanded_bytes (required, integer)minimum: 1 maximum: 262144000
file_count (required, integer)minimum: 1 maximum: 5000
sdk_version (optional, string)maxLength: 64
Request template and responses
shell · request template
curl --request POST --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --cookie cookies.txt --cookie-jar cookies.txt --header 'Idempotency-Key: REQUEST_ID' --header 'Content-Type: application/json' --data '@request.json' 'https://api.screenrig.ai/api/applications/RESOURCE_ID/uploads'

Responses

StatusMeaningBody and headers
201Signed authorization for exactly one object PUT of the archive. Send the returned method and every returned header verbatim; the PUT must start before expires_at, two hours after the declaration.ApplicationUploadSession (application/json); headers: Cache-Control, RateLimit-Policy, RateLimit
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
POST/api/applications/uploads/{id}/commit

Commit Application Upload

Commits a direct application upload once its PUT has finished. The server checks the staged archive against the declaration (its size and the SHA-256 checksum the object store took with the PUT), copies it into its own upload staging and queues publication.

Wait on the returned Operation with GET /api/operations/{id} until it is succeeded or failed, as after POST /api/applications. A commit before the PUT finished answers invalid_request and changes nothing, so it can be sent again; staged bytes that differ from the declaration fail the upload. A repeated commit answers the same operation.

Authentication
projectBearer OR dashboardSession
Request body
ApplicationUploadCommit
Operation ID
commitApplicationUpload

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
idpathrequired
Idempotency-Keyheaderrequired

Request body fields

FieldDescription
sha256 (required, string)pattern: "^[0-9a-f]{64}$"
compressed_bytes (required, integer)minimum: 1 maximum: 104857600
Request template and responses
shell · request template
curl --request POST --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --cookie cookies.txt --cookie-jar cookies.txt --header 'Idempotency-Key: REQUEST_ID' --header 'Content-Type: application/json' --data '@request.json' 'https://api.screenrig.ai/api/applications/uploads/RESOURCE_ID/commit'

Responses

StatusMeaningBody and headers
202The archive is staged and its publication is queued.Operation (application/json)
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
GET/api/applications/{id}

Get Application

Authentication
projectBearer OR dashboardSession
Request body
none
Operation ID
getApplication

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
idpathrequired
Request template and responses
shell · request template
curl --request GET --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --cookie cookies.txt --cookie-jar cookies.txt 'https://screenrig.ai/api/applications/RESOURCE_ID'

Responses

StatusMeaningBody and headers
200ApplicationApplication (application/json)
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
PATCH/api/applications/{id}

Rename Application

Changes the display name of an application owned by the authenticated project. Names are trimmed, contain 1 to 120 Unicode characters with no controls, and may repeat within a project. Application identity, releases, K/V data, and playlist release pins are preserved.

A changed name advances the application revision and emits application.updated; the same name is a no-op. If-Match optionally guards the revision. An identical idempotent retry returns the original response after subsequent metadata changes.

Authentication
projectBearer
Request body
ApplicationRename
Operation ID
renameApplication

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
idpathrequired
If-MatchheaderoptionalOptional positive resource revision. Omit to write the current resource; a supplied stale revision is revision_conflict.
Idempotency-KeyheaderoptionalOmit for a fresh operation. Supply and reuse a key to deduplicate retries; the CLI manages keys automatically.

Request body fields

FieldDescription
name (required, string)Display name after trimming; controls and empty names are rejected. minLength: 1 maxLength: 120
Request template and responses
shell · request template
curl --request PATCH --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --header 'Content-Type: application/json' --data '@request.json' 'https://screenrig.ai/api/applications/RESOURCE_ID'

Responses

StatusMeaningBody and headers
200Renamed application.Application (application/json); headers: ETag
412revision_conflict — If-Match is stale; the error's current_revision carries the current revision.Problem (application/problem+json)
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
DELETE/api/applications/{id}

Delete Application

Tombstones one application owned by the authenticated project and all of its releases. The project bearer is authoritative; an unknown or other-project id is not_found. If-Match guards the application revision. A live manifest reference blocks deletion with application_in_use; there is no force-delete path.

Authentication
projectBearer OR dashboardSession
Request body
none
Operation ID
deleteApplication

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
idpathrequired
If-MatchheaderoptionalOptional positive resource revision. Omit to write the current resource; a supplied stale revision is revision_conflict.
Idempotency-KeyheaderoptionalOmit for a fresh operation. Supply and reuse a key to deduplicate retries; the CLI manages keys automatically.
Request template and responses
shell · request template
curl --request DELETE --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --cookie cookies.txt --cookie-jar cookies.txt 'https://screenrig.ai/api/applications/RESOURCE_ID'

Responses

StatusMeaningBody and headers
204Application and releases tombstoned.no body
409application_in_use — a live manifest still references one of the application's releases.Problem (application/problem+json)
412revision_conflict — If-Match is stale; the error's current_revision carries the current revision.Problem (application/problem+json)
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
GET/api/operations/{id}

Get Operation

Authentication
projectBearer OR dashboardSession
Request body
none
Operation ID
getOperation

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
idpathrequired
Request template and responses
shell · request template
curl --request GET --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --cookie cookies.txt --cookie-jar cookies.txt 'https://screenrig.ai/api/operations/RESOURCE_ID'

Responses

StatusMeaningBody and headers
200OperationOperation (application/json)
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)
POST/api/operations/{id}/cancel

Cancel Operation

Authentication
projectBearer
Request body
none
Operation ID
cancelOperation

Parameters

NameSend inRequired?Description
ScreenRig-ProjectheaderoptionalDeprecated for one release. Must be consistent with the JWT projects grants; adds Deprecation and Warning headers. No token exchange.
idpathrequired
Idempotency-Keyheaderrequired
Request template and responses
shell · request template
curl --request POST --header 'Authorization: Bearer [SCREENRIG_TOKEN]' --header 'Idempotency-Key: REQUEST_ID' 'https://api.screenrig.ai/api/operations/RESOURCE_ID/cancel'

Responses

StatusMeaningBody and headers
200Cancelled durable operation. A current worker fence can no longer finalize it.Operation (application/json)
default

Stable RFC 9457 problem response. A 421 server_draining carries Retry-After of 1 second, a 500 not_ready or dependency_unavailable carries 5, and a 500 manifest_degraded carries 60, unless the handler set a more specific value.

Problem (application/problem+json)