HealthDataAIServices.DeidServices (stable:2024-11-15)

2025/02/19 • 5 updated methods

DeidentifyText (updated)
Description A remote procedure call (RPC) operation.
Reference Link ¶

⚶ Changes

{
  "#id": "DeidentifyText",
  "$parameters": {
    "body": {
      "$properties": {
        "customizations": [
          {
            "#name": "redactionFormat",
            "Description": {
              "new": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/azure/healthcare-apis/deidentification/redaction-format for more details.",
              "old": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/en-us/azure/healthcare-apis/deidentification/redaction-format for more details."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /deid
{
api-version: string ,
x-ms-client-request-id: string ,
body:
{
inputText: string ,
operation: enum ,
customizations:
{
redactionFormat: string ,
surrogateLocale: string ,
}
,
}
,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
outputText: string ,
taggerResult:
{
entities:
[
{
category: enum ,
offset:
{
utf8: integer ,
utf16: integer ,
codePoint: integer ,
}
,
length:
{
utf8: integer ,
utf16: integer ,
codePoint: integer ,
}
,
text: string ,
confidenceScore: number ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
ListJobs (updated)
Description Resource list operation template.
Reference Link ¶

⚶ Changes

{
  "#id": "ListJobs",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "customizations": [
              {
                "#name": "redactionFormat",
                "Description": {
                  "new": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/azure/healthcare-apis/deidentification/redaction-format for more details.",
                  "old": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/en-us/azure/healthcare-apis/deidentification/redaction-format for more details."
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /jobs
{
api-version: string ,
maxpagesize: integer ,
continuationToken: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
value:
[
{
name: string ,
operation: enum ,
sourceLocation:
{
location: string ,
prefix: string ,
extensions:
[
string ,
]
,
}
,
targetLocation:
{
location: string ,
prefix: string ,
overwrite: boolean ,
}
,
customizations:
{
redactionFormat: string ,
surrogateLocale: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
lastUpdatedAt: string ,
createdAt: string ,
startedAt: string ,
summary:
{
successful: integer ,
failed: integer ,
canceled: integer ,
total: integer ,
bytesProcessed: integer ,
}
,
}
,
]
,
nextLink: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
GetJob (updated)
Description Resource read operation template.
Reference Link ¶

⚶ Changes

{
  "#id": "GetJob",
  "$responses": {
    "200": {
      "$properties": {
        "customizations": [
          {
            "#name": "redactionFormat",
            "Description": {
              "new": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/azure/healthcare-apis/deidentification/redaction-format for more details.",
              "old": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/en-us/azure/healthcare-apis/deidentification/redaction-format for more details."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /jobs/{name}
{
api-version: string ,
name: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
name: string ,
operation: enum ,
sourceLocation:
{
location: string ,
prefix: string ,
extensions:
[
string ,
]
,
}
,
targetLocation:
{
location: string ,
prefix: string ,
overwrite: boolean ,
}
,
customizations:
{
redactionFormat: string ,
surrogateLocale: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
lastUpdatedAt: string ,
createdAt: string ,
startedAt: string ,
summary:
{
successful: integer ,
failed: integer ,
canceled: integer ,
total: integer ,
bytesProcessed: integer ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DeidentifyDocuments (updated)
Description Long-running resource create or replace operation template.
Reference Link ¶

⚶ Changes

{
  "#id": "DeidentifyDocuments",
  "$parameters": {
    "resource": {
      "$properties": {
        "customizations": [
          {
            "#name": "redactionFormat",
            "Description": {
              "new": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/azure/healthcare-apis/deidentification/redaction-format for more details.",
              "old": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/en-us/azure/healthcare-apis/deidentification/redaction-format for more details."
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "customizations": [
          {
            "#name": "redactionFormat",
            "Description": {
              "new": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/azure/healthcare-apis/deidentification/redaction-format for more details.",
              "old": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/en-us/azure/healthcare-apis/deidentification/redaction-format for more details."
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "customizations": [
          {
            "#name": "redactionFormat",
            "Description": {
              "new": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/azure/healthcare-apis/deidentification/redaction-format for more details.",
              "old": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/en-us/azure/healthcare-apis/deidentification/redaction-format for more details."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /jobs/{name}
{
api-version: string ,
name: string ,
x-ms-client-request-id: string ,
resource:
{
name: string ,
operation: enum ,
sourceLocation:
{
location: string ,
prefix: string ,
extensions:
[
string ,
]
,
}
,
targetLocation:
{
location: string ,
prefix: string ,
overwrite: boolean ,
}
,
customizations:
{
redactionFormat: string ,
surrogateLocale: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
lastUpdatedAt: string ,
createdAt: string ,
startedAt: string ,
summary:
{
successful: integer ,
failed: integer ,
canceled: integer ,
total: integer ,
bytesProcessed: integer ,
}
,
}
,
}

⚐ Response (200)

{
$headers:
{
operation-location: string ,
x-ms-client-request-id: string ,
}
,
$schema:
{
name: string ,
operation: enum ,
sourceLocation:
{
location: string ,
prefix: string ,
extensions:
[
string ,
]
,
}
,
targetLocation:
{
location: string ,
prefix: string ,
overwrite: boolean ,
}
,
customizations:
{
redactionFormat: string ,
surrogateLocale: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
lastUpdatedAt: string ,
createdAt: string ,
startedAt: string ,
summary:
{
successful: integer ,
failed: integer ,
canceled: integer ,
total: integer ,
bytesProcessed: integer ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
operation-location: string ,
x-ms-client-request-id: string ,
}
,
$schema:
{
name: string ,
operation: enum ,
sourceLocation:
{
location: string ,
prefix: string ,
extensions:
[
string ,
]
,
}
,
targetLocation:
{
location: string ,
prefix: string ,
overwrite: boolean ,
}
,
customizations:
{
redactionFormat: string ,
surrogateLocale: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
lastUpdatedAt: string ,
createdAt: string ,
startedAt: string ,
summary:
{
successful: integer ,
failed: integer ,
canceled: integer ,
total: integer ,
bytesProcessed: integer ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
CancelJob (updated)
Description Cancels a job that is in progress. The job will be marked as canceled and the service will stop processing the job. The service will not delete any documents that have already been processed. If the job is already complete, this will have no effect.
Reference Link ¶

⚶ Changes

{
  "#id": "CancelJob",
  "$responses": {
    "200": {
      "$properties": {
        "customizations": [
          {
            "#name": "redactionFormat",
            "Description": {
              "new": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/azure/healthcare-apis/deidentification/redaction-format for more details.",
              "old": "Format of the redacted output. Only valid when Operation is Redact. \nPlease refer to https://learn.microsoft.com/en-us/azure/healthcare-apis/deidentification/redaction-format for more details."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /jobs/{name}:cancel
{
api-version: string ,
name: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
name: string ,
operation: enum ,
sourceLocation:
{
location: string ,
prefix: string ,
extensions:
[
string ,
]
,
}
,
targetLocation:
{
location: string ,
prefix: string ,
overwrite: boolean ,
}
,
customizations:
{
redactionFormat: string ,
surrogateLocale: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
lastUpdatedAt: string ,
createdAt: string ,
startedAt: string ,
summary:
{
successful: integer ,
failed: integer ,
canceled: integer ,
total: integer ,
bytesProcessed: integer ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}