---
title: "GET /simulate/api/agent-prompt-optimiser/"
method: GET
path: "/simulate/api/agent-prompt-optimiser/"
tags: ["simulate"]
---

# GET /simulate/api/agent-prompt-optimiser/

`GET /simulate/api/agent-prompt-optimiser/`

## Request

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

List all agent prompt optimiser runs with table config for dynamic columns.

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

OK

- object
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` AgentPromptOptimiserRunList[], required
    - `id` string, uuid
    - `optimisation_name` string, required
    - `started_at` string, date-time, required
    - `no_of_trials` string
    - `optimiser_type` 'random_search' | 'gepa' | 'protegi' | 'bayesian' | 'metaprompt' | 'promptwizard', required
    - `status` 'pending' | 'running' | 'completed' | 'failed'
    - `error_message` string, nullable
    - `configuration` object, nullable
    - `model` string, required: LLM model used for the optimiser run

## Other responses

- `400`: Bad Request
- `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)
