Edit in GitHubLog an issue

Job endpoints

The Job endpoint allows you to create a Data Repair API job (using POST) or retrieve a list of your currently running jobs (using GET).

Create a Data Repair API job

POST https://analytics.adobe.io/api/{GLOBALCOMPANYID}/datarepair/v1/{RSID}/job

This endpoint requires multiple components:

  • A Job definition in the form of a JSON request body that contains the variables and actions to take.
  • The query string validationToken obtained from the Server Call estimate endpoint.
  • The query strings dateRangeStart and dateRangeEnd that match the API call made to the Server Call estimate endpoint.
Copied to your clipboard
curl -X POST \
-H "accept: application/json" \
-H "content-type: application/json" \
-H "Authorization: Bearer {ACCESS_TOKEN}" \
-H "x-api-key: {CLIENTID}" \
-d '{"variables": {"ipaddress": {"action": "delete"}}}' \
"https://analytics.adobe.io/api/{GLOBALCOMPANYID}/datarepair/v1/examplersid/job?validationToken={VALIDATION_TOKEN}&dateRangeStart=YYYY-03-28&dateRangeEnd=YYYY-03-29"

The validationToken is consumed when you create a data repair job. You must use the Server Call estimate endpoint to generate a new validationToken to call this endpoint again.

View a Data Repair API job list

Use this endpoint to retrieve a list of your most recent 20 data repair jobs for the given Report Suite. It includes both currently running and completed jobs.

GET https://analytics.adobe.io/api/{COMPANY_ID}/datarepair/v1/{RSID}/job

Copied to your clipboard
curl -X GET "https://analytics.adobe.io/api/exampleco/datarepair/v1/examplersid/job" \
-H "Authorization: Bearer {ACCESS_TOKEN}" \
-H "x-api-key: {API_KEY/CLIENT_ID}"

View an individual Data Repair API job

You can call the /job/{JOB_ID} endpoint to check on the progress of a data repair job. Following submission of a job, status reports as processing and progress is a number between 0 and 100. Once complete, status reports as complete and serverCalls is set to the number of Data Rows Scanned during the job. This serverCalls value is used to calculate usage.

Completion of your data repair job can take hours to days, depending on the date range of the data repair job and the amount of traffic the Report Suite gets per day.

GET https://analytics.adobe.io/api/{GLOBALCOMPANYID}/datarepair/v1/{RSID}/job/{JOB_ID}

Copied to your clipboard
curl -X GET "https://analytics.adobe.io/api/exampleco/datarepair/v1/examplersid/job/24" \
-H "Authorization: Bearer {ACCESS_TOKEN}" \
-H "x-api-key: {API_KEY/CLIENT_ID}"
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.