Skip to content
getgeolens.com

Get Job Status

GET
/jobs/{job_id}
curl --request GET \
--url https://example.com/jobs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Get the status of an ingestion job.

Only the job creator or an admin can view job status.

job_id
required
Job Id
string format: uuid

Successful Response

Media type application/json
JobStatusResponse
object
id
required
Id
string format: uuid
status
required
Status
string
Allowed values: pending running complete failed cancelled fanned_out
dataset_id
required
Any of:
string format: uuid
source_filename
required
Any of:
string
error_message
required
Any of:
string
can_retry
required
Can Retry
boolean
retry_reason
required
Any of:
string
warning_message
Any of:
string
warnings
Warnings
Array
One of: discriminator: kind
ReservedRenameWarning
object
kind
required
Kind
string
Allowed value: reserved_rename
details
required
Details
Array<object>
ReservedRenameDetail
object
original
required
Original
string
renamed
required
Renamed
string
progress
Any of:
number
<= 1
current_step
Any of:
string
Allowed values: queued validating ogr2ogr finalize complete cog_convert quicklook analyzing registering
rows_processed
Any of:
integer
rows_failed
Any of:
integer
archive_failed
Archive Failed
boolean
temporal_parse_errors
Temporal Parse Errors
object
key
additional properties
string
started_at
required
Any of:
string format: date-time
completed_at
required
Any of:
string format: date-time
created_at
required
Created At
string format: date-time
Example
{
"status": "pending",
"warnings": [
{
"kind": "reserved_rename"
}
],
"current_step": "queued",
"archive_failed": false
}

Bad request — invalid query parameters or payload

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

Not found

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

Validation error

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