Skip to main content
GET
/
v1
/
cuts
List cuts
curl --request GET \
  --url https://roughy-api-staging.fly.dev/v1/cuts \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "script": "<string>",
      "error_code": "<string>",
      "error_message": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "started_at": "2023-11-07T05:31:56Z",
      "completed_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123,
  "limit": 123,
  "offset": 123
}

Authorizations

Authorization
string
header
required

Pass your API key as Authorization: Bearer sk_…. Mint a key from your dashboard's API-keys page.

Query Parameters

asset_id
string<uuid> | null

Restrict to one asset's cuts (1:N, newest first).

project_id
string<uuid> | null

Restrict to one project.

state
enum<string> | null

Filter by lifecycle state. Cut states reachable on the public API surface: a cut computes pendingprocessing and lands completed, or failed.

Available options:
pending,
processing,
completed,
failed
limit
integer
default:20

Maximum cuts to return (1-100). Default 20.

Required range: 1 <= x <= 100
offset
integer
default:0

Cuts to skip from the start. Default 0.

Required range: x >= 0

Response

One page of your cuts, newest first.

Paginated list of the caller's cuts, newest first.

items
CutResponse · object[]
required

Page of cuts, newest first.

total
integer
required

Total cuts matching the filter across all pages — not the size of items.

limit
integer
required

The limit echoed back from the request.

offset
integer
required

The offset echoed back from the request.