---
title: "GET /simulate/api/agent-prompt-optimiser/{id}/trial/{trial_id}/evaluations/"
method: GET
path: "/simulate/api/agent-prompt-optimiser/{id}/trial/{trial_id}/evaluations/"
tags: ["simulate"]
---

# GET /simulate/api/agent-prompt-optimiser/{id}/trial/{trial_id}/evaluations/

`GET /simulate/api/agent-prompt-optimiser/{id}/trial/{trial_id}/evaluations/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/simulate/api/agent-prompt-optimiser/{id}/trial/{trial_id}/evaluations/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Get evaluations for a trial grouped by eval_config.

## Response `200`

OK

- AgentPromptOptimiserTrialEvaluationsResponse
  - `status` boolean
  - `result` AgentPromptOptimiserTrialEvaluationsResult, required
    - `trial_name` string
    - `optimisation_name` string
    - `created_at` string, date-time
    - `score` number, nullable
    - `score_percentage_change` number, nullable
    - `table` AgentPromptOptimiserTrialEvaluationRow[]
      - `id` string, uuid
      - `eval_name` string, nullable
      - `eval_template_description` string, nullable
      - `score` number, nullable
      - `score_percentage_change` number, nullable
    - `column_config` AgentPromptOptimiserColumnConfig[]
      - `id` string
      - `name` string
      - `is_visible` boolean

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
