The POST /skill-eval-suites/{id}/runs endpoint executes skill evaluation suites asynchronously using AWS Step Functions. Start evaluation suite runs, track execution progress via ARN, and monitor comprehensive skill performance across multiple evaluation criteria and test scenarios.
POST https://your-api-name.mercury.ratiomachina.com/skill-eval-suites/{id}/runs
Content-Type: application/json
Authentication: x-mercury-api-key: YOUR_API_KEYExecute a skill evaluation suite asynchronously. The system creates a new Step Functions execution to run all skill evaluations in the suite and returns tracking information including the AWS execution ARN.
{}id - SkillEvalSuite UUID to executeOptional - Empty body or custom configuration{
"skillEvalSuiteRun": {
"id": "789e1234-e89b-12d3-a456-426614174000",
"suiteId": "456e7890-e89b-12d3-a456-426614174000",
"suiteName": "JSON Parser Skills Evaluation Suite",
"status": "running",
"totalEvals": 5,
"passedEvals": 0,
"failedEvals": 0,
"executionArn": "arn:aws:states:us-west-2:123456789012:execution:hermes-skill-eval-runner-staging:789e1234-e89b-12d3-a456-426614174000",
"startedAt": "2024-01-15T10:35:00Z",
"completedAt": null
}
}id - UUID of the newly created skill evaluation suite runsuiteId - UUID of the parent skill evaluation suitesuiteName - Name of the skill evaluation suite being runstatus - Current status (running, completed, failed)totalEvals - Total number of skill evaluations in the suiteexecutionArn - AWS Step Functions execution ARN for trackingExecute a comprehensive sentiment analysis skill evaluation suite with multiple test scenarios and accuracy metrics.
curl -X POST 'https://api.hermes.com/skill-eval-suites/sentiment-analysis-suite/runs' \
-H 'Content-Type: application/json' \
-H 'x-hermes-api-key: YOUR_API_KEY' \
-d '{}'{
"skillEvalSuiteRun": {
"id": "abc12345-e89b-12d3-a456-426614174000",
"suiteId": "sentiment-analysis-suite",
"suiteName": "Sentiment Analysis Comprehensive Suite",
"status": "running",
"totalEvals": 15,
"passedEvals": 0,
"failedEvals": 0,
"executionArn": "arn:aws:states:us-west-2:123456789012:execution:hermes-skill-eval-runner-staging:abc12345-e89b-12d3-a456-426614174000",
"startedAt": "2024-01-15T14:20:00Z",
"completedAt": null
}
}Execute a knowledge base skill evaluation suite to assess search accuracy, relevance scoring, and information retrieval capabilities.
curl -X POST 'https://api.hermes.com/skill-eval-suites/def67890-e89b-12d3-a456-426614174000/runs' \
-H 'Content-Type: application/json' \
-H 'x-hermes-api-key: YOUR_API_KEY' \
-d '{
"configuration": {
"priority": "high",
"timeoutMinutes": 45
}
}'{
"skillEvalSuiteRun": {
"id": "def67890-e89b-12d3-a456-426614174000",
"suiteId": "def67890-e89b-12d3-a456-426614174000",
"suiteName": "Knowledge Base Skills Evaluation Suite",
"status": "running",
"totalEvals": 20,
"passedEvals": 0,
"failedEvals": 0,
"executionArn": "arn:aws:states:us-west-2:123456789012:execution:hermes-skill-eval-runner-staging:def67890-e89b-12d3-a456-426614174000",
"startedAt": "2024-01-15T16:45:00Z",
"completedAt": null
}
}Example response for a completed skill evaluation suite run showing final results and performance metrics.
{
"skillEvalSuiteRun": {
"id": "ghi98765-e89b-12d3-a456-426614174000",
"suiteId": "json-parser-suite-789",
"suiteName": "JSON Parser Skills Evaluation Suite",
"status": "completed",
"totalEvals": 10,
"passedEvals": 9,
"failedEvals": 1,
"executionArn": "arn:aws:states:us-west-2:123456789012:execution:hermes-skill-eval-runner-staging:ghi98765-e89b-12d3-a456-426614174000",
"startedAt": "2024-01-15T11:00:00Z",
"completedAt": "2024-01-15T11:18:00Z"
}
}Execute custom business logic skill evaluation suites with specialized test cases and domain-specific validation criteria.
curl -X POST 'https://api.hermes.com/skill-eval-suites/external/lead-scoring-suite-v3/runs' \
-H 'Content-Type: application/json' \
-H 'x-hermes-api-key: YOUR_API_KEY' \
-d '{
"configuration": {
"priority": "normal",
"timeoutMinutes": 30,
"parallelExecution": true
}
}'{
"skillEvalSuiteRun": {
"id": "jkl56789-e89b-12d3-a456-426614174000",
"suiteId": "lead-scoring-suite-v3",
"suiteName": "Lead Scoring Business Logic Suite",
"status": "running",
"totalEvals": 25,
"passedEvals": 0,
"failedEvals": 0,
"executionArn": "arn:aws:states:us-west-2:123456789012:execution:hermes-skill-eval-runner-staging:jkl56789-e89b-12d3-a456-426614174000",
"startedAt": "2024-01-15T13:30:00Z",
"completedAt": null
}
}{
"error": "SkillEvalSuite not found",
"details": {
"suiteId": "invalid-skill-suite-id",
"message": "No skill evaluation suite found with the provided ID"
},
"status": "error"
}This endpoint integrates with AWS Step Functions for asynchronous skill evaluation execution. Use the returned executionArn to track progress and monitor the skill evaluation suite run in the AWS Console.
curl -X POST 'https://api.hermes.com/skill-eval-suites/456e7890-e89b-12d3-a456-426614174000/runs' \
-H 'Content-Type: application/json' \
-H 'x-hermes-api-key: YOUR_API_KEY' \
-d '{}'curl -X POST 'https://api.hermes.com/skill-eval-suites/nlp-processing-suite/runs' \
-H 'Content-Type: application/json' \
-H 'x-hermes-api-key: YOUR_API_KEY' \
-d '{
"configuration": {
"priority": "high",
"timeoutMinutes": 60,
"retryOnFailure": true,
"parallelExecution": true
}
}'curl -X POST 'https://api.hermes.com/skill-eval-suites/external/data-processing-suite-v4/runs' \
-H 'Content-Type: application/json' \
-H 'x-hermes-api-key: YOUR_API_KEY' \
-d '{}'