Create a journey
Creates one goal: a persona pursuing a task against one or more environments. To draft several with a model first, use POST /projects/{projectId}/goals/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 goal does not run it. Launch it with POST /projects/{projectId}/goals/{goalId}/runs.
Headers
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 goal.
Changes
Changed in 1 of the 122 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 50 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○