Created
March 21, 2025 10:58
-
-
Save h2floh/8687ee936ff42edc08c75283db76e630 to your computer and use it in GitHub Desktop.
AI Agents Service Base URL and sample list agents curl command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# AI Foundry Project Connection String sample: swedencentral.api.azureml.ms;{subscriptionId};{resourceGroupName};{projectName} | |
# AI Agents Service API Base URL: "https://{endpoint}/agents/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{projectName}" | |
endpoint="https://{endpoint}/agents/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{projectName}" | |
curl -X GET "$endpoint/assistants?api-version=2024-07-01-preview" \ | |
-H "Authorization: Bearer $(az account get-access-token --query accessToken -o tsv)" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment