Skip to main content
DELETE
Archive a journey

Authorizations

Authorization
string
header
required

MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.

Path Parameters

projectId
string
required

ID of the hosted project that contains the server.

goalId
string
required

Goal ID, as returned by the project's goal list.

Response

The goal was archived.

Goals ARCHIVE rather than delete: existing runs keep pointing at the definition they executed.

id
string
required
projectId
string
required
archived
enum<boolean>
required
Available options:
true