Swarms
Create a journey
Creates one journey: a persona pursuing a goal against one or more environments. To draft several with a model first, use POST /projects/{projectId}/journeys/generate — that route persists nothing.
personaId and swarmId must belong to THIS project. Naming one from another project is a 404, not a silent cross-project reference.
Creating a journey does not run it. Launch it with POST /projects/{projectId}/journeys/{journeyId}/runs.
post/projects/{projectId}/journeys
Headers
Idempotency-Keystring
Retry-safe create key. Replaying the SAME key with the SAME body returns the original resource instead of creating a second one; reusing it with a DIFFERENT body is a 409.
Request body
Response
The created journey.