Skip to main content
POST
/
api
/
v1
/
runs
/
{id}
/
rerun
Retry run
curl --request POST \
  --url https://studio.eigenpal.com/api/v1/runs/{id}/rerun \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "finished": true,
  "source": {
    "id": "<string>",
    "name": "<string>",
    "version": "<string>",
    "versionId": "<string>",
    "slug": "<string>",
    "model": "<string>",
    "git": {
      "requestedRef": "<string>",
      "resolvedRef": "<string>",
      "resolvedTag": "<string>",
      "commitSha": "<string>"
    },
    "implementationAvailable": true,
    "automationFound": true,
    "currentVersion": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key issued from Settings → API Keys. Pass as Authorization: Bearer <key>.

Path Parameters

id
string
required

Source run id to retry.

Query Parameters

version
string

Version for the new run. original pins the source run. Defaults to latest.

wait_for_completion
integer

Seconds to wait before returning (max 600). Omit for async.

Required range: 0 <= x <= 600

Response

Rerun completed while waiting

id
string
required
type
enum<string>
required
Available options:
workflow,
agent
finished
boolean
required
source
object