
Skill
foundry-evaluations
evaluate agent quality with Foundry Evals
Description
Evaluate agent quality using Foundry OpenAI Evals API. Create evaluations, run them against models, and analyze results.
SKILL.md
Foundry Evaluations — OpenAI Evals API
You can evaluate agent and model quality using the Foundry OpenAI Evals API. Create evaluation definitions with testing criteria, run them against models, and analyze pass/fail results.
Endpoint
All requests: http://localhost:8443 with ?api-version=2025-11-15-preview. Auth is automatic.
Operations
List evaluations
curl -s 'http://localhost:8443/openai/evals?api-version=2025-11-15-preview'
Create an evaluation
curl -s -X POST 'http://localhost:8443/openai/evals?api-version=2025-11-15-preview' \
-H 'Content-Type: application/json' \
-d '{"name":"quality-check","data_source_config":{"type":"custom","item_schema":{"type":"object","properties":{"input":{"type":"string"},"expected":{"type":"string"}},"required":["input","expected"]}},"testing_criteria":[{"type":"string_check","name":"exact-match","input":"{{sample.output_text}}","reference":"{{item.expected}}","operation":"eq"}]}'
Run an evaluation
curl -s -X POST 'http://localhost:8443/openai/evals/eval_abc123/runs?api-version=2025-11-15-preview' \
-H 'Content-Type: application/json' \
-d '{"name":"run-1","data_source":{"type":"jsonl","source":{"type":"file_content","content":[{"item":{"input":"2+2","expected":"4"}}]}}}'
List evaluators (built-in + custom)
curl -s 'http://localhost:8443/evaluators?api-version=2025-11-15-preview'
List evaluation rules
curl -s 'http://localhost:8443/evaluationrules?api-version=2025-11-15-preview'
When to use
- Measuring agent quality (accuracy, safety, groundedness)
- A/B testing model versions or prompt changes
- Continuous evaluation of production agent responses
- Red-teaming and safety testing
When NOT to use
- For runtime inference (use /v1/chat/completions or /openai/responses)
- For conversation management (use foundry-conversations skill)
More skills from the kars repository
View all 11 skillsagt-governance
enforce behavioral governance for agents
Jul 12AgentsAuditAzureGovernance +1foundry-agents
inspect and invoke Foundry prompt agents
Jul 12AgentsAPI DevelopmentAzurefoundry-code
execute Python code in Azure Foundry
Jul 12AzureChartsData AnalysisData Visualization +2foundry-conversations
manage persistent conversations via Foundry
Jul 12AgentsAzureMemoryfoundry-deployments
query Foundry model deployments and infrastructure
Jul 12AzureInfrastructureLLMfoundry-knowledge
retrieve knowledge via Foundry RAG
Jul 12AzureKnowledge ManagementResearchSearch
More from Azure (Microsoft)
View publisherazure-arg-external-evaluation-policy-author
author and test Azure Resource Graph policies
azure-policy
Jul 12AzureComplianceGovernancePolicyazure-blueprints-migration
migrate Azure Blueprints to Template Specs
azure-blueprints
Jul 12AzureDeploymentInfrastructure as CodeMigrationapiview-feedback-resolution
resolve APIView feedback on Azure SDKs
azure-sdk-tools
Jul 12API DevelopmentAzureCode ReviewDocumentationazsdk-common-live-and-recorded-tests
deploy resources and run Azure SDK tests
azure-sdk-tools
Jul 12AzureDeploymentSDKTestingazsdk-common-prepare-release-plan
manage Azure SDK release plan work items
azure-sdk-tools
Jul 12AzureGitHubProject ManagementSDKazsdk-common-sdk-release
release Azure SDK packages
azure-sdk-tools
Jul 12AzureCI/CDDeploymentSDK