Skip to content

Check the progress of a parcel image batch

GET
/api/public/v1/parcel-images/batches/{batch_id}/
curl --request GET \
--url https://app-api.landinsights.co/api/public/v1/parcel-images/batches/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/ \
--header 'Authorization: Bearer <token>'

Returns the batch’s status and how many of its images are pending, completed, and failed. The batch is completed once every image has either rendered or failed.

Returns 404 when the batch does not exist or belongs to another account.

Cost: free.

batch_id
required
string format: uuid

The batch_id returned when the batch was created.

Media type application/json

A batch of parcel images and how far along it is.

object
batch_id
required

Identifier of the batch.

string format: uuid
label
required

The name given when the batch was created, if any.

string
status
required

queued until rendering starts, processing while images are rendering, completed once every image has either rendered or failed.

  • queued - Queued
  • processing - Processing
  • completed - Completed
string
Allowed values: queued processing completed
total
required

Number of images in the batch.

integer
pending
required

Images not rendered yet.

integer
completed
required

Images rendered and ready to download.

integer
failed
required

Images that could not be rendered. These are not billed.

integer
tokens_used
required

Tokens billed for this batch so far.

integer
created_at
required

When the batch was submitted (ISO-8601).

string format: date-time
completed_at
required

When the batch finished (ISO-8601). Null until then.

string format: date-time
nullable
Example
{
"status": "queued"
}

Validation error.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

Missing or invalid credentials.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

A Pro subscription or higher API tier is required.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

Authenticated but not permitted.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

Resource not found.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

Rate limit exceeded.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

Internal error.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}