> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Eval Agent

> Fetch one eval agent and its current draft version.

### Headers

<ParamField header="authorization" type="string" required>
  Your API key for authentication.
</ParamField>

### Path Parameters

<ParamField path="eval_agent_id" type="string" required>
  The unique identifier of the eval agent.
</ParamField>

### Response

<ResponseField name="data.agent" type="object">
  The requested eval agent.
</ResponseField>

<ResponseField name="data.agent.id" type="string">
  Unique identifier for the eval agent.
</ResponseField>

<ResponseField name="data.agent.org_id" type="string">
  ID of the organization that owns this eval agent.
</ResponseField>

<ResponseField name="data.agent.key" type="string">
  Unique slug key for the eval agent within the organization.
</ResponseField>

<ResponseField name="data.agent.name" type="string">
  Display name of the eval agent.
</ResponseField>

<ResponseField name="data.agent.description" type="string | null">
  Optional description of what the eval agent grades.
</ResponseField>

<ResponseField name="data.agent.current_version_id" type="string">
  ID of the current editable draft version.
</ResponseField>

<ResponseField name="data.agent.active_version_id" type="string | null">
  ID of the published version experiments run against, or `null` if never published.
</ResponseField>

<ResponseField name="data.agent.metadata" type="object">
  Key-value metadata associated with the eval agent. Values are strings.
</ResponseField>

<ResponseField name="data.agent.created_at" type="string">
  ISO 8601 timestamp for when the eval agent was created.
</ResponseField>

<ResponseField name="data.agent.updated_at" type="string">
  ISO 8601 timestamp for when the eval agent was last updated.
</ResponseField>

<ResponseField name="data.agent.deleted_at" type="string | null">
  ISO 8601 timestamp if the eval agent has been soft-deleted, otherwise `null`.
</ResponseField>

<ResponseField name="data.current_version" type="object">
  The current editable draft version of the eval agent.
</ResponseField>

<ResponseField name="data.current_version.id" type="string">
  Unique identifier for this version.
</ResponseField>

<ResponseField name="data.current_version.org_id" type="string">
  ID of the organization that owns this version.
</ResponseField>

<ResponseField name="data.current_version.eval_agent_id" type="string">
  ID of the parent eval agent.
</ResponseField>

<ResponseField name="data.current_version.version_number" type="integer">
  Sequential version number.
</ResponseField>

<ResponseField name="data.current_version.name" type="string">
  Name of this version.
</ResponseField>

<ResponseField name="data.current_version.description" type="string | null">
  Optional description of this version.
</ResponseField>

<ResponseField name="data.current_version.state" type="string">
  State of this version. One of `editable` or `archived`.
</ResponseField>

<ResponseField name="data.current_version.modality" type="string">
  One of `text` or `audio`.
</ResponseField>

<ResponseField name="data.current_version.system_prompt_md" type="string">
  The system prompt for the judge LLM, in Markdown.
</ResponseField>

<ResponseField name="data.current_version.prompt_md" type="string">
  The grading prompt for the judge LLM, in Markdown.
</ResponseField>

<ResponseField name="data.current_version.levels" type="array of objects">
  Verdict levels for graded mode. Empty array for pass/fail mode. Each level contains `level_key`, `label`, `prompt_md`, and optionally `color`.
</ResponseField>

<ResponseField name="data.current_version.target_level_keys" type="array of strings">
  Which level keys count as a target match. Empty array for pass/fail agents.
</ResponseField>

<ResponseField name="data.current_version.weight" type="number">
  Relative weight of this agent in aggregate scoring. Between 0 and 100.
</ResponseField>

<ResponseField name="data.current_version.created_from_version_id" type="string | null">
  ID of the version this was forked from, or `null` if this is the first version.
</ResponseField>

<ResponseField name="data.current_version.created_by" type="string | null">
  Identifier of the user who created this version, or `null`.
</ResponseField>

<ResponseField name="data.current_version.created_at" type="string">
  ISO 8601 timestamp for when this version was created.
</ResponseField>

<ResponseField name="data.current_version.updated_at" type="string">
  ISO 8601 timestamp for when this version was last updated.
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "errors": null,
    "data": {
      "agent": {
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "org_id": "f0e1d2c3-b4a5-9678-fedc-ba9876543210",
        "key": "empathy-check",
        "name": "Empathy Check",
        "description": "Grades how empathetic the agent sounds during difficult conversations.",
        "current_version_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "active_version_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
        "metadata": {},
        "created_at": "2026-03-01T09:00:00.000Z",
        "updated_at": "2026-05-20T14:00:00.000Z",
        "deleted_at": null
      },
      "current_version": {
        "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "org_id": "f0e1d2c3-b4a5-9678-fedc-ba9876543210",
        "eval_agent_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "version_number": 3,
        "name": "Empathy Check v3",
        "description": "Refined grading criteria based on feedback.",
        "state": "editable",
        "modality": "audio",
        "system_prompt_md": "You are an expert call quality reviewer.",
        "prompt_md": "Did the agent express empathy when the caller described their problem?",
        "levels": [
          {
            "level_key": "excellent",
            "label": "Excellent",
            "prompt_md": "The agent clearly and warmly acknowledged the caller's feelings.",
            "color": "emerald"
          },
          {
            "level_key": "poor",
            "label": "Poor",
            "prompt_md": "The agent ignored or dismissed the caller's feelings.",
            "color": "rose"
          }
        ],
        "target_level_keys": ["excellent"],
        "weight": 10,
        "created_from_version_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
        "created_by": "9a8b7c6d-5e4f-3210-9876-543210fedcba",
        "created_at": "2026-05-15T08:00:00.000Z",
        "updated_at": "2026-05-27T10:00:00.000Z"
      }
    }
  }
  ```
</ResponseExample>
