Azure.AI.Projects (preview:2025-05-15)

2025/05/09 • 24 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
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 ,
body:
{
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
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 ,
body:
{
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 ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
value:
[
{
id: string ,
data:
{
type: string ,
}
,
displayName: string ,
description: string ,
status: string ,
tags: object ,
properties: object ,
evaluators: 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/{name}
{
api-version: string ,
name: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
id: string ,
data:
{
type: string ,
}
,
displayName: string ,
description: string ,
status: string ,
tags: object ,
properties: object ,
evaluators: 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_Create (new)
Description Creates an evaluation run.
Reference Link ¶

⚼ Request

POST:  /evaluations/runs:run
{
api-version: string ,
evaluation:
{
id: string ,
data:
{
type: string ,
}
,
displayName: string ,
description: string ,
status: string ,
tags: object ,
properties: object ,
evaluators: object ,
}
,
}

⚐ Response (201)

{
id: string ,
data:
{
type: string ,
}
,
displayName: string ,
description: string ,
status: string ,
tags: object ,
properties: object ,
evaluators: 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_CreateAgentEvaluation (new)
Description Creates an agent evaluation run.
Reference Link ¶

⚼ Request

POST:  /evaluations/runs:runAgent
{
api-version: string ,
evaluation:
{
runId: string ,
threadId: string ,
evaluators: object ,
samplingConfiguration:
{
name: string ,
samplingPercent: number ,
maxRequestRate: number ,
}
,
redactionConfiguration:
{
redactScoreProperties: boolean ,
}
,
appInsightsConnectionString: string ,
}
,
}

⚐ Response (201)

{
id: string ,
status: string ,
error: string ,
result:
[
{
evaluator: string ,
evaluatorId: string ,
score: number ,
status: string ,
reason: string ,
version: string ,
threadId: string ,
runId: string ,
error: string ,
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
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 ,
body:
{
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
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 ,
}
,
}
,
}
,
}