LiveGraph Runs API

The runs API from LiveGraph — 21 operation(s) for runs.

GitHub OpenAPI

Operations 21

POST /runs Start a run — dispatches the entry hop and streams via WS #
POST /runs/{id}/rerun Rerun — a fresh run from the same input and graph snapshot #
POST /runs/{id}/routing-overlay Redirect a live run's next hop — the canvas edge-drag lands here #
POST /runs/{id}/approve Approve a gate — resumes the held hop with optional input/declared secrets #
POST /runs/{id}/deny-tool-approval Deny a pending tool approval on a run #
POST /runs/{id}/share Create a read-only embed/share token for one run — ttlSeconds ≤24h (default 2h)… #
GET /runs/{id}/demo-pack Export a run's shareable data as a token-free JSON snapshot (embed view + beats… #
POST /runs/{id}/pause Pause a run at the next step/hop boundary — resumable via POST /runs/:id/resume #
PATCH /runs/{id}/plan Edit the run's task list — steering the agent's plan #
POST /runs/{id}/cancel Cancel a run — in-flight hops finish, queued hops no-op #
POST /runs/{id}/request-changes Send reviewer feedback back into a run (request-changes on a gated hop) #
POST /runs/{id}/memory-proposals/{index}/apply Apply a run's memory proposal — writes the file in the worktree and commits it… #
POST /runs/{id}/memory-proposals/{index}/reject Reject a run's memory proposal — no worktree write #
POST /runs/{id}/memory-proposals Promote selected hops' memory proposals to the run's proposal list #
POST /runs/{id}/resume Resume an errored/budget-exceeded/paused run — optionally with a new cost… #
POST /graphs/{graphId}/runs/{runId}/fork Fork a run at a hop — branches execution with optional overrides and mode #
GET /runs/{id} A run with its hop/event detail — the live run view #
GET /graphs/{id}/runs Runs on a graph — paginated, optionally narrowed to one launcher #
GET /approvals Pending approval gates across the caller's approvable graphs #
GET /approvals/decisions Tool-approval decision history across the caller's graphs #
GET /graphs/{graphId}/nodes/{nodeId}/conversations Conversation history for one node across recent runs #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/livegraph-ai:livegraph-ai-runs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

livegraph-ai-runs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LiveGraph Runs API
  version: 1.0.0
  description: LiveGraph — the live, editable agent canvas. Authenticate with the livegraph_session cookie or an x-api-key header. Errors share the {error, code?} envelope; validation failures return 400.
security:
- sessionCookie: []
- apiKey: []
tags:
- name: Runs
paths:
  /runs:
    post:
      summary: Start a run — dispatches the entry hop and streams via WS
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                graphId:
                  type: string
                  format: uuid
                input: {}
                mode:
                  type: string
                  enum:
                  - pinned
                  - live
                  default: pinned
                maxCostUsd:
                  anyOf:
                  - type: number
                    exclusiveMinimum: 0
                  - type: 'null'
                budgetDowngradeTarget:
                  anyOf:
                  - type: object
                    properties:
                      provider:
                        type: string
                        enum:
                        - anthropic
                        - openai
                        - xai
                        - openrouter
                        - openai-compatible
                        - groq
                        - cerebras
                        - mistral
                        - github-models
                        - nvidia
                        - mock
                        - transform
                        - devin
                        - github-copilot
                        - cursor
                        - cli-agent
                      model:
                        type: string
                        minLength: 1
                    required:
                    - provider
                    - model
                    additionalProperties: false
                  - type: 'null'
                modelOverride:
                  type: object
                  properties:
                    provider:
                      type: string
                      enum:
                      - anthropic
                      - openai
                      - xai
                      - openrouter
                      - openai-compatible
                      - groq
                      - cerebras
                      - mistral
                      - github-models
                      - nvidia
                      - mock
                      - transform
                      - devin
                      - github-copilot
                      - cursor
                      - cli-agent
                    model:
                      type: string
                      minLength: 1
                  required:
                  - provider
                  - model
                  additionalProperties: false
                conversationId:
                  type: string
                  format: uuid
                entryNodeId:
                  type: string
                  format: uuid
              required:
              - graphId
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postRuns
      x-operation-id-source: derived
  /runs/{id}/rerun:
    post:
      summary: Rerun — a fresh run from the same input and graph snapshot
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      operationId: postRunsByIdRerun
      x-operation-id-source: derived
  /runs/{id}/routing-overlay:
    post:
      summary: Redirect a live run's next hop — the canvas edge-drag lands here
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                edgeId:
                  type: string
                  format: uuid
                targetNodeId:
                  type: string
                  format: uuid
              required:
              - edgeId
              - targetNodeId
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postRunsByIdRoutingOverlay
      x-operation-id-source: derived
  /runs/{id}/approve:
    post:
      summary: Approve a gate — resumes the held hop with optional input/declared secrets
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                input: {}
                reason:
                  type: string
                  maxLength: 2000
                secrets:
                  type: object
                  additionalProperties:
                    type: string
                    maxLength: 4000
                answer:
                  type: string
                  maxLength: 4000
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postRunsByIdApprove
      x-operation-id-source: derived
  /runs/{id}/deny-tool-approval:
    post:
      summary: Deny a pending tool approval on a run
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                reason:
                  type: string
                  maxLength: 2000
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postRunsByIdDenyToolApproval
      x-operation-id-source: derived
  /runs/{id}/share:
    post:
      summary: Create a read-only embed/share token for one run — ttlSeconds ≤24h (default 2h)…
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ttlSeconds:
                  type: integer
                  minimum: 60
                  maximum: 86400
                ttlDays:
                  type: integer
                  minimum: 1
                  maximum: 90
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postRunsByIdShare
      x-operation-id-source: derived
  /runs/{id}/demo-pack:
    get:
      summary: Export a run's shareable data as a token-free JSON snapshot (embed view + beats…
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      operationId: getRunsByIdDemoPack
      x-operation-id-source: derived
  /runs/{id}/pause:
    post:
      summary: Pause a run at the next step/hop boundary — resumable via POST /runs/:id/resume
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      operationId: postRunsByIdPause
      x-operation-id-source: derived
  /runs/{id}/plan:
    patch:
      summary: Edit the run's task list — steering the agent's plan
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                items:
                  type: array
                  items:
                    type: object
                    properties:
                      text:
                        type: string
                        minLength: 1
                        maxLength: 500
                      status:
                        type: string
                        enum:
                        - pending
                        - in_progress
                        - done
                        - skipped
                      detail:
                        type: string
                        maxLength: 1000
                    required:
                    - text
                    - status
                    additionalProperties: false
                  maxItems: 50
              required:
              - items
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: patchRunsByIdPlan
      x-operation-id-source: derived
  /runs/{id}/cancel:
    post:
      summary: Cancel a run — in-flight hops finish, queued hops no-op
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                reason:
                  type: string
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postRunsByIdCancel
      x-operation-id-source: derived
  /runs/{id}/request-changes:
    post:
      summary: Send reviewer feedback back into a run (request-changes on a gated hop)
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                feedback:
                  type: string
                  minLength: 1
                  maxLength: 4000
              required:
              - feedback
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postRunsByIdRequestChanges
      x-operation-id-source: derived
  /runs/{id}/memory-proposals/{index}/apply:
    post:
      summary: Apply a run's memory proposal — writes the file in the worktree and commits it…
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: index
        in: path
        required: true
        schema:
          type: integer
          minimum: 0
      operationId: postRunsByIdMemoryProposalsByIndexApply
      x-operation-id-source: derived
  /runs/{id}/memory-proposals/{index}/reject:
    post:
      summary: Reject a run's memory proposal — no worktree write
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: index
        in: path
        required: true
        schema:
          type: integer
          minimum: 0
      operationId: postRunsByIdMemoryProposalsByIndexReject
      x-operation-id-source: derived
  /runs/{id}/memory-proposals:
    post:
      summary: Promote selected hops' memory proposals to the run's proposal list
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sharedContextIndex:
                  type: integer
                  minimum: 0
                path:
                  type: string
                  minLength: 1
                  maxLength: 500
              required:
              - sharedContextIndex
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postRunsByIdMemoryProposals
      x-operation-id-source: derived
  /runs/{id}/resume:
    post:
      summary: Resume an errored/budget-exceeded/paused run — optionally with a new cost…
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                maxCostUsd:
                  anyOf:
                  - type: number
                    exclusiveMinimum: 0
                  - type: 'null'
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postRunsByIdResume
      x-operation-id-source: derived
  /graphs/{graphId}/runs/{runId}/fork:
    post:
      summary: Fork a run at a hop — branches execution with optional overrides and mode
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: graphId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: runId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                fromSequence:
                  type: integer
                  minimum: 0
                mode:
                  type: string
                  enum:
                  - pinned
                  - live
                overrides:
                  type: object
                  properties:
                    input: {}
                    provider:
                      type: string
                      enum:
                      - anthropic
                      - openai
                      - xai
                      - openrouter
                      - openai-compatible
                      - groq
                      - cerebras
                      - mistral
                      - github-models
                      - nvidia
                      - mock
                      - transform
                      - devin
                      - github-copilot
                      - cursor
                      - cli-agent
                    model:
                      type: string
                      minLength: 1
                    systemPrompt:
                      type: string
                  additionalProperties: false
              required:
              - fromSequence
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postGraphsByGraphIdRunsByRunIdFork
      x-operation-id-source: derived
  /runs/{id}:
    get:
      summary: A run with its hop/event detail — the live run view
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      operationId: getRunsById
      x-operation-id-source: derived
  /graphs/{id}/runs:
    get:
      summary: Runs on a graph — paginated, optionally narrowed to one launcher
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: launcher
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            const: me
          - type: string
            format: uuid
      - name: status
        in: query
        required: false
        schema:
          type: string
      operationId: getGraphsByIdRuns
      x-operation-id-source: derived
  /approvals:
    get:
      summary: Pending approval gates across the caller's approvable graphs
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 500
          default: 100
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
      operationId: getApprovals
      x-operation-id-source: derived
  /approvals/decisions:
    get:
      summary: Tool-approval decision history across the caller's graphs
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 500
          default: 100
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
      operationId: getApprovalsDecisions
      x-operation-id-source: derived
  /graphs/{graphId}/nodes/{nodeId}/conversations:
    get:
      summary: Conversation history for one node across recent runs
      tags:
      - Runs
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: graphId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: nodeId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 500
      operationId: getGraphsByGraphIdNodesByNodeIdConversations
      x-operation-id-source: derived
components:
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: cookie
      name: livegraph_session
    apiKey:
      type: apiKey
      in: header
      name: x-api-key