pydo.genai.list_simulation_journeys()
Generated on 1 Oct 2026
from pydo version
v0.43.0
Usage
client.genai.list_simulation_journeys(
run_uuid="\"123e4567-e89b-12d3-a456-426614174000\"",
scenario_uuid=None,
page=None,
per_page=None,
statuses=None,
verdicts=None,
search=None,
sort_by="SIMULATION_JOURNEY_SORT_FIELD_UNSPECIFIED",
sort_direction="SORT_DIRECTION_UNSPECIFIED",
)Description
To list the journeys within a simulation run, send a GET request to /v2/gen-ai/simulation_runs/{run_uuid}/journeys.
Parameters
run_uuidstring requiredUUID of the run whose journeys to list.
scenario_uuidstring optionalOptional filter by scenario.
pageinteger optionalPage number.
per_pageinteger optionalItems per page.
statusesarray of strings optionalFilter by one or more statuses. Empty means no status filter.
- SIMULATION_JOURNEY_STATUS_RUNNING: The journey is executing and a trajectory is available to retrieve.
- SIMULATION_JOURNEY_STATUS_FINISHED: The journey reached a stop condition and produced a verdict.
- SIMULATION_JOURNEY_STATUS_FAILED: The journey failed because of a cancel, timeout, or error.
- SIMULATION_JOURNEY_STATUS_PREPARING: The journey is allocated but its trajectory is not available yet.verdictsarray of strings optionalFilter by one or more verdicts. Empty means no verdict filter.
- SIMULATION_JOURNEY_VERDICT_SUCCESS: The candidate agent satisfied the scenario's stopping criteria.
- SIMULATION_JOURNEY_VERDICT_FAILURE: The candidate agent did not satisfy the stopping criteria.
- SIMULATION_JOURNEY_VERDICT_INCONCLUSIVE: No conclusive verdict (e.g. max_turns reached without the judge finishing).searchstring optionalFree-text search across scenario_uuid and session_id
(case-insensitive substring match). Empty means no search.sort_bystring optionalField to sort by. Defaults to scenario ordering when unspecified.
- SIMULATION_JOURNEY_SORT_FIELD_SCENARIO: Sort by scenario_uuid then journey_index. Default.
- SIMULATION_JOURNEY_SORT_FIELD_CREATED_AT: Sort by creation date.
- SIMULATION_JOURNEY_SORT_FIELD_STATUS: Sort by journey status using lifecycle order.
- SIMULATION_JOURNEY_SORT_FIELD_VERDICT: Sort by verdict (nulls last).sort_directionstring optionalSort direction. Defaults to ascending when unspecified.
Pagination
This method returns paginated results. The response includes a
links.pages object with URLs for navigating between pages. To
retrieve the next page, parse the next URL and pass the page
parameter:
from urllib.parse import urlparse, parse_qs
resp = client.genai.list_simulation_journeys(run_uuid="\"123e4567-e89b-12d3-a456-426614174000\"", )
pages = resp.get("links", {}).get("pages", {})
while "next" in pages:
parsed = urlparse(pages["next"])
page = int(parse_qs(parsed.query)["page"][0])
resp = client.genai.list_simulation_journeys(run_uuid="\"123e4567-e89b-12d3-a456-426614174000\"", page=page)
pages = resp.get("links", {}).get("pages", {})Response Example
More Information
See /v2/gen-ai/simulation_runs/{run_uuid}/journeys in the API reference for additional detail on responses, headers, parameters, and more.