List Journeys
(v2)GET
Lists the journeys in your Confident AI project one page at a time, newest first. Each journey is returned with its id, name, and how many states and goldens it has; retrieve one by id to read its states, edges and paths.
curl -X GET "https://api.confident-ai.com/v2/journeys" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"journeys": [
{
"id": "<JOURNEY-ID>",
"name": "Refund request",
"stateCount": 4,
"goldenCount": 10
}
],
"totalJourneys": 3,
"page": 1,
"pageSize": 25
},
"link": "https://app.confident-ai.com/project/<PROJECT-ID>/journeys",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Query parameters
pageintegerdefault: 1The page to return. Defaults to 1.
pageSizeintegerdefault: 25The number of journeys per page, at most 100. Defaults to 25.
Response
List Journeys succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne page of journeys, with the total across all pages.
Show 4 propertiesHide 4 properties
journeyslist of objectsThe journeys for the current page, newest first.
Show 4 propertiesHide 4 properties
idstringThe id of the journey, generated by Confident AI.
namestringThe name of the journey.
stateCountintegerThe number of states in the journey, including its root.
goldenCountintegerThe number of goldens generated from the journey.
totalJourneysintegerThe total number of journeys in this project.
pageintegerThe page this response covers.
pageSizeintegerThe number of journeys per page.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.