Batches v1 · Batches
Before calling these endpoints, use a Geoscape Hub application with access to this API product. Authenticate with your Consumer Key in the Authorization header. See Authentication, Error Handling, Rate Limiting, and Attribution for shared integration guidance.
Required response fields must be present when their containing object is returned. Supply the documented request parameters when calling the endpoint.
List batch jobs
Authentication: Use your Consumer Key in the
Authorizationheader.
List your jobs as summaries in batchJobs. Follow links.next for additional pages. Use the ID in each summary to retrieve the full configuration.
Code
query Parameters
limitMaximum summaries per page. Defaults to 100 and accepts 1 to 1,000.
offsetNumber of jobs to skip. Defaults to 0.
List batch jobs › Responses
Paginated summaries of your batch jobs.
Job summaries for the current page.
Submit batch job
Authentication: Use your Consumer Key in the
Authorizationheader.
Validate a CSV job configuration and submit it for quoting. Returns Quoting with the job ID in batchInfo.batchId. Processing starts after /start, or after quoting when autoStart=true and sufficient credits are available. See Quickstart.
Code
Submit batch job › Request Body
typeJob type. Determines the Addresses v2 endpoint called for each CSV row.
Input file and column mappings.
Output destination and JSONPath column mappings.
Job-wide settings. Geocoder and reverse-geocoder jobs require matchType. MailPoint parameters can be omitted.
autoStartQueue the job after quoting when true and sufficient credits are available. Defaults to false.
returnDownloadLinkInclude batchInfo.downloadPath after completion. Forced to true when output.file is omitted. With an output destination, defaults to false.
Submit batch job › Responses
Job configuration and current status.
typeJob type. Determines the Addresses v2 endpoint called for each CSV row.
Informational job fields returned by the service. Do not supply these as request settings.
Job-wide settings. Geocoder and reverse-geocoder jobs require matchType. MailPoint parameters can be omitted.
Input file and column mappings.
Output destination and JSONPath column mappings.
statusCurrent processing state. See Managing Jobs.
displayNameJob display name assigned by the service when one is not supplied.
messagesJob information, including download access restrictions, when supplied.
autoStartQueue the job after quoting when true and sufficient credits are available. Defaults to false.
returnDownloadLinkInclude batchInfo.downloadPath after completion. Forced to true when output.file is omitted. With an output destination, defaults to false.
Get batch job status
Authentication: Use your Consumer Key in the
Authorizationheader.
Retrieve the job configuration, status, and available quote or progress fields. A completed job can include batchInfo.downloadPath when requested and permitted. Check messages for access restrictions.
Set BATCH_ID to the returned batchInfo.batchId.
Code
path Parameters
batchIdGet batch job status › Responses
Job configuration and current status.
typeJob type. Determines the Addresses v2 endpoint called for each CSV row.
Informational job fields returned by the service. Do not supply these as request settings.
Job-wide settings. Geocoder and reverse-geocoder jobs require matchType. MailPoint parameters can be omitted.
Input file and column mappings.
Output destination and JSONPath column mappings.
statusCurrent processing state. See Managing Jobs.
displayNameJob display name assigned by the service when one is not supplied.
messagesJob information, including download access restrictions, when supplied.
autoStartQueue the job after quoting when true and sufficient credits are available. Defaults to false.
returnDownloadLinkInclude batchInfo.downloadPath after completion. Forced to true when output.file is omitted. With an output destination, defaults to false.
Update batch job
Authentication: Use your Consumer Key in the
Authorizationheader.
Replace the configuration of a Quoted or Cancelled job. Supply the complete JSON configuration. Changes trigger quoting again. An unchanged configuration returns the existing job.
Set BATCH_ID to the returned batchInfo.batchId.
Code
path Parameters
batchIdUpdate batch job › Request Body
typeJob type. Determines the Addresses v2 endpoint called for each CSV row.
Input file and column mappings.
Output destination and JSONPath column mappings.
Job-wide settings. Geocoder and reverse-geocoder jobs require matchType. MailPoint parameters can be omitted.
autoStartQueue the job after quoting when true and sufficient credits are available. Defaults to false.
returnDownloadLinkInclude batchInfo.downloadPath after completion. Forced to true when output.file is omitted. With an output destination, defaults to false.
Update batch job › Responses
Job configuration and current status.
typeJob type. Determines the Addresses v2 endpoint called for each CSV row.
Informational job fields returned by the service. Do not supply these as request settings.
Job-wide settings. Geocoder and reverse-geocoder jobs require matchType. MailPoint parameters can be omitted.
Input file and column mappings.
Output destination and JSONPath column mappings.
statusCurrent processing state. See Managing Jobs.
displayNameJob display name assigned by the service when one is not supplied.
messagesJob information, including download access restrictions, when supplied.
autoStartQueue the job after quoting when true and sufficient credits are available. Defaults to false.
returnDownloadLinkInclude batchInfo.downloadPath after completion. Forced to true when output.file is omitted. With an output destination, defaults to false.
Start batch job
Authentication: Use your Consumer Key in the
Authorizationheader.
Queue a Quoted job for processing. A Cancelled job is requoted and starts automatically after quoting. No request body is required. Sufficient credits are needed to start. See Managing Jobs.
Set BATCH_ID to the returned batchInfo.batchId.
Code
path Parameters
batchIdStart batch job › Responses
Job configuration and current status.
typeJob type. Determines the Addresses v2 endpoint called for each CSV row.
Informational job fields returned by the service. Do not supply these as request settings.
Job-wide settings. Geocoder and reverse-geocoder jobs require matchType. MailPoint parameters can be omitted.
Input file and column mappings.
Output destination and JSONPath column mappings.
statusCurrent processing state. See Managing Jobs.
displayNameJob display name assigned by the service when one is not supplied.
messagesJob information, including download access restrictions, when supplied.
autoStartQueue the job after quoting when true and sufficient credits are available. Defaults to false.
returnDownloadLinkInclude batchInfo.downloadPath after completion. Forced to true when output.file is omitted. With an output destination, defaults to false.
Stop batch job
Authentication: Use your Consumer Key in the
Authorizationheader.
Stop a Quoted, Queued, or Running job. Returns Cancelled. No request body is required. See Managing Jobs.
Set BATCH_ID to the returned batchInfo.batchId.
Code
path Parameters
batchIdStop batch job › Responses
Job configuration and current status.
typeJob type. Determines the Addresses v2 endpoint called for each CSV row.
Informational job fields returned by the service. Do not supply these as request settings.
Job-wide settings. Geocoder and reverse-geocoder jobs require matchType. MailPoint parameters can be omitted.
Input file and column mappings.
Output destination and JSONPath column mappings.
statusCurrent processing state. See Managing Jobs.
displayNameJob display name assigned by the service when one is not supplied.
messagesJob information, including download access restrictions, when supplied.
autoStartQueue the job after quoting when true and sufficient credits are available. Defaults to false.
returnDownloadLinkInclude batchInfo.downloadPath after completion. Forced to true when output.file is omitted. With an output destination, defaults to false.
Delete batch jobs
Authentication: Use your Consumer Key in the
Authorizationheader.
Delete one or more of your jobs in Quoted, Completed, Failed, or Cancelled status. Send a JSON array of job IDs. This operation uses POST.
- HTTP
200reports the deletion results, even when some or all jobs could not be deleted - Check
summary.failedanddetails.failedbefore treating the operation as successful - Deleted jobs are no longer available through the public job lookup or list. Save any results you need before deleting
See Managing Jobs for failure codes and examples. Use your application's Consumer Key as the Authorization header value.
Code
Delete batch jobs › Responses
Per-job results. State, ownership, and missing-job failures are reported in the body rather than the HTTP status.