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

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

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

## Request

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

Get trial prompt and baseline prompt.

## Response `200`

OK

- AgentPromptOptimiserTrialPromptResponse
  - `status` boolean
  - `result` AgentPromptOptimiserTrialPromptResult, required
    - `trial_name` string
    - `optimisation_name` string
    - `created_at` string, date-time
    - `score` number, nullable
    - `score_percentage_change` number, nullable
    - `trial_prompt` string, nullable
    - `base_prompt` string, nullable

## 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)
