Runs

Approve Run

Approves a pending run that requires pre-execution approval and makes it runnable.

post/api/v1/runs/{id}/approve

Path parameters

idstring required

Unique run identifier (ULID).

Response

Run approved

idstring required
parent_idstring nullable

Current orchestration parent run ID, if linked.

children_countinteger required

Number of runs currently linked to this run as their orchestration parent.

titlestring required
goalstring required
labelsobject required
source_directorystring nullable required
size'XS' | 'S' | 'M' | 'L' | 'XL' required

Run size bucket derived from the run's current cost.

superseded_bystring nullable required

Run ID that superseded this run via rewind, if any.

retried_fromstring nullable required

Source run ID when this run was created by manual retry.

Example response

{
  "repository": {
    "name": "fabro-sh/fabro",
    "origin_url": "https://github.com/fabro-sh/fabro.git"
  },
  "lifecycle": {
    "error": {
      "message": "Stage 'apply-changes' exceeded maximum retries."
    }
  },
  "sandbox": {
    "plan": {
      "provider": "docker"
    },
    "instance": {
      "provider": "docker"
    }
  },
  "timing": {
    "wall_time_ms": 420000,
    "inference_time_ms": 120000,
    "tool_time_ms": 60000,
    "active_time_ms": 180000
  },
  "diff": {
    "files_changed": 42,
    "additions": 567,
    "deletions": 234
  },
  "pull_request": {
    "owner": "fabro-sh",
    "repo": "fabro",
    "number": 123,
    "html_url": "https://github.com/fabro-sh/fabro/pull/123"
  },
  "current_question": {
    "text": "Accept or push for another round?"
  }
}

Changes

Changed in 18 of the 172 revisions of this API.12943

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////////// to the response with the status

      response-optional-property-added

    This revision also has 12 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 57ca921cdd3811See the full diff
    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ○

      added the required property to the response with the status

      response-required-property-added

    This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      removed the daytona enum value from the ////////// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the daytona enum value from the ////// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the docker enum value from the ////////// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the docker enum value from the ////// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the local enum value from the ////////// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the local enum value from the ////// response property for the response status

      response-property-enum-value-removed

    • ○

      the ////////// response's property pattern ^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$ was added for the status

      response-property-pattern-added

    • ○

      the ////// response's property pattern ^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$ was added for the status

      response-property-pattern-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ●

      added the new daytona enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new daytona enum value to the ////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new docker enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new docker enum value to the ////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new local enum value to the ////////// response property for the response status

      response-property-enum-value-added

    • ●

      added the new local enum value to the ////// response property for the response status

      response-property-enum-value-added

    • ○

      the ////////// response's property pattern ^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$ was removed for the status

      response-property-pattern-removed

    • ○

      the ////// response's property pattern ^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$ was removed for the status

      response-property-pattern-removed

    This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      removed the daytona enum value from the ////////// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the daytona enum value from the ////// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the docker enum value from the ////////// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the docker enum value from the ////// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the local enum value from the ////////// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the local enum value from the ////// response property for the response status

      response-property-enum-value-removed

    • ○

      the ////////// response's property pattern ^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$ was added for the status

      response-property-pattern-added

    • ○

      the ////// response's property pattern ^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$ was added for the status

      response-property-pattern-added

    This revision also has 24 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 18883371dc6f23See the full diff
    • ▲

      removed the required property ////////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////////// from the response with the status

      response-required-property-removed

    • ○

      added the optional property ////////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////////// to the response with the status

      response-optional-property-added

    • ○

      added the required property ////////// to the response with the status

      response-required-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

  • ef906071a8e412See the full diff
    • ●

      added the new publish_failed enum value to the ////// response property for the response status

      response-property-enum-value-added

    • ○

      the response property ///// became required for the status

      response-property-became-required

    • ○

      the response property ///// became required for the status

      response-property-became-required

  • 7fe7b675579921See the full diff
    • ▲

      the response property ///// became optional for the status

      response-property-became-optional

    • ▲

      the response property ///// became optional for the status

      response-property-became-optional

    • ○

      removed the publish_failed enum value from the ////// response property for the response status

      response-property-enum-value-removed

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 4f9aedeb721112See the full diff
    • ●

      added the new publish_failed enum value to the ////// response property for the response status

      response-property-enum-value-added

    • ○

      the response property ///// became required for the status

      response-property-became-required

    • ○

      the response property ///// became required for the status

      response-property-became-required