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

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

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

## Request

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

Get all steps for this optimization run.

## Response `200`

OK

- AgentPromptOptimiserRunStepsResponse
  - `status` boolean
  - `result` AgentPromptOptimiserRunStep[], required
    - `id` string, uuid
    - `name` string, required
    - `description` string, nullable
    - `status` 'pending' | 'running' | 'completed' | 'failed'
    - `metadata` object, nullable
    - `step_number` integer, required
    - `created_at` string, date-time
    - `updated_at` string, date-time

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