River AI, Inc. API

River AI, Inc. API as documented publicly: 5 operations. Contract generated from the documentation by API Evangelist (2026-10-18); not the provider's own document.

Operations 5

GET /v1 GET /v1 #
GET /v1/chat/completions GET /v1/chat/completions #
POST /v1/chat/completions Inference quickstart #
GET /v1/models Inference quickstart #
POST /v1/responses Inference quickstart #

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/river-ai:river-ai-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

river-ai-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: River AI, Inc. API
  version: '2026-10-18'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-18: 5 operation(s) read from 6 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; River AI, Inc. has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 2
    documentation: 3
    pages-with-code: 2
    pages-read: 6
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-18'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.river.ai/guides/inference.md
  - https://docs.river.ai/guides/inference
  - https://docs.river.ai/guides/inference-images
  - https://docs.river.ai/guides/inference-tools
  - https://docs.river.ai/guides/inference-images.md
  - https://docs.river.ai/guides/inference-tools.md
servers:
- url: https://api.river.ai
paths:
  /v1:
    get:
      operationId: get_v1
      tags:
      - Api
      summary: GET /v1
      x-source: https://docs.river.ai/guides/inference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl \n Inference Copy page \n Inference quickstart \n Use your River API key with https://api.river.ai/v1 and the OpenAI SDK\
          \ or HTTP. \n Endpoints \n Endpoint Use POST /v1/chat/completions Chat, images, tools, and streaming POST /v1/responses Responses API\
          \ GET /v1/models List model IDs available through the API \n Connect \n Create an API key in the River Console .\nSee Models and pricing\
          \ for available m"
  /v1/chat/completions:
    get:
      operationId: get_v1_chat_completions
      tags:
      - Chat
      summary: GET /v1/chat/completions
      x-source: https://docs.river.ai/guides/inference.md
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --fail-with-body https://api.river.ai/v1/chat/completions  -H \"Authorization: Bearer $RIVER_API_KEY\"  -H \"Content-Type:\
          \ application/json\"  -d @- <<'JSON'\n  {\n    \"model\": \"deepseek-ai/DeepSeek-V4.1-Flash\",\n    \"messages\": [{\"role\": \"user\"\
          , \"content\": \"Say hello in one short sentence.\"}],\n    \"max_tokens\": 1024\n  }\nJSON\n```"
    post:
      operationId: post_v1_chat_completions
      tags:
      - Chat
      summary: Inference quickstart
      x-source: https://docs.river.ai/guides/inference.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1ChatCompletionsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1ChatCompletionsResponse'
      x-evidence:
        kind: documentation
  /v1/models:
    get:
      operationId: get_v1_models
      tags:
      - Models
      summary: Inference quickstart
      x-source: https://docs.river.ai/guides/inference.md
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1ModelsResponse'
      x-evidence:
        kind: documentation
  /v1/responses:
    post:
      operationId: post_v1_responses
      tags:
      - Responses
      summary: Inference quickstart
      x-source: https://docs.river.ai/guides/inference.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostV1ChatCompletionsRequest:
      type: object
      properties:
        model:
          type: string
          description: The model ID to use.
        messages:
          type: array
          description: Conversation history.
        max_tokens:
          type: integer
          description: Maximum number of tokens to generate.
        stream:
          type: boolean
          description: If true, stream the response.
      required:
      - model
      - messages
    PostV1ChatCompletionsResponse:
      type: object
      properties:
        choices[0].message.content:
          type: string
          description: The generated answer.
        usage:
          type: object
          description: Token usage counts.
    GetV1ModelsResponse:
      type: object
      properties:
        data:
          type: array
          description: List of model IDs available through the API.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Chat
- name: Models
- name: Responses