Azure.AI.Projects (preview:2025-07-31)

2025/08/21 • 27 new methods

Connections_List (new)
Description :  List all connections in the project, without populating connection credentials
Reference :  Link ¶

⚼ Request

GET:  /connections
{
api-version: string ,
connectionType: string ,
defaultConnection: boolean ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
value:
[
{
name: string ,
id: string ,
type: enum ,
target: string ,
isDefault: boolean ,
credentials:
{
type: enum ,
}
,
metadata: object ,
}
,
]
,
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 ,
}
,
}
,
}
,
}
Connections_Get (new)
Description :  Get a connection by name, without populating connection credentials
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
name: string ,
id: string ,
type: enum ,
target: string ,
isDefault: boolean ,
credentials:
{
type: enum ,
}
,
metadata: object ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Connections_GetWithCredentials (new)
Description :  Get a connection by name, with its connection credentials
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
name: string ,
id: string ,
type: enum ,
target: string ,
isDefault: boolean ,
credentials:
{
type: enum ,
}
,
metadata: object ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Datasets_ListLatest (new)
Description :  List the latest version of each DatasetVersion
Reference :  Link ¶

⚼ Request

GET:  /datasets
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
dataUri: string ,
type: enum ,
isReference: boolean ,
connectionName: string ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}
,
]
,
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 ,
}
,
}
,
}
,
}
Datasets_ListVersions (new)
Description :  List all versions of the given DatasetVersion
Reference :  Link ¶

⚼ Request

GET:  /datasets/{name}/versions
{
api-version: string ,
name: string ,
}

⚐ Response (200)

{
value:
[
{
dataUri: string ,
type: enum ,
isReference: boolean ,
connectionName: string ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}
,
]
,
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 ,
}
,
}
,
}
,
}
Datasets_GetVersion (new)
Description :  Get the specific version of the DatasetVersion. The service returns 404 Not Found error if the DatasetVersion does not exist.
Reference :  Link ¶

⚼ Request

GET:  /datasets/{name}/versions/{version}
{
api-version: string ,
name: string ,
version: string ,
}

⚐ Response (200)

{
dataUri: string ,
type: enum ,
isReference: boolean ,
connectionName: string ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Datasets_CreateOrUpdateVersion (new)
Description :  Create a new or update an existing DatasetVersion with the given version id
Reference :  Link ¶

⚼ Request

PATCH:  /datasets/{name}/versions/{version}
{
api-version: string ,
name: string ,
version: string ,
datasetVersion:
{
dataUri: string ,
type: enum ,
isReference: boolean ,
connectionName: string ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
dataUri: string ,
type: enum ,
isReference: boolean ,
connectionName: string ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}

⚐ Response (201)

{
dataUri: string ,
type: enum ,
isReference: boolean ,
connectionName: string ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Datasets_DeleteVersion (new)
Description :  Delete the specific version of the DatasetVersion. The service returns 204 No Content if the DatasetVersion was deleted successfully or if the DatasetVersion does not exist.
Reference :  Link ¶

⚼ Request

DELETE:  /datasets/{name}/versions/{version}
{
api-version: string ,
name: string ,
version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Datasets_GetCredentials (new)
Description :  Get the SAS credential to access the storage account associated with a Dataset version.
Reference :  Link ¶

⚼ Request

POST:  /datasets/{name}/versions/{version}/credentials
{
api-version: string ,
name: string ,
version: string ,
}

⚐ Response (200)

{
blobReference:
{
blobUri: string ,
storageAccountArmId: string ,
credential:
{
sasUri: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Datasets_StartPendingUploadVersion (new)
Description :  Start a new or get an existing pending upload of a dataset for a specific version.
Reference :  Link ¶

⚼ Request

POST:  /datasets/{name}/versions/{version}/startPendingUpload
{
api-version: string ,
name: string ,
version: string ,
pendingUploadRequest:
{
pendingUploadId: string ,
connectionName: string ,
pendingUploadType: enum ,
}
,
}

⚐ Response (200)

{
blobReference:
{
blobUri: string ,
storageAccountArmId: string ,
credential:
{
sasUri: string ,
type: enum ,
}
,
}
,
pendingUploadId: string ,
version: string ,
pendingUploadType: enum ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Deployments_List (new)
Description :  List all deployed models in the project
Reference :  Link ¶

⚼ Request

GET:  /deployments
{
api-version: string ,
modelPublisher: string ,
modelName: string ,
deploymentType: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
value:
[
{
type: enum ,
name: 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 ,
}
,
}
,
}
,
}
Deployments_Get (new)
Description :  Get a deployed model.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
type: enum ,
name: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Evaluations_List (new)
Description :  List evaluation runs
Reference :  Link ¶

⚼ Request

GET:  /evaluations/runs
{
api-version: string ,
filter: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
value:
[
{
id: string ,
dataSource:
{
type: enum ,
}
,
resultSettings:
{
additionalDestinations:
[
{
type: enum ,
connectionName: string ,
state: enum ,
}
,
]
,
}
,
displayName: string ,
description: string ,
state: enum ,
tags: object ,
properties: object ,
evaluators:
[
{
id: string ,
name: string ,
initializationParameters: object ,
dataMapping: object ,
}
,
]
,
summary:
{
evaluatorStatus:
[
{
name: string ,
id: string ,
state: enum ,
error: string ,
usage:
{
inputTokens: integer ,
outputTokens: integer ,
}
,
}
,
]
,
metrics:
[
{
name: string ,
evaluatorName: string ,
statistics:
{
sampleCount: integer ,
passRate: number ,
min: number ,
max: number ,
average: number ,
standardDeviation: number ,
confidenceInterval95th:
{
lowerBound: number ,
upperBound: number ,
}
,
labelFrequency: object ,
}
,
metadata:
{
evaluatorId: string ,
desiredDirection: enum ,
threshold: number ,
type: enum ,
}
,
additionalDetails: object ,
}
,
]
,
}
,
resultDatasetId: string ,
systemData: object ,
}
,
]
,
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 ,
}
,
}
,
}
,
}
Evaluations_Get (new)
Description :  Get an evaluation run by name.
Reference :  Link ¶

⚼ Request

GET:  /evaluations/runs/{id}
{
api-version: string ,
id: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: string ,
x-ms-client-request-id: string ,
}
,
$schema:
{
id: string ,
dataSource:
{
type: enum ,
}
,
resultSettings:
{
additionalDestinations:
[
{
type: enum ,
connectionName: string ,
state: enum ,
}
,
]
,
}
,
displayName: string ,
description: string ,
state: enum ,
tags: object ,
properties: object ,
evaluators:
[
{
id: string ,
name: string ,
initializationParameters: object ,
dataMapping: object ,
}
,
]
,
summary:
{
evaluatorStatus:
[
{
name: string ,
id: string ,
state: enum ,
error: string ,
usage:
{
inputTokens: integer ,
outputTokens: integer ,
}
,
}
,
]
,
metrics:
[
{
name: string ,
evaluatorName: string ,
statistics:
{
sampleCount: integer ,
passRate: number ,
min: number ,
max: number ,
average: number ,
standardDeviation: number ,
confidenceInterval95th:
{
lowerBound: number ,
upperBound: number ,
}
,
labelFrequency: object ,
}
,
metadata:
{
evaluatorId: string ,
desiredDirection: enum ,
threshold: number ,
type: enum ,
}
,
additionalDetails: object ,
}
,
]
,
}
,
resultDatasetId: string ,
systemData: object ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Evaluations_Update (new)
Description :  Updates specific properties of an existing evaluation. Supports modification of metadata fields including description, display name, and tags. Note: Core evaluation configuration such as data sources and evaluators cannot be modified after creation.
Reference :  Link ¶

⚼ Request

PATCH:  /evaluations/runs/{id}
{
api-version: string ,
id: string ,
x-ms-client-request-id: string ,
resource:
{
dataSource:
{
type: enum ,
}
,
resultSettings:
{
additionalDestinations:
[
{
type: enum ,
connectionName: string ,
state: enum ,
}
,
]
,
}
,
displayName: string ,
description: string ,
tags: object ,
properties: object ,
evaluators:
[
{
id: string ,
name: string ,
initializationParameters: object ,
dataMapping: object ,
}
,
]
,
}
,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
id: string ,
dataSource:
{
type: enum ,
}
,
resultSettings:
{
additionalDestinations:
[
{
type: enum ,
connectionName: string ,
state: enum ,
}
,
]
,
}
,
displayName: string ,
description: string ,
state: enum ,
tags: object ,
properties: object ,
evaluators:
[
{
id: string ,
name: string ,
initializationParameters: object ,
dataMapping: object ,
}
,
]
,
summary:
{
evaluatorStatus:
[
{
name: string ,
id: string ,
state: enum ,
error: string ,
usage:
{
inputTokens: integer ,
outputTokens: integer ,
}
,
}
,
]
,
metrics:
[
{
name: string ,
evaluatorName: string ,
statistics:
{
sampleCount: integer ,
passRate: number ,
min: number ,
max: number ,
average: number ,
standardDeviation: number ,
confidenceInterval95th:
{
lowerBound: number ,
upperBound: number ,
}
,
labelFrequency: object ,
}
,
metadata:
{
evaluatorId: string ,
desiredDirection: enum ,
threshold: number ,
type: enum ,
}
,
additionalDetails: object ,
}
,
]
,
}
,
resultDatasetId: string ,
systemData: object ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Evaluations_Delete (new)
Description :  Delete an evaluation run by name
Reference :  Link ¶

⚼ Request

DELETE:  /evaluations/runs/{id}
{
api-version: string ,
id: 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 ,
}
,
}
,
}
,
}
Evaluations_Cancel (new)
Description :  Cancel an evaluation run by name
Reference :  Link ¶

⚼ Request

POST:  /evaluations/runs/{id}:cancel
{
api-version: string ,
id: 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 ,
}
,
}
,
}
,
}
Evaluations_CreateBatch (new)
Description :  Creates a new evaluation with the specified configuration.
Reference :  Link ¶

⚼ Request

POST:  /evaluations/runs:runBatch
{
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
evaluation:
{
id: string ,
dataSource:
{
type: enum ,
}
,
resultSettings:
{
additionalDestinations:
[
{
type: enum ,
connectionName: string ,
state: enum ,
}
,
]
,
}
,
displayName: string ,
description: string ,
state: enum ,
tags: object ,
properties: object ,
evaluators:
[
{
id: string ,
name: string ,
initializationParameters: object ,
dataMapping: object ,
}
,
]
,
summary:
{
evaluatorStatus:
[
{
name: string ,
id: string ,
state: enum ,
error: string ,
usage:
{
inputTokens: integer ,
outputTokens: integer ,
}
,
}
,
]
,
metrics:
[
{
name: string ,
evaluatorName: string ,
statistics:
{
sampleCount: integer ,
passRate: number ,
min: number ,
max: number ,
average: number ,
standardDeviation: number ,
confidenceInterval95th:
{
lowerBound: number ,
upperBound: number ,
}
,
labelFrequency: object ,
}
,
metadata:
{
evaluatorId: string ,
desiredDirection: enum ,
threshold: number ,
type: enum ,
}
,
additionalDetails: object ,
}
,
]
,
}
,
resultDatasetId: string ,
systemData: object ,
}
,
}

⚐ Response (201)

{
id: string ,
dataSource:
{
type: enum ,
}
,
resultSettings:
{
additionalDestinations:
[
{
type: enum ,
connectionName: string ,
state: enum ,
}
,
]
,
}
,
displayName: string ,
description: string ,
state: enum ,
tags: object ,
properties: object ,
evaluators:
[
{
id: string ,
name: string ,
initializationParameters: object ,
dataMapping: object ,
}
,
]
,
summary:
{
evaluatorStatus:
[
{
name: string ,
id: string ,
state: enum ,
error: string ,
usage:
{
inputTokens: integer ,
outputTokens: integer ,
}
,
}
,
]
,
metrics:
[
{
name: string ,
evaluatorName: string ,
statistics:
{
sampleCount: integer ,
passRate: number ,
min: number ,
max: number ,
average: number ,
standardDeviation: number ,
confidenceInterval95th:
{
lowerBound: number ,
upperBound: number ,
}
,
labelFrequency: object ,
}
,
metadata:
{
evaluatorId: string ,
desiredDirection: enum ,
threshold: number ,
type: enum ,
}
,
additionalDetails: object ,
}
,
]
,
}
,
resultDatasetId: string ,
systemData: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Evaluations_CreateSingle (new)
Description :  Independent API operation to perform a single evaluation and immediately get a result.
Reference :  Link ¶

⚼ Request

POST:  /evaluations/runs:runSingle
{
api-version: string ,
singleEvaluation:
{
dataSource:
{
id: string ,
data:
{
dataFormat: enum ,
}
,
inlineDatasetId: string ,
}
,
evaluators:
[
{
id: string ,
name: string ,
initializationParameters: object ,
dataMapping: object ,
}
,
]
,
properties: object ,
}
,
}

⚐ Response (200)

{
metrics:
[
{
name: string ,
evaluatorName: string ,
score: number ,
labels:
[
string ,
]
,
outcome: enum ,
reasoning: string ,
error: string ,
metadata:
{
evaluatorId: string ,
desiredDirection: enum ,
threshold: number ,
type: enum ,
}
,
usage:
{
inputTokens: integer ,
outputTokens: integer ,
}
,
additionalDetails: object ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Indexes_ListLatest (new)
Description :  List the latest version of each Index
Reference :  Link ¶

⚼ Request

GET:  /indexes
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
type: enum ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}
,
]
,
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 ,
}
,
}
,
}
,
}
Indexes_ListVersions (new)
Description :  List all versions of the given Index
Reference :  Link ¶

⚼ Request

GET:  /indexes/{name}/versions
{
api-version: string ,
name: string ,
}

⚐ Response (200)

{
value:
[
{
type: enum ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}
,
]
,
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 ,
}
,
}
,
}
,
}
Indexes_GetVersion (new)
Description :  Get the specific version of the Index. The service returns 404 Not Found error if the Index does not exist.
Reference :  Link ¶

⚼ Request

GET:  /indexes/{name}/versions/{version}
{
api-version: string ,
name: string ,
version: string ,
}

⚐ Response (200)

{
type: enum ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Indexes_CreateOrUpdateVersion (new)
Description :  Create a new or update an existing Index with the given version id
Reference :  Link ¶

⚼ Request

PATCH:  /indexes/{name}/versions/{version}
{
api-version: string ,
name: string ,
version: string ,
index:
{
type: enum ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
type: enum ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}

⚐ Response (201)

{
type: enum ,
id: string ,
name: string ,
version: string ,
description: string ,
tags: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Indexes_DeleteVersion (new)
Description :  Delete the specific version of the Index. The service returns 204 No Content if the Index was deleted successfully or if the Index does not exist.
Reference :  Link ¶

⚼ Request

DELETE:  /indexes/{name}/versions/{version}
{
api-version: string ,
name: string ,
version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
RedTeams_List (new)
Description :  List a redteam by name.
Reference :  Link ¶

⚼ Request

GET:  /redTeams/runs
{
api-version: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
value:
[
{
id: string ,
displayName: string ,
numTurns: integer ,
attackStrategies:
[
string ,
]
,
simulationOnly: boolean ,
riskCategories:
[
string ,
]
,
applicationScenario: string ,
tags: object ,
properties: object ,
status: string ,
target:
{
type: 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 ,
}
,
}
,
}
,
}
RedTeams_Get (new)
Description :  Get a redteam by name.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
id: string ,
displayName: string ,
numTurns: integer ,
attackStrategies:
[
string ,
]
,
simulationOnly: boolean ,
riskCategories:
[
string ,
]
,
applicationScenario: string ,
tags: object ,
properties: object ,
status: string ,
target:
{
type: string ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
RedTeams_Create (new)
Description :  Creates a redteam run.
Reference :  Link ¶

⚼ Request

POST:  /redTeams/runs:run
{
api-version: string ,
RedTeam:
{
id: string ,
displayName: string ,
numTurns: integer ,
attackStrategies:
[
string ,
]
,
simulationOnly: boolean ,
riskCategories:
[
string ,
]
,
applicationScenario: string ,
tags: object ,
properties: object ,
status: string ,
target:
{
type: string ,
}
,
}
,
}

⚐ Response (201)

{
id: string ,
displayName: string ,
numTurns: integer ,
attackStrategies:
[
string ,
]
,
simulationOnly: boolean ,
riskCategories:
[
string ,
]
,
applicationScenario: string ,
tags: object ,
properties: object ,
status: string ,
target:
{
type: string ,
}
,
}

⚐ Response (default)

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