Developers

Search for documents

Dev

Jobs

Operations related to job creation and management

All endpoints require a JWT Bearer token in the Authorization header.

GET /v1/jobs

Get all jobs for the authenticated user

Retrieves all jobs associated with the authenticated user with optional filtering, sorting, and cursor-based pagination

Parameters

Name

In

Type

Required

Description

limit

query

integer

Yes

Number of items to return (1-100)

lastEvaluatedKey

query

string

No

Cursor for pagination - use the exact base64 token from the previous response to get the next page

jobType

query

string

No

Filter by job type

status

query

string (enum)

No

Filter by job status

resultType

query

string (enum)

No

Filter by result type

dateFrom

query

string

No

Filter jobs created from this timestamp (Unix timestamp in milliseconds)

dateTo

query

string

No

Filter jobs created until this timestamp (Unix timestamp in milliseconds)

sortBy

query

string (enum)

No

Sort field

sortOrder

query

string (enum)

No

Sort order

Responses

Status

Description

200

Successfully retrieved jobs

400

Bad request - Invalid query parameters

401

Unauthorized - Invalid or missing authentication

500

Internal server error

200 response schema

Field

Type

Required

Description

success

boolean

No


data

object

No


message

string

No


POST /v1/jobs

Create a new job

Creates a new job for the authenticated user

Request body (required)

Field

Type

Required

Description

jobType

string

Yes

The type of job to create

payload

object

Yes

The job payload data

Responses

Status

Description

201

Job created successfully

400

Bad request - Invalid input data

401

Unauthorized - Invalid or missing authentication

500

Internal server error

201 response schema

Field

Type

Required

Description

success

boolean

No


data

object

No


message

string

No


GET /v1/jobs/{jobId}

Get a specific job by ID

Retrieves a specific job by its ID. The job must belong to the authenticated user.

Parameters

Name

In

Type

Required

Description

jobId

path

string

Yes

The ID of the job to retrieve

Responses

Status

Description

200

Job retrieved successfully

401

Unauthorized - Invalid or missing authentication

404

Job not found or does not belong to the authenticated user

500

Internal server error

200 response schema

Field

Type

Required

Description

success

boolean

No


data

object

No


message

string

No