Evals

Get Eval

Retrieve a specific eval by its UUID.

Args: eval_uuid (str): UUID of the eval to retrieve. workspace_uuid (str, optional): Optional workspace UUID for filtering.

Returns: Eval: The eval data.

Raises: AymaraAPIError: If the eval is not found.

Example: GET /api/evals/{eval_uuid}

get/v2/evals/{eval_uuid}

Path parameters

eval_uuidstring required

Query parameters

workspace_uuidstring

Response

OK

eval_uuidstring nullable

Unique identifier for the evaluation.

namestring nullable

Name of the evaluation.

created_bystring nullable

Name of the user who created the evaluation.

ai_descriptionstring required

Description of the AI under evaluation.

eval_typestring required

Type of the eval (safety, accuracy, etc.)

eval_instructionsstring nullable

Additional instructions for the eval, if any.

languagestring nullable

Language code for the eval (default: "en").

modality'text' | 'image' | 'video'

Content type for AI interactions.

num_promptsinteger nullable

Number of prompts/questions in the eval (default: 50).

is_jailbreakboolean

Indicates if the eval is a jailbreak test.

is_sandboxboolean

Indicates if the eval results are sandboxed.

workspace_uuidstring nullable

UUID of the associated workspace, if any.

status'created' | 'processing' | 'finished' | 'failed'

Resource status.

created_atstring date-time nullable

Timestamp when the eval was created.

updated_atstring date-time nullable

Timestamp when the eval was last updated.

Changes

Changed in 11 of the 25 revisions of this API.51017

    • removed the required property ai_instructions/anyOf[subschema #2: AgentInstructions]/tools/oneOf[subschema #1: ToolArray]/value/items/id from the response with the 200 status

      response-required-property-removed

    • removed the required property ai_instructions/anyOf[subschema #3: WorkflowInstructions]/instructions/items/tools/oneOf[subschema #1: ToolArray]/value/items/id from the response with the 200 status

      response-required-property-removed

    • added subschema #1 subschema #4 to the ai_instructions response property anyOf list for the response status 200

      response-property-any-of-added

    • removed subschema #1 subschema #4 from the ai_instructions response property anyOf list for the response status 200

      response-property-any-of-removed

    • added the optional property ai_instructions/anyOf[subschema #2: AgentInstructions]/agent_name to the response with the 200 status

      response-optional-property-added

    • added WorkflowInstructions to the ai_instructions response property anyOf list for the response status 200

      response-property-any-of-added

  • 1af31c95d91a12See the full diff
    • added ToolArray ToolDict ToolString to the ai_instructions/anyOf[subschema #2: AgentInstructions]/tools response property oneOf list for the response status 200

      response-property-one-of-added

    • removed ToolsList ToolDict ToolsString from the ai_instructions/anyOf[subschema #2: AgentInstructions]/tools response property anyOf list for the response status 200

      response-property-any-of-removed

    • added discriminator to ai_instructions/anyOf[subschema #2: AgentInstructions]/tools response property for the response status 200

      response-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 #1 subschema #3 to the ai_instructions/anyOf[subschema #2: AgentInstructions]/tools response property anyOf list for the response status 200

      response-property-any-of-added

    • removed subschema #1 subschema #3 from the ai_instructions/anyOf[subschema #2: AgentInstructions]/tools response property anyOf list for the response status 200

      response-property-any-of-removed

    • added subschema #1 to the ai_instructions/anyOf[subschema #2: AgentInstructions]/tools response property anyOf list for the response status 200

      response-property-any-of-added

    • removed subschema #2 from the ai_instructions/anyOf[subschema #2: AgentInstructions]/tools response property anyOf list for the response status 200

      response-property-any-of-removed

    • added AgentInstructions to the ai_instructions response property anyOf list for the response status 200

      response-property-any-of-added

  • 9b529d67a7d0102See the full diff
    • added the new auth.workspace_required enum value to the error/code response property for the response status 400

      response-property-enum-value-added

    • added the new auth.workspace_required enum value to the error/code response property for the response status 401

      response-property-enum-value-added

    • added the new auth.workspace_required enum value to the error/code response property for the response status 403

      response-property-enum-value-added

    • added the new auth.workspace_required enum value to the error/code response property for the response status 404

      response-property-enum-value-added

    • added the new auth.workspace_required enum value to the error/code response property for the response status 409

      response-property-enum-value-added

    • added the new auth.workspace_required enum value to the error/code response property for the response status 422

      response-property-enum-value-added

    • added the new auth.workspace_required enum value to the error/code response property for the response status 429

      response-property-enum-value-added

    • added the new auth.workspace_required enum value to the error/code response property for the response status 500

      response-property-enum-value-added

    • added the new auth.workspace_required enum value to the error/code response property for the response status 503

      response-property-enum-value-added

    • added the new video enum value to the modality/allOf[subschema #1: ContentType]/ response property for the response status 200

      response-property-enum-value-added

    • added the optional property created_by to the response with the 200 status

      response-optional-property-added

    • added the optional property ground_truth/anyOf[subschema #2: FileReference]/file_uuid to the response with the 200 status

      response-optional-property-added

    • the num_prompts response's property default value changed from 50 to 100 for the status 200

      response-property-default-value-changed

    • removed the audio enum value from the modality/allOf[subschema #1: ContentType]/ response property for the response status 200

      response-property-enum-value-removed

    • removed the video enum value from the modality/allOf[subschema #1: ContentType]/ response property for the response status 200

      response-property-enum-value-removed

    • the response property name became optional for the status 200

      response-property-became-optional

    • response property name list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened