Skip to content
getgeolens.com

List Admin Jobs

GET
/admin/jobs/
curl --request GET \
--url 'https://example.com/admin/jobs/?skip=0&limit=50' \
--header 'Authorization: Bearer <token>'

List all ingestion jobs with optional status/user/search filters (admin only).

status
Any of:
string
user_id
Any of:
string format: uuid
search
Any of:
string
skip
Skip
integer
0
limit
Limit
integer
default: 50 >= 1 <= 200

Successful Response

Media type application/json
AdminJobListResponse
object
jobs
required
Jobs

Page of ingestion jobs.

Array<object>
AdminJobResponse
object
can_retry
required
Can Retry

Whether the failed job can be retried with its retained source.

boolean
completed_at
required
Any of:
string format: date-time
created_at
required
Created At

Timestamp when the job was queued.

string format: date-time
created_by
required
Any of:
string format: uuid
dataset_id
required
Any of:
string format: uuid
error_message
required
Any of:
string
id
required
Id

Unique ingestion job identifier.

string format: uuid
retry_reason
required
Any of:
string
source_filename
required
Any of:
string
started_at
required
Any of:
string format: date-time
status
required
Status

Current job status: ‘pending’, ‘running’, ‘complete’, ‘failed’, or ‘cancelled’.

string
Allowed values: pending running complete failed cancelled fanned_out
user_metadata
required
Any of:
object
key
additional properties
any
username
required
Any of:
string
total
required
Total

Total number of jobs matching the query.

integer
Example
{
"jobs": [
{
"status": "pending"
}
]
}

Bad request — invalid query parameters or payload

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Unauthorized — missing or invalid credentials

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Forbidden — caller lacks access to this resource

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Not found

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Validation error

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Too many requests — retry after the advertised interval

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}
Retry-After
integer

Seconds until the request may be retried

Internal server error

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Service unavailable — the database could not serve the request

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}