Run Eval
Changed onRun the eval with the provided responses.
Args: eval_run_data (EvalRunRequest): Data for the eval run, including responses. workspace_uuid (str, optional): UUID of the workspace. Defaults to None. is_sandbox (bool, optional): Whether to run in sandbox mode. Defaults to False.
Returns: EvalRunResult: The result of the eval run after scoring the responses.
Raises: AymaraAPIError: If the organization is missing or the request is invalid.
Example: POST /api/eval-runs/-/score-responses { "eval_uuid": "...", "responses": [...] }
Request
- Base URLhttps://api.aymara.ai
- Auth
- API key in header x-api-key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Request body
Response
OK
Changes
- breaking
removed the required property
////////from the response with the status - breaking
removed the required property
//////////from the response with the status
- breaking
- info
added
subschema #1subschema #4to the//response propertyanyOflist for the response status - info
removed
subschema #1subschema #4from the//response propertyanyOflist for the response status
- info