inference-sh Agent Runs API

The agent-runs API from inference-sh — 6 operation(s) for agent-runs.

Operations 12

GET /agent-runs Get agent runs #
POST /agent-runs/list Create agent runs list #
GET /agent-runs/{id} Get agent runs by id #
POST /agent-runs/{id}/cancel Create agent runs by id cancel #
GET /agent-runs/{id}/interrupts Get agent runs by id interrupts #
DELETE /agent-runs/{id}/stream Delete agent runs by id stream #
GET /agent-runs/{id}/stream Get agent runs by id stream #
HEAD /agent-runs/{id}/stream Check agent runs by id stream #
OPTIONS /agent-runs/{id}/stream Describe agent runs by id stream #
PATCH /agent-runs/{id}/stream Update agent runs by id stream #
POST /agent-runs/{id}/stream Create agent runs by id stream #
PUT /agent-runs/{id}/stream Replace agent runs by id stream #

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/inference-sh:inference-sh-agent-runs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

inference-sh-agent-runs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: inference.sh Agent Runs API
  version: '2'
servers:
- url: https://api.inference.sh
tags:
- name: Agent Runs
paths:
  /agent-runs:
    get:
      tags:
      - Agent Runs
      responses:
        '200':
          description: Success
      summary: Get agent runs
      x-summary-source: derived
      operationId: getAgentRuns
      x-operation-id-source: derived
  /agent-runs/list:
    post:
      tags:
      - Agent Runs
      responses:
        '200':
          description: Success
      summary: Create agent runs list
      x-summary-source: derived
      operationId: postAgentRunsList
      x-operation-id-source: derived
  /agent-runs/{id}:
    get:
      tags:
      - Agent Runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Get agent runs by id
      x-summary-source: derived
      operationId: getAgentRunsById
      x-operation-id-source: derived
  /agent-runs/{id}/cancel:
    post:
      tags:
      - Agent Runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Create agent runs by id cancel
      x-summary-source: derived
      operationId: postAgentRunsByIdCancel
      x-operation-id-source: derived
  /agent-runs/{id}/interrupts:
    get:
      tags:
      - Agent Runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Get agent runs by id interrupts
      x-summary-source: derived
      operationId: getAgentRunsByIdInterrupts
      x-operation-id-source: derived
  /agent-runs/{id}/stream:
    connect:
      tags:
      - agent-runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
    query:
      tags:
      - agent-runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
    delete:
      tags:
      - Agent Runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Delete agent runs by id stream
      x-summary-source: derived
      operationId: deleteAgentRunsByIdStream
      x-operation-id-source: derived
    get:
      tags:
      - Agent Runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Get agent runs by id stream
      x-summary-source: derived
      operationId: getAgentRunsByIdStream
      x-operation-id-source: derived
    head:
      tags:
      - Agent Runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Check agent runs by id stream
      x-summary-source: derived
      operationId: headAgentRunsByIdStream
      x-operation-id-source: derived
    options:
      tags:
      - Agent Runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Describe agent runs by id stream
      x-summary-source: derived
      operationId: optionsAgentRunsByIdStream
      x-operation-id-source: derived
    patch:
      tags:
      - Agent Runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Update agent runs by id stream
      x-summary-source: derived
      operationId: patchAgentRunsByIdStream
      x-operation-id-source: derived
    post:
      tags:
      - Agent Runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Create agent runs by id stream
      x-summary-source: derived
      operationId: postAgentRunsByIdStream
      x-operation-id-source: derived
    put:
      tags:
      - Agent Runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Replace agent runs by id stream
      x-summary-source: derived
      operationId: putAgentRunsByIdStream
      x-operation-id-source: derived
    trace:
      tags:
      - Agent Runs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Trace agent runs by id stream
      x-summary-source: derived
      operationId: traceAgentRunsByIdStream
      x-operation-id-source: derived