Skip to main content
GET
/
api
/
v1
/
ops
/
export-jobs
List Export Jobs
curl --request GET \
  --url https://api.example.com/api/v1/ops/export-jobs \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "exportJobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "exportScheduledId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "cooperativeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "requestedByUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "resource": "<string>",
      "columns": [
        "<string>"
      ],
      "filters": {},
      "fileKey": "<string>",
      "fileName": "<string>",
      "contentType": "<string>",
      "sizeBytes": 123,
      "totalRows": 123,
      "failureReason": "<string>",
      "expiresAt": "2023-11-07T05:31:56Z",
      "startedAt": "2023-11-07T05:31:56Z",
      "finishedAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 20,
    "total": 125,
    "totalPages": 7
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
number
default:10

Items per page

Required range: 1 <= x <= 100
Example:

10

page
number
default:1

Page number

Required range: x >= 1
Example:

1

resource
string

Resource key.

Example:

"order"

status
enum<string>

Export job status.

Available options:
PENDING,
QUEUED,
RUNNING,
COMPLETED,
FAILED,
EXPIRED,
CANCELED
sortBy
enum<string>
default:createdAt

Field to sort by

Available options:
createdAt,
finishedAt
Example:

"createdAt"

sortOrder
enum<string>
default:desc

Sort order

Available options:
asc,
desc
Example:

"desc"

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Response

OK

data
object[]
required
meta
object
required

Pagination metadata