InferenceIndex API

InferenceIndex API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-26); not the provider's own document.

GitHub OpenAPI

Operations 16

GET / GET / #
GET /v1/account/llm GET /v1/account/llm returns what you chose and what runs now. #
PUT /v1/account/llm PUT /v1/account/llm with {"model": "…"} sets it, and "" or openrouter/auto puts the default back. #
POST /v1/chat/completions OpenAI‑compatible chat completion request with InferenceIndex extensions. #
POST /v1/feedback Send POST /v1/feedback with {"run_id": "run_…", "completed": true} (or false, with a comment). #
GET /v1/logs GET /v1/logs #
GET /v1/models Lists inferenceindex‑0.1 and each of your saved skills. #
GET /v1/plans GET /v1/plans?status=pending Lists your plans. status is optional: pending , worked , or needs_work . #
GET /v1/plans/pln GET /v1/plans/pln_… Reads one plan. #
GET /v1/runs/run GET /v1/runs/run_… reads one run: its steps, each step's choice and margins, its checks and verdict, every answer to its question, and each step's charges. #
GET /v1/skills GET /v1/skills Lists your skills #
POST /v1/skills POST /v1/skills #
DELETE /v1/skills/{id} DELETE /v1/skills/:id Archives it. It can't be called after that, and its versions are kept. #
GET /v1/skills/{id} GET /v1/skills/:id?version=2 Reads one, at a version if you give one #
GET /v1/skills/{id}/steps GET /v1/skills/:id/steps?version=2 Says what runs each step. #
POST /v1/skills/{id}/versions POST /v1/skills/:id/versions with { "skill" } Adds a version. A saved version never changes. #

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/inferenceindex-com:inferenceindex-com-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

inferenceindex-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: InferenceIndex API
  version: '2026-11-26'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-26: 16 operation(s) read from 9 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; InferenceIndex has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 3
    documentation: 13
    pages-with-code: 4
    pages-read: 9
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-26'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://inferenceindex.com/docs/api-reference
  - https://inferenceindex.com/docs/api-reference.md
  - https://inferenceindex.com/docs/quickstart
  - https://inferenceindex.com/docs/quickstart.md
  - https://inferenceindex.com/docs/coding-agents
  - https://inferenceindex.com/docs/skills
  - https://inferenceindex.com/docs/fallback-models
  - https://inferenceindex.com/docs/logs
  - https://inferenceindex.com/docs/faq
servers:
- url: https://inferenceindex-skills-25534459979.us-east4.run.app/v1
paths:
  /:
    get:
      operationId: get
      tags:
      - Api
      summary: GET /
      x-source: https://inferenceindex.com/docs/quickstart
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl What stays the same Run one of your workflows What comes back Next Related \n Get a key \n Open https://app.inferenceindex.com\
          \ . \n Sign in and enter your invite code. \n Get an API key in the dashboard. \n Each invite code works once. A key works only once\
          \ the account has redeemed an invite. \n The base URL is https://inferenceindex-skills-25534459979.us-east4.run.app/v1 . The model is\
          \ inferencein"
  /v1/account/llm:
    get:
      operationId: get_v1_account_llm
      tags:
      - Account
      summary: GET /v1/account/llm returns what you chose and what runs now.
      x-source: https://inferenceindex.com/docs/fallback-models
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1AccountLlmResponse'
      x-evidence:
        kind: documentation
    put:
      operationId: put_v1_account_llm
      tags:
      - Account
      summary: 'PUT /v1/account/llm with {"model": "…"} sets it, and "" or openrouter/auto puts the default back.'
      x-source: https://inferenceindex.com/docs/fallback-models
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutV1AccountLlmRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutV1AccountLlmResponse'
      x-evidence:
        kind: documentation
  /v1/chat/completions:
    post:
      operationId: post_v1_chat_completions
      tags:
      - Chat
      summary: OpenAI‑compatible chat completion request with InferenceIndex extensions.
      x-source: https://inferenceindex.com/docs/api-reference
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1ChatCompletionsRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1ChatCompletionsResponse'
      x-evidence:
        kind: documentation
  /v1/feedback:
    post:
      operationId: post_v1_feedback
      tags:
      - Feedback
      summary: 'Send POST /v1/feedback with {"run_id": "run_…", "completed": true} (or false, with a comment).'
      description: Submits feedback for a completed run. Returns 404 with run_not_found if the run_id is not owned.
      x-source: https://inferenceindex.com/docs/quickstart
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1FeedbackRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/logs:
    get:
      operationId: get_v1_logs
      tags:
      - Logs
      summary: GET /v1/logs
      x-source: https://inferenceindex.com/docs/logs
      parameters:
      - name: show
        in: query
        required: false
        schema:
          type: string
      - name: status
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl \"https://api.inferenceindex.com/v1/logs?show=runs&status=fell_short\"  -H \"Authorization: Bearer YOUR_KEY\" \n GET /v1/logs\
          \ lists your entries, newest first. Each query parameter is optional: \n Parameter What it does show runs for skill runs only, or requests\
          \ for the other requests only \n skill_id Only this skill's runs, skl_… \n status unanswered , completed , or fell_short \n source chat_complet"
  /v1/models:
    get:
      operationId: get_v1_models
      tags:
      - Models
      summary: Lists inferenceindex‑0.1 and each of your saved skills.
      x-source: https://inferenceindex.com/docs/api-reference
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1ModelsResponse'
      x-evidence:
        kind: documentation
  /v1/plans:
    get:
      operationId: get_v1_plans
      tags:
      - Plans
      summary: 'GET /v1/plans?status=pending Lists your plans. status is optional: pending , worked , or needs_work .'
      x-source: https://inferenceindex.com/docs/skills
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
        description: Filter by plan status.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1PlansResponse'
      x-evidence:
        kind: documentation
  /v1/plans/pln:
    get:
      operationId: get_v1_plans_pln
      tags:
      - Plans
      summary: GET /v1/plans/pln_… Reads one plan.
      x-source: https://inferenceindex.com/docs/skills
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1PlansPlnResponse'
      x-evidence:
        kind: documentation
  /v1/runs/run:
    get:
      operationId: get_v1_runs_run
      tags:
      - Runs
      summary: 'GET /v1/runs/run_… reads one run: its steps, each step''s choice and margins, its checks and verdict, every answer to its question,
        and each step''s charges.'
      x-source: https://inferenceindex.com/docs/logs
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/skills:
    get:
      operationId: get_v1_skills
      tags:
      - Skills
      summary: GET /v1/skills Lists your skills
      x-source: https://inferenceindex.com/docs/skills
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1SkillsResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_v1_skills
      tags:
      - Skills
      summary: POST /v1/skills
      x-source: https://inferenceindex.com/docs/skills
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1SkillsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://inferenceindex-skills-25534459979.us-east4.run.app/v1/skills  -H \"Authorization: Bearer YOUR_KEY\"  -H \"Content-Type:\
          \ application/json\"  -d '{\"name\": \"triage-ticket\", \"skill\": \"1. Read the ticket.\\n2. Pick the queue.\\n3. Draft the reply.\"\
          }' \n name can be left out when the skill names itself, with a frontmatter name or a # Title . Saving checks the skill, and the response\
          \ has its id, sk"
  /v1/skills/{id}:
    delete:
      operationId: delete_v1_skills_id
      tags:
      - Skills
      summary: DELETE /v1/skills/:id Archives it. It can't be called after that, and its versions are kept.
      x-source: https://inferenceindex.com/docs/skills
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteV1SkillsIdResponse'
      x-evidence:
        kind: documentation
    get:
      operationId: get_v1_skills_id
      tags:
      - Skills
      summary: GET /v1/skills/:id?version=2 Reads one, at a version if you give one
      x-source: https://inferenceindex.com/docs/skills
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: query
        required: false
        schema:
          type: integer
        description: Version number to read.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1SkillsIdResponse'
      x-evidence:
        kind: documentation
  /v1/skills/{id}/steps:
    get:
      operationId: get_v1_skills_id_steps
      tags:
      - Skills
      summary: GET /v1/skills/:id/steps?version=2 Says what runs each step.
      x-source: https://inferenceindex.com/docs/skills
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: query
        required: false
        schema:
          type: integer
        description: Version number to inspect.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1SkillsIdStepsResponse'
      x-evidence:
        kind: documentation
  /v1/skills/{id}/versions:
    post:
      operationId: post_v1_skills_id_versions
      tags:
      - Skills
      summary: POST /v1/skills/:id/versions with { "skill" } Adds a version. A saved version never changes.
      x-source: https://inferenceindex.com/docs/skills
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1SkillsIdVersionsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1SkillsIdVersionsResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetResponse:
      type: object
      properties:
        role:
          type: string
        content:
          type: string
    GetV1AccountLlmResponse:
      type: object
      properties:
        inferenceindex.llm_model:
          type: string
          description: The model that wrote the text.
    PutV1AccountLlmRequest:
      type: object
      properties:
        model:
          type: string
          description: The model name to set as fallback.
      required:
      - model
    PutV1AccountLlmResponse:
      type: object
      properties:
        inferenceindex.llm_model:
          type: string
          description: The model that wrote the text.
    PostV1ChatCompletionsRequest:
      type: object
      properties:
        reasoning_effort:
          type: string
          description: How hard your fallback model reasons on the steps it writes. One of none, minimal, low, medium, high, xhigh, or max.
        today:
          type: string
          description: Date in YYYY‑MM‑DD used for steps that depend on the date.
        stream_options.include_usage:
          type: string
          description: When stream is true, include a final usage chunk if true.
        settings:
          type: string
          description: 'Tuning object for a skill run. Keys: lean (boolean), one_pass_chars (integer 0‑10 000 000).'
        confidence_policy:
          type: string
          description: Policy for required confidence on arguments. Contains min_param_confidence (0‑1), on_fail (llm|stop), writes_only (boolean),
            max_retries (0‑3).
        model:
          type: string
          description: Model identifier, e.g., inferenceindex‑0.1 or a saved skill id.
    PostV1ChatCompletionsResponse:
      type: object
      properties:
        inferenceindex.decision:
          type: string
          description: Covers the step decision.
        inferenceindex.decisions:
          type: string
          description: Map of tool call ids to objects with action, margin, margins.
        usage:
          type: string
          description: OpenAI usage fields plus decision_input_tokens, decision_output_tokens, cost.
        inferenceindex.timing:
          type: string
          description: Timing breakdown of the request.
        inferenceindex.reasoning_effort:
          type: string
          description: Effort actually used, or none.
        inferenceindex.settings:
          type: string
          description: 'Report of settings applied: lean, one_pass_chars, from_request.'
        inferenceindex.confidence:
          type: string
          description: Result of confidence policy checks.
    PostV1FeedbackRequest:
      type: object
      properties:
        run_id:
          type: string
          description: Identifier of the run to give feedback on.
        completed:
          type: string
          description: Boolean indicating whether the run completed successfully.
        comment:
          type: string
          description: Optional comment explaining the feedback.
        check:
          type: string
          description: If false, the question is turned off and nothing about the run is kept.
      required:
      - run_id
      - completed
    GetV1ModelsResponse:
      type: object
      properties:
        data:
          type: string
          description: Array of model objects, each containing id, object, owned_by, etc.
    GetV1PlansResponse:
      type: object
      properties:
        plans:
          type: array
          description: Array of plan summary objects.
    GetV1PlansPlnResponse:
      type: object
      properties:
        id:
          type: string
          description: Plan identifier.
        name:
          type: string
          description: Plan name.
        body:
          type: string
          description: Plan body.
        sha256:
          type: string
          description: SHA-256 of the plan.
        request:
          type: object
          description: Original request data.
        toolNames:
          type: array
          description: Names of tools used.
        status:
          type: string
          description: Plan status.
        skillId:
          type: string
          description: Associated skill identifier.
        createdAt:
          type: string
          description: Creation timestamp.
        updatedAt:
          type: string
          description: Last update timestamp.
        feedback:
          type: array
          description: Feedback items.
    GetV1SkillsResponse:
      type: object
      properties:
        skills:
          type: array
          description: Array of skill objects.
    PostV1SkillsRequest:
      type: object
      properties:
        name:
          type: string
        skill:
          type: string
    DeleteV1SkillsIdResponse:
      type: object
      properties:
        archived:
          type: boolean
          description: True if the skill was archived.
    GetV1SkillsIdResponse:
      type: object
      properties:
        id:
          type: string
          description: Skill identifier.
        name:
          type: string
          description: Skill name.
        skill:
          type: string
          description: Skill text.
        version:
          type: integer
          description: Current version number.
    GetV1SkillsIdStepsResponse:
      type: object
      properties:
        id:
          type: string
          description: Skill identifier.
        name:
          type: string
          description: Skill name.
        version:
          type: integer
          description: Version number.
        steps:
          type: array
          description: Array of step descriptors.
    PostV1SkillsIdVersionsRequest:
      type: object
      properties:
        skill:
          type: string
          description: The skill text for the new version.
      required:
      - skill
    PostV1SkillsIdVersionsResponse:
      type: object
      properties:
        version:
          type: integer
          description: The newly created version number.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Account
- name: Api
- name: Chat
- name: Feedback
- name: Logs
- name: Models
- name: Plans
- name: Runs
- name: Skills