Azure AI Projects API Reference
Welcome to the Azure AI Projects API reference documentation. This API provides comprehensive access to Azure AI Foundry project resources and operations.๐ฎ Interactive API Playground: Each endpoint includes an interactive playground where you can test API calls directly from the documentation. No setup required!
API Overview
The Azure AI Projects API enables you to:- ๐ Manage Connections: Create and manage connections to various Azure services including Azure OpenAI, Cognitive Search, and more
- ๐ Handle Datasets: Upload, version, and manage datasets for your AI projects with full lifecycle support
- ๐ค Deploy Models: Deploy and manage AI models in your project with comprehensive deployment options
- ๐งช Run Evaluations: Execute evaluations and assessments on your AI models, including agent evaluations
- ๐ Manage Indexes: Create and maintain vector indexes for search capabilities (Azure AI Search, CosmosDB)
- ๐ก๏ธ Red Team Operations: Conduct security assessments and red team exercises with various attack strategies
Base URL
All API requests should be made to:{your-ai-services-account-name}is your Azure AI Services account name{project-name}is your specific project name (or use_projectfor the default project)
Authentication
This API uses OAuth 2.0 authentication with Azure Active Directory. Include a valid Bearer token in the Authorization header:Getting an Access Token
You can obtain an access token using the Azure CLI:API Version
Current API version: 2025-05-15-preview Include the API version in all requests as a query parameter:Response Format
All API responses follow a consistent JSON structure with proper HTTP status codes:- 2xx: Success responses
- 4xx: Client errors (authentication, validation, etc.)
- 5xx: Server errors
Rate Limits
Please refer to Azure AI Foundry documentation for current rate limits and throttling policies.Key Endpoints
Our API is organized into the following main categories:| Category | Description | Key Operations |
|---|---|---|
| Connections | Manage service connections | List, Get, Get with credentials |
| Datasets | Handle data assets | Create, List, Get, Upload, Delete |
| Deployments | Model deployments | List, Get deployment details |
| Evaluations | Model evaluations | Create, List, Get evaluation results |
| Indexes | Vector search indexes | Create, Update, List, Delete |
| Red Teams | Security assessments | Create, List, Get red team runs |
SDKs Available
For easier integration, consider using our official SDKs:- Python SDK - Full-featured Python client
- JavaScript SDK - Node.js and browser support
- .NET SDK - C# and .NET integration
Examples
Support
For API support and questions:- ๐ฌ Community Forum
- ๐ GitHub Repository
- ๐ Azure AI Foundry Documentation
- ๐ Report Issues

