Skip to content
OpenGeocodeOpenGeocodeOpenGeocodeDownloads

Get a job's results

GET/jobs/{id}/results

Returns everything the job has written so far, then the rest as it is written, until the job stops.

id:string

The job’s id.

The results, in the job’s output format.

string

Example generated

example

X-Request-Id: optionalstring

ID the request is logged under: the request’s own X-Request-Id when it sent one. Include it in bug reports.

<= 128 characters

No job has this id, or it expired.

application/problem+json

Problem

Error response, an RFC 9457 problem document.

detail: optionalstring

Human-readable explanation. Absent on 500 errors.

error_code:string

Stable error code. Branch on this.

Allowed values:invalid_queryinvalid_coordinatelimit_too_largemalformed_parametermalformed_bodynot_foundmethod_not_allowedtoo_many_itemsbody_too_largeunsupported_media_typeinternal_errorbusytimeoutpack_outdated

invalid_params: optionalArray<object>

Rejected parameters. Present only when the error is about parameters.

A rejected parameter.

Properties

name:string

Parameter name.

reason:string

Why it was rejected.

request_id: optionalstring

ID the request is logged under. Include it in bug reports.

status:integerformat: int32

>= 400<= 599

title:string

Name of the HTTP status. Do not branch on it.

type:string

URI identifying the problem type. Currently always about:blank.

Example

{
  "detail": "q must not be empty",
  "error_code": "invalid_query",
  "invalid_params": [
    {
      "name": "limit",
      "reason": "must be at most 50"
    }
  ],
  "request_id": "01JA7Q2K3M4N5P6Q7R8S9T0V1W",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}

X-Request-Id: optionalstring

ID the request is logged under: the request’s own X-Request-Id when it sent one. Include it in bug reports.

<= 128 characters

Method not allowed. The route accepts GET only.

application/problem+json

Problem

Error response, an RFC 9457 problem document.

detail: optionalstring

Human-readable explanation. Absent on 500 errors.

error_code:string

Stable error code. Branch on this.

Allowed values:invalid_queryinvalid_coordinatelimit_too_largemalformed_parametermalformed_bodynot_foundmethod_not_allowedtoo_many_itemsbody_too_largeunsupported_media_typeinternal_errorbusytimeoutpack_outdated

invalid_params: optionalArray<object>

Rejected parameters. Present only when the error is about parameters.

A rejected parameter.

Properties

name:string

Parameter name.

reason:string

Why it was rejected.

request_id: optionalstring

ID the request is logged under. Include it in bug reports.

status:integerformat: int32

>= 400<= 599

title:string

Name of the HTTP status. Do not branch on it.

type:string

URI identifying the problem type. Currently always about:blank.

Example

{
  "detail": "q must not be empty",
  "error_code": "invalid_query",
  "invalid_params": [
    {
      "name": "limit",
      "reason": "must be at most 50"
    }
  ],
  "request_id": "01JA7Q2K3M4N5P6Q7R8S9T0V1W",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}

Allow: optionalstring

The methods this route accepts.

Example
GET

X-Request-Id: optionalstring

ID the request is logged under: the request’s own X-Request-Id when it sent one. Include it in bug reports.

<= 128 characters