---
title: "List de-identification jobs."
method: GET
path: "/jobs"
---

# List de-identification jobs.

`GET /jobs`

## Request

- Base URL: `{endpoint}`
- URL: `{endpoint}/jobs`
- Auth: OAuth 2
  - Authorization code: `https://login.microsoftonline.com/common/oauth2/v2.0/authorize`
  - Token URL: `https://login.microsoftonline.com/common/oauth2/token` scopes: `https://deid.azure.com/.default`

Resource list operation template.

## Query parameters

- `api-version` string, required
- `maxpagesize` integer
- `continuationToken` string

## Headers

- `x-ms-client-request-id` string, uuid

## Response `200`

The request has succeeded.

- PagedDeidentificationJob: Paged collection of DeidentificationJob items
  - `value` DeidentificationJob[], required: The DeidentificationJob items on this page
    - `name` string, required: The name of a job.
    - `operation` 'Redact' | 'Surrogate' | 'Tag' | 'SurrogateOnly': Operation to perform on the input documents.
    - `sourceLocation` SourceStorageLocation, required: Storage location.
      - `location` string, uri, required: URL to storage location.
      - `prefix` string, required: Prefix to filter path by.
      - `extensions` string[]: List of extensions to filter path by.
    - `targetLocation` TargetStorageLocation, required: Storage location.
      - `location` string, uri, required: URL to storage location.
      - `prefix` string, required: Replaces the input prefix of a file path with the output prefix, preserving the rest of the path structure. Example: File full path: documents/user/note.txt Input Prefix: "documents/user/" Output Prefix: "output_docs/" Output file: "output_docs/note.txt"
      - `overwrite` boolean: When set to true during a job, the service will overwrite the output location if it already exists.
    - `customizations` DeidentificationJobCustomizationOptions: Customizations options to override default service behaviors for job usage.
      - `redactionFormat` string: Format of the redacted output. Only valid when Operation is Redact. Please refer to https://learn.microsoft.com/azure/healthcare-apis/deidentification/redaction-format for more details.
      - `surrogateLocale` string: Locale in which the output surrogates are written.
      - `inputLocale` string: Locale of the input text. Used for better PHI detection. Defaults to 'en-US'.
    - `status` 'NotStarted' | 'Running' | 'Succeeded' | 'Failed' | 'Canceled', required: Enum describing allowed operation states.
    - `error` AzureCoreFoundationsError: The error object.
      - `code` string, required: One of a server-defined set of error codes.
      - `message` string, required: A human-readable representation of the error.
      - `target` string: The target of the error.
      - `details` AzureCoreFoundationsError[]: An array of details about specific errors that led to this reported error.
      - `innererror` AzureCoreFoundationsInnerError: An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.
        - `code` string: One of a server-defined set of error codes.
        - `innererror` AzureCoreFoundationsInnerError (recursive)
    - `lastUpdatedAt` string, date-time, required: Date and time when the job was completed. If the job is canceled, this is the time when the job was canceled. If the job failed, this is the time when the job failed.
    - `createdAt` string, date-time, required: Date and time when the job was created.
    - `startedAt` string, date-time: Date and time when the job was started.
    - `summary` DeidentificationJobSummary: Summary metrics of a job.
      - `successful` integer, required: Number of documents that have completed.
      - `failed` integer, required: Number of documents that have failed.
      - `canceled` integer, required: Number of documents that have been canceled.
      - `total` integer, required: Number of documents total.
      - `bytesProcessed` integer, required: Number of bytes processed.
  - `nextLink` string, uri: The link to the next page of items

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/healthdataaiservices-healthdataaiservices-deidservices.md) - [All operations](https://skmtc.dev/azure/apis/healthdataaiservices-healthdataaiservices-deidservices/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/healthdataaiservices-healthdataaiservices-deidservices/revisions/34f61cfe9d59?raw)
