Create Eval
Create a new eval using an eval type configuration.
Args: eval_request (Eval): Data for the eval to create, including eval type and configuration.
Returns: Eval: The created eval object.
Raises: AymaraAPIError: If the request is invalid.
Example: POST /api/evals { "eval_type": "...", "workspace_uuid": "...", ... }
Request body
Response
Created
Changes
Changed in 11 of the 25 revisions of this API.111232
- ▲
removed the required property
ai_instructions/anyOf[subschema #2: AgentInstructions]/tools/oneOf[subschema #1: ToolArray]/value/items/idfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
ai_instructions/anyOf[subschema #3: WorkflowInstructions]/instructions/items/tools/oneOf[subschema #1: ToolArray]/value/items/idfrom the response with the201statusresponse-required-property-removed
- ●
removed the request property
ai_instructions/anyOf[subschema #2: AgentInstructions]/tools/oneOf[subschema #1: ToolArray]/value/items/idrequest-property-removed
- ●
removed the request property
ai_instructions/anyOf[subschema #3: WorkflowInstructions]/instructions/items/tools/oneOf[subschema #1: ToolArray]/value/items/idrequest-property-removed
- ▲
- ▲
removed
subschema #1subschema #4from theai_instructionsrequest propertyanyOflistrequest-property-any-of-removed
- ○
added
subschema #1subschema #4to theai_instructionsrequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1subschema #4to theai_instructionsresponse propertyanyOflist for the response status201response-property-any-of-added
- ○
removed
subschema #1subschema #4from theai_instructionsresponse propertyanyOflist for the response status201response-property-any-of-removed
- ▲
- ○
added the new optional request property
ai_instructions/anyOf[subschema #2: AgentInstructions]/agent_namenew-optional-request-property
- ○
added
WorkflowInstructionsto theai_instructionsrequest propertyanyOflistrequest-property-any-of-added
- ○
added the optional property
ai_instructions/anyOf[subschema #2: AgentInstructions]/agent_nameto the response with the201statusresponse-optional-property-added
- ○
added
WorkflowInstructionsto theai_instructionsresponse propertyanyOflist for the response status201response-property-any-of-added
- ○
- ▲
removed
ToolsListToolDictToolsStringfrom theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsrequest propertyanyOflistrequest-property-any-of-removed
- ▲
added
ToolArrayToolDictToolStringto theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyoneOflist for the response status201response-property-one-of-added
- ○
added discriminator to
ai_instructions/anyOf[subschema #2: AgentInstructions]/toolsrequest propertyrequest-property-discriminator-added
- ○
added
ToolArrayToolDictToolStringto theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsrequest propertyoneOflistrequest-property-one-of-added
- ○
removed
ToolsListToolDictToolsStringfrom theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyanyOflist for the response status201response-property-any-of-removed
- ○
added discriminator to
ai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse property for the response status201response-property-discriminator-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed
subschema #1subschema #3from theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsrequest propertyanyOflistrequest-property-any-of-removed
- ○
added
subschema #1subschema #3to theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsrequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1subschema #3to theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyanyOflist for the response status201response-property-any-of-added
- ○
removed
subschema #1subschema #3from theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyanyOflist for the response status201response-property-any-of-removed
- ▲
- ▲
removed
subschema #2from theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsrequest propertyanyOflistrequest-property-any-of-removed
- ○
added
subschema #1to theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsrequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1to theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyanyOflist for the response status201response-property-any-of-added
- ○
removed
subschema #2from theai_instructions/anyOf[subschema #2: AgentInstructions]/toolsresponse propertyanyOflist for the response status201response-property-any-of-removed
- ▲
- ○
added
AgentInstructionsto theai_instructionsrequest propertyanyOflistrequest-property-any-of-added
- ○
added
AgentInstructionsto theai_instructionsresponse propertyanyOflist for the response status201response-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 themodality/allOf[subschema #1: ContentType]/response property for the response status201response-property-enum-value-added
- ○
added the new optional request property
created_bynew-optional-request-property
- ○
added the new optional request property
ground_truth/anyOf[subschema #2: FileReference]/file_uuidnew-optional-request-property
- ○
added the new
videoenum value to the request propertymodality/allOf[subschema #1: ContentType]/request-property-enum-value-added
- ○
added the optional property
created_byto the response with the201statusresponse-optional-property-added
- ○
added the optional property
ground_truth/anyOf[subschema #2: FileReference]/file_uuidto the response with the201statusresponse-optional-property-added
- ●
- ▲
removed the enum value
audioof the request propertymodality/allOf[subschema #1: ContentType]/request-property-enum-value-removed
- ▲
removed the enum value
videoof the request propertymodality/allOf[subschema #1: ContentType]/request-property-enum-value-removed
- ○
the
num_promptsrequest property default value changed from50to100request-property-default-value-changed
- ○
the
num_promptsresponse's property default value changed from50to100for the status201response-property-default-value-changed
- ○
removed the
audioenum value from themodality/allOf[subschema #1: ContentType]/response property for the response status201response-property-enum-value-removed
- ○
removed the
videoenum value from themodality/allOf[subschema #1: ContentType]/response property for the response status201response-property-enum-value-removed
- ▲
- ▲
the response property
namebecame optional for the status201response-property-became-optional
- ▲
response property
namelist-of-types was widened by adding typesnullto media typeapplication/jsonof response201response-property-list-of-types-widened
- ○
the request property
namebecame optionalrequest-property-became-optional
- ○
request property
namelist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ▲