Evals
Update Eval
Update an existing eval's fields and prompts.
Args: eval_uuid (str): UUID of the eval to update. update_request (EvalUpdateRequest): Update data including fields and prompt modifications. workspace_uuid (str, optional): Optional workspace UUID for filtering.
Returns: Eval: The updated eval data.
Raises: AymaraAPIError: If the eval is not found or update is invalid.
Example: PUT /api/evals/{eval_uuid} { "name": "Updated Eval Name", "ai_description": "Updated description", "prompt_updates": [ {"prompt_uuid": "...", "content": "New content", "action": "update"}, {"prompt_uuid": "...", "action": "delete"} ], "prompt_creates": [ {"content": "New prompt", "category": "test"} ] }
put/v2/evals/{eval_uuid}
Path parameters
eval_uuidstring required
Query parameters
workspace_uuidstring
Request body
Response
OK