Skip to main content
Returns all projects, with optional filtering by phase and node.

Query parameters

string
Filter by lifecycle phase. Accepted values: Pending, Scheduled, Running, Failed, Terminating, Terminated.You can repeat this parameter to match multiple phases (OR logic):?phase=Scheduled&phase=RunningWhen combined with nodeRef, both filters are applied (AND logic).
string
Filter by the name of the node the scheduler assigned to the project. Projects in Pending phase have no nodeRef and are excluded when this filter is set.

Response

Returns a ProjectList object.
string
required
Always "caravanserai/v1".
string
required
Always "ProjectList".
object[]
required
Array of Project objects. Empty when no projects match.

Examples