Skip to main content
GET
Requires version 1.1.12 or later of the Archetype platform.

Overview

This endpoint returns a cursor-paginated list of the caller’s optimization runs, newest first. Each row carries the same trial-status breakdown as GET /agents/optimizations/{optimization_id} — the platform aggregates the whole page in a single query rather than fanning out per row, so a listing can render a progress bar per run without a read each.

Request

integer
default:"100"
Page size. Minimum 1, maximum 1000.
string
Forward cursor: return runs older than the one with this ID. Pass the next_cursor of the previous page to fetch the next page. Mutually exclusive with before.
This parameter is mutually exclusive with before; using both results in an error.
string
Backward cursor: return runs newer than the one with this ID. Pass the prev_cursor of the current page to walk back. Mutually exclusive with after.
This parameter is mutually exclusive with after; using both results in an error.
string
Filter to a single lifecycle status (e.g. pending, completed). Omit for all statuses. One of pending, running, completed, failed, cancelled. This is an exact-match filter.
string
Case-insensitive substring match over the run name and ID. Omit for no search filter.
string
Restrict to runs targeting the blueprint with the specified blp_ ID. This is an exact-match filter.

Response

array
required
The page, ordered newest first. Each entry is an optimization run, in the same format Get Optimization returns. Pages are always sorted newest-first, so you should always render the contents of data as returned.
Since each row in data includes a progress property that summarizes the progress that run is making, you don’t need to perform a secondary lookup to get that information.
boolean
required
true when more results exist beyond this page in the direction of travel.
string
Cursor to continue in the direction of travel: pass as after on a forward page, as before when the request used before. null when has_more is false.
string
Cursor to step back the way the page was reached. null when the request carried no cursor.