Anonymization API - GET job status

Checks the status of an anonymization job. The response contains the percentage of job progress.

The request produces an application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/anonymize/anonymizationJobs/{requestId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/anonymize/anonymizationJobs/{requestId}

Parameters

Parameter Type Description In Required
requestId string

The ID of the required anonymization job.

path required

Response format

The AnonymizationProgressResult object

Element Type Description
progress integer

The progress of the anonymization job, percent.

-1 if the job is waiting for execution.

Example

In this example, the request checks the status of the anonymization job with the ID of 7810238295331327902.

The API token is passed in the Authorization header.

The response shows that the job is complete.

Curl

curl -X GET \
    https://mySampleEnv.live.dynatrace.com/api/v1/anonymize/anonymizationJobs/7810238295331327902 \
    -H 'Authorization: Api-Token abcdefjhij1234567890'

Request URL

https://mySampleEnv.live.dynatrace.com/api/v1/anonymize/anonymizationJobs/7810238295331327902

Response content

{
  "progress": 100
}

Response code

200