DraftFilterDeveloper API

Developer reference

Pagination

Job list routes use cursor pagination:

text
GET /v1/score-jobs?limit=50
GET /v1/rewrite-jobs?limit=50

The default limit is 50. The minimum is 1 and the maximum is 100.

If nextCursor is a string, pass it back to the same endpoint with the same limit to fetch the next page. If nextCursor is null, there are no more items.

json
{
  "items": [
    {
      "jobId": "job_000502",
      "state": "succeeded",
      "createdAt": "2026-06-30T00:10:00Z",
      "updatedAt": "2026-06-30T00:12:00Z",
      "completedAt": "2026-06-30T00:12:00Z",
      "itemCount": 1,
      "inputBytes": 88,
      "resultSummary": {
        "succeededItems": 1,
        "failedItems": 0
      },
      "errorSummary": null
    }
  ],
  "nextCursor": "cur_v1_score_or_rewrite_page"
}

Cursors are scoped to the endpoint, API key, job kind, and bound limit. Reusing a cursor on a different endpoint, with a different key, or with a different limit returns 400 invalid_cursor.