> For the complete documentation index, see [llms.txt](https://integrations.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.impact.com/brand-api-reference/brand-api-reference-v12/reference/jobs/jobs.md).

# Jobs

## List All Jobs

> Returns a list of jobs, with optional date filtering.

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Jobs","version":"v12"},"servers":[{"url":"https://api.impact.com"}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Use your AccountSID as the username and AuthToken as the password."}},"schemas":{"Job":{"type":"object","properties":{"Id":{"type":"string","format":"uuid","description":"The unique identifier for the job."},"Type":{"type":"string","description":"The type of job.","enum":["DownloadReport","ApiReport","UploadAds","TermModification","ClickExport"]},"ProgramId":{"type":"string","description":"The Program ID (CampaignId) this job was scheduled for."},"CreatedBy":{"type":"string","description":"The Account SID of the account that scheduled this job."},"CreatedDate":{"type":"string","format":"date-time","description":"The date and time the job was created."},"StartedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job started processing."},"CompletedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job completed successfully."},"AbandonedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job was abandoned, if applicable."},"CancelledDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job was cancelled, if applicable."},"FailedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job failed, if applicable."},"LastProgressUpdateDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time of the most recent progress update."},"Status":{"type":"string","description":"The current status of job processing.","enum":["QUEUED","RUNNING","COMPLETED","CANCELLED","ERROR","FAILED"]},"StatusMessage":{"type":"string","description":"A message describing the current job status."},"RecordsProcessed":{"type":"integer","description":"The number of records processed."},"PercentageComplete":{"type":"integer","description":"The percentage of work completed."},"Replayable":{"type":"boolean","description":"Indicates if this job type can be replayed."},"ResultUri":{"type":"string","format":"uri-reference","description":"A URI pointing to the result file of a successfully completed job."}}}}},"paths":{"/Advertisers/{AccountSID}/Jobs":{"get":{"summary":"List All Jobs","description":"Returns a list of jobs, with optional date filtering.","operationId":"listJobs","tags":["Jobs"],"parameters":[{"name":"AccountSID","in":"path","required":true,"schema":{"type":"string"},"description":"Your unique Account SID."},{"name":"CreatedAfter","in":"query","schema":{"type":"string","format":"date-time"},"description":"Return jobs scheduled after this date and time (ISO 8601)."},{"name":"CreatedBefore","in":"query","schema":{"type":"string","format":"date-time"},"description":"Return jobs scheduled before this date and time (ISO 8601)."}],"responses":{"200":{"description":"A list of job objects.","content":{"application/json":{"schema":{"type":"object","properties":{"Jobs":{"type":"array","description":"The list of job objects.","items":{"$ref":"#/components/schemas/Job"}}}}}}}}}}}}
```

## Get Job Status

> Returns an object describing the status of a specific job.

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Jobs","version":"v12"},"servers":[{"url":"https://api.impact.com"}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Use your AccountSID as the username and AuthToken as the password."}},"schemas":{"Job":{"type":"object","properties":{"Id":{"type":"string","format":"uuid","description":"The unique identifier for the job."},"Type":{"type":"string","description":"The type of job.","enum":["DownloadReport","ApiReport","UploadAds","TermModification","ClickExport"]},"ProgramId":{"type":"string","description":"The Program ID (CampaignId) this job was scheduled for."},"CreatedBy":{"type":"string","description":"The Account SID of the account that scheduled this job."},"CreatedDate":{"type":"string","format":"date-time","description":"The date and time the job was created."},"StartedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job started processing."},"CompletedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job completed successfully."},"AbandonedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job was abandoned, if applicable."},"CancelledDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job was cancelled, if applicable."},"FailedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job failed, if applicable."},"LastProgressUpdateDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time of the most recent progress update."},"Status":{"type":"string","description":"The current status of job processing.","enum":["QUEUED","RUNNING","COMPLETED","CANCELLED","ERROR","FAILED"]},"StatusMessage":{"type":"string","description":"A message describing the current job status."},"RecordsProcessed":{"type":"integer","description":"The number of records processed."},"PercentageComplete":{"type":"integer","description":"The percentage of work completed."},"Replayable":{"type":"boolean","description":"Indicates if this job type can be replayed."},"ResultUri":{"type":"string","format":"uri-reference","description":"A URI pointing to the result file of a successfully completed job."}}}}},"paths":{"/Advertisers/{AccountSID}/Jobs/{JobId}":{"get":{"summary":"Get Job Status","description":"Returns an object describing the status of a specific job.","operationId":"getJobById","tags":["Jobs"],"parameters":[{"name":"AccountSID","in":"path","required":true,"schema":{"type":"string"},"description":"Your unique Account SID."},{"name":"JobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"The unique identifier for the job."}],"responses":{"200":{"description":"A single job object representing the job's status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}}}}}}}
```

## Download Job Result File

> Downloads the result file for a successfully completed job.\
> \- Returns a \`302 Found\` to redirect to a temporary signed URL for download.\
> \- If the job is not yet complete, returns a \`202 Accepted\` with the current job status.\
> \- If \`Mode=Stream\` is used, returns a \`200 OK\` with the file streamed directly.

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Jobs","version":"v12"},"servers":[{"url":"https://api.impact.com"}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Use your AccountSID as the username and AuthToken as the password."}},"schemas":{"Job":{"type":"object","properties":{"Id":{"type":"string","format":"uuid","description":"The unique identifier for the job."},"Type":{"type":"string","description":"The type of job.","enum":["DownloadReport","ApiReport","UploadAds","TermModification","ClickExport"]},"ProgramId":{"type":"string","description":"The Program ID (CampaignId) this job was scheduled for."},"CreatedBy":{"type":"string","description":"The Account SID of the account that scheduled this job."},"CreatedDate":{"type":"string","format":"date-time","description":"The date and time the job was created."},"StartedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job started processing."},"CompletedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job completed successfully."},"AbandonedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job was abandoned, if applicable."},"CancelledDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job was cancelled, if applicable."},"FailedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job failed, if applicable."},"LastProgressUpdateDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time of the most recent progress update."},"Status":{"type":"string","description":"The current status of job processing.","enum":["QUEUED","RUNNING","COMPLETED","CANCELLED","ERROR","FAILED"]},"StatusMessage":{"type":"string","description":"A message describing the current job status."},"RecordsProcessed":{"type":"integer","description":"The number of records processed."},"PercentageComplete":{"type":"integer","description":"The percentage of work completed."},"Replayable":{"type":"boolean","description":"Indicates if this job type can be replayed."},"ResultUri":{"type":"string","format":"uri-reference","description":"A URI pointing to the result file of a successfully completed job."}}}}},"paths":{"/Advertisers/{AccountSID}/Jobs/{JobId}/Download":{"get":{"summary":"Download Job Result File","description":"Downloads the result file for a successfully completed job.\n- Returns a `302 Found` to redirect to a temporary signed URL for download.\n- If the job is not yet complete, returns a `202 Accepted` with the current job status.\n- If `Mode=Stream` is used, returns a `200 OK` with the file streamed directly.","operationId":"downloadJobResult","tags":["Jobs"],"parameters":[{"name":"AccountSID","in":"path","required":true,"schema":{"type":"string"},"description":"Your unique Account SID."},{"name":"JobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"The unique identifier for the job whose result you want to download."},{"name":"Mode","in":"query","schema":{"type":"string","enum":["Stream"]},"description":"Set to 'Stream' to get the file directly in the response instead of a redirect."}],"responses":{"200":{"description":"The job result file is streamed in the response body.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"202":{"description":"The job is not yet complete. The response body contains the current job status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"302":{"description":"Found. The client is redirected to a temporary signed URL for result file download.","headers":{"Location":{"schema":{"type":"string","format":"uri"}}}}}}}}}
```

## Replay a Job

> Re-queues a completed, failed, or cancelled job for processing.

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Jobs","version":"v12"},"servers":[{"url":"https://api.impact.com"}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Use your AccountSID as the username and AuthToken as the password."}},"schemas":{"Job":{"type":"object","properties":{"Id":{"type":"string","format":"uuid","description":"The unique identifier for the job."},"Type":{"type":"string","description":"The type of job.","enum":["DownloadReport","ApiReport","UploadAds","TermModification","ClickExport"]},"ProgramId":{"type":"string","description":"The Program ID (CampaignId) this job was scheduled for."},"CreatedBy":{"type":"string","description":"The Account SID of the account that scheduled this job."},"CreatedDate":{"type":"string","format":"date-time","description":"The date and time the job was created."},"StartedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job started processing."},"CompletedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job completed successfully."},"AbandonedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job was abandoned, if applicable."},"CancelledDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job was cancelled, if applicable."},"FailedDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time the job failed, if applicable."},"LastProgressUpdateDate":{"type":"string","format":"date-time","nullable":true,"description":"The date and time of the most recent progress update."},"Status":{"type":"string","description":"The current status of job processing.","enum":["QUEUED","RUNNING","COMPLETED","CANCELLED","ERROR","FAILED"]},"StatusMessage":{"type":"string","description":"A message describing the current job status."},"RecordsProcessed":{"type":"integer","description":"The number of records processed."},"PercentageComplete":{"type":"integer","description":"The percentage of work completed."},"Replayable":{"type":"boolean","description":"Indicates if this job type can be replayed."},"ResultUri":{"type":"string","format":"uri-reference","description":"A URI pointing to the result file of a successfully completed job."}}}}},"paths":{"/Advertisers/{AccountSID}/Jobs/{JobId}/Replay":{"put":{"summary":"Replay a Job","description":"Re-queues a completed, failed, or cancelled job for processing.","operationId":"replayJob","tags":["Jobs"],"parameters":[{"name":"AccountSID","in":"path","required":true,"schema":{"type":"string"},"description":"Your unique Account SID."},{"name":"JobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"The unique identifier for the job to replay."}],"responses":{"200":{"description":"The job was successfully re-queued. The response body contains the updated job status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"403":{"description":"Forbidden. The job is not in a replayable state (e.g., it is still running) or is not a replayable type."}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://integrations.impact.com/brand-api-reference/brand-api-reference-v12/reference/jobs/jobs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
