Skip to main content
POST
Stop an experiment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Any unique string (e.g. a UUID). Retrying with the same key within 24 hours replays the first response instead of repeating the change.

Path Parameters

experimentId
string
required

Response

id
string
required
agentId
string
required
name
string
required
status
enum<string>
required
Available options:
RUNNING,
STOPPED
candidatePercent
number
required
Required range: 1 <= x <= 99
candidateModelId
string | null
required

Null when the candidate keeps the control model.

candidateSystemPrompt
string | null
required

Null when the candidate keeps the control instructions.

controlModelId
string
required

The model when the experiment started.

controlSystemPrompt
string
required

The instructions when the experiment started.

startedAt
string<date-time>
required
stoppedAt
string<date-time> | null
required