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

2024/12/06 • 7 new methods

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

⚼ 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 (new)
Description Resource list operation template.
Reference Link ¶

⚼ 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 (new)
Description Resource read operation template.
Reference Link ¶

⚼ 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 (new)
Description Long-running resource create or replace operation template.
Reference Link ¶

⚼ 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 ,
}
,
}
,
}
,
}
DeleteJob (new)
Description Removes the record of the job from the service. Does not delete any documents.
Reference Link ¶

⚼ Request

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

⚐ Response (204)

{
x-ms-client-request-id: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
CancelJob (new)
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 ¶

⚼ 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 ,
}
,
}
,
}
,
}
ListJobDocuments (new)
Description Resource list operation template.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
value:
[
{
id: string ,
input:
{
location: string ,
etag: string ,
}
,
output:
{
location: string ,
etag: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
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 ,
}
,
}
,
}
,
}