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.
Authorizations
MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.
Headers
Body
The goal to create.
Response
The created goal.
A persona's task: what they are trying to accomplish, and across which targets. Launching one is POST /projects/{projectId}/goals/{goalId}/runs.

