Create Eval Run
Create a new eval run for an eval.
Args: eval_run_data (EvalRunRequest): Data for the eval run to create. workspace_uuid (str, optional): UUID of the workspace. Defaults to None. is_sandbox (bool, optional): Whether to run in sandbox mode. Defaults to None.
Returns: EvalRunResult: The created eval run result.
Raises: AymaraAPIError: If the organization is missing or the request is invalid.
Example: POST /api/eval-runs { "eval_uuid": "...", ... }
Query parameters
Request body
Response
OK
Changes
Changed in 13 of the 25 revisions of this API.71130
- ▲
removed the required property
evaluation/anyOf[subschema #1: Eval]/ai_instructions/anyOf[subschema #2: AgentInstructions]/tools/oneOf[subschema #1: ToolArray]/value/items/idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
evaluation/anyOf[subschema #1: Eval]/ai_instructions/anyOf[subschema #3: WorkflowInstructions]/instructions/items/tools/oneOf[subschema #1: ToolArray]/value/items/idfrom the response with the200statusresponse-required-property-removed
- ▲
- ○
added
subschema #1subschema #4to theevaluation/anyOf[subschema #1: Eval]/ai_instructionsresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
removed
subschema #1subschema #4from theevaluation/anyOf[subschema #1: Eval]/ai_instructionsresponse propertyanyOflist for the response status200response-property-any-of-removed
- ○
- ○
added the optional property
evaluation/anyOf[subschema #1: Eval]/ai_instructions/anyOf[subschema #2: AgentInstructions]/agent_nameto the response with the200statusresponse-optional-property-added
- ○
added
WorkflowInstructionsto theevaluation/anyOf[subschema #1: Eval]/ai_instructionsresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
- ▲
added
ToolArrayToolDictToolStringto theevaluation/anyOf[subschema #1: Eval]/ai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyoneOflist for the response status200response-property-one-of-added
- ○
removed
ToolsListToolDictToolsStringfrom theevaluation/anyOf[subschema #1: Eval]/ai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyanyOflist for the response status200response-property-any-of-removed
- ○
added discriminator to
evaluation/anyOf[subschema #1: Eval]/ai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse property for the response status200response-property-discriminator-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added
subschema #1subschema #3to theevaluation/anyOf[subschema #1: Eval]/ai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
removed
subschema #1subschema #3from theevaluation/anyOf[subschema #1: Eval]/ai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyanyOflist for the response status200response-property-any-of-removed
- ○
- ○
added the optional property
responses/anyOf[subschema #1]/items/manually_updatedto the response with the200statusresponse-optional-property-added
- ○
added the optional property
responses/anyOf[subschema #1]/items/manually_updated_atto the response with the200statusresponse-optional-property-added
- ○
added the optional property
responses/anyOf[subschema #1]/items/manually_updated_byto the response with the200statusresponse-optional-property-added
- ○
added the optional property
responses/anyOf[subschema #1]/items/update_historyto the response with the200statusresponse-optional-property-added
- ○
- ○
added
subschema #1to theevaluation/anyOf[subschema #1: Eval]/ai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
removed
subschema #2from theevaluation/anyOf[subschema #1: Eval]/ai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyanyOflist for the response status200response-property-any-of-removed
- ○
- ○
added
AgentInstructionsto theevaluation/anyOf[subschema #1: Eval]/ai_instructionsresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
- ●
added the new
auth.workspace_requiredenum value to theerror/coderesponse property for the response status400response-property-enum-value-added
- ●
added the new
auth.workspace_requiredenum value to theerror/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
auth.workspace_requiredenum value to theerror/coderesponse property for the response status403response-property-enum-value-added
- ●
added the new
auth.workspace_requiredenum value to theerror/coderesponse property for the response status404response-property-enum-value-added
- ●
added the new
auth.workspace_requiredenum value to theerror/coderesponse property for the response status409response-property-enum-value-added
- ●
added the new
auth.workspace_requiredenum value to theerror/coderesponse property for the response status422response-property-enum-value-added
- ●
added the new
auth.workspace_requiredenum value to theerror/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
auth.workspace_requiredenum value to theerror/coderesponse property for the response status500response-property-enum-value-added
- ●
added the new
auth.workspace_requiredenum value to theerror/coderesponse property for the response status503response-property-enum-value-added
- ●
added the new
videoenum value to theevaluation/anyOf[subschema #1: Eval]/modality/allOf[subschema #1: ContentType]/response property for the response status200response-property-enum-value-added
- ●
added the new
videoenum value to theresponses/anyOf[subschema #1]/items/content_type/allOf[subschema #1: ContentType]/response property for the response status200response-property-enum-value-added
- ○
added the new optional request property
responses/items/content/anyOf[subschema #2: FileReference]/file_uuidnew-optional-request-property
- ○
added the new
videoenum value to the request propertyresponses/items/content_type/allOf[subschema #1: ContentType]/request-property-enum-value-added
- ○
added the optional property
eval_run_examplesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
evaluation/anyOf[subschema #1: Eval]/created_byto the response with the200statusresponse-optional-property-added
- ○
added the optional property
evaluation/anyOf[subschema #1: Eval]/ground_truth/anyOf[subschema #2: FileReference]/file_uuidto the response with the200statusresponse-optional-property-added
- ○
added the optional property
is_sandboxto the response with the200statusresponse-optional-property-added
- ○
added the optional property
responses/anyOf[subschema #1]/items/content/anyOf[subschema #2: FileReference]/file_uuidto the response with the200statusresponse-optional-property-added
- ●
- ▲
removed the enum value
audioof the request propertyresponses/items/content_type/allOf[subschema #1: ContentType]/request-property-enum-value-removed
- ▲
removed the enum value
videoof the request propertyresponses/items/content_type/allOf[subschema #1: ContentType]/request-property-enum-value-removed
- ○
the
num_promptsresponse's property default value changed from50to100for the status200response-property-default-value-changed
- ○
removed the
audioenum value from theevaluation/anyOf[subschema #1: Eval]/modality/allOf[subschema #1: ContentType]/response property for the response status200response-property-enum-value-removed
- ○
removed the
audioenum value from theresponses/anyOf[subschema #1]/items/content_type/allOf[subschema #1: ContentType]/response property for the response status200response-property-enum-value-removed
- ○
removed the
videoenum value from theevaluation/anyOf[subschema #1: Eval]/modality/allOf[subschema #1: ContentType]/response property for the response status200response-property-enum-value-removed
- ○
removed the
videoenum value from theresponses/anyOf[subschema #1]/items/content_type/allOf[subschema #1: ContentType]/response property for the response status200response-property-enum-value-removed
- ▲