Diamond
evaluations
Create Evaluation
Create a new evaluation job.
Creates a Kubernetes Job to run the evaluation and tracks it in memory. Fetches agent configuration from Agent Registry using the provided agent_id. JWT token is retrieved from request context (set by JWTAuthMiddleware).
Args: request: Evaluation configuration with agent_id and team_id claims: JWT claims with user and team info diamond_domain: Diamond domain orchestrator
Returns: Evaluation ID, status, and status URL
post/v1/evaluations/
Request body
Response
Successful Response