EmpirioLabs AI Completions API

The completions API from EmpirioLabs AI — 1 operation(s) for completions.

Business capability
Model Inference AE-110.10

Operations 1

POST /v1/completions Create a completion #

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/empiriolabs-ai:empiriolabs-ai-completions-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

empiriolabs-ai-completions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference Completions API
  version: 1.0.0
tags:
- name: Completions
paths:
  /v1/completions:
    post:
      operationId: completions_createCompletion
      summary: Create a completion
      description: 'OpenAI-compatible prompt completions for clients that send a raw

        `prompt` instead of chat `messages`. Only models that advertise

        `POST /v1/completions` in `supported_endpoints` accept this shape.

        Streaming uses Server-Sent Events.

        `usage` arrives at the end of the stream on a chunk that also has

        `choices`. Set `stream_options.include_usage` to `true` to receive it

        the way OpenAI sends it, in its own chunk just before `[DONE]` whose

        `choices` is an empty list; some models still report it on a chunk

        with `choices`. Read `usage` from the last chunk that carries it.'
      tags:
      - Completions
      responses:
        '200':
          description: Completion object or SSE stream when `stream=true`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompletionResponse'
        '400':
          description: Invalid request; see error message for the offending parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: The account cannot cover the pay-as-you-go amount required by the request. An active plan can run a request at zero balance only when the entire request is covered by remaining allowance. Partly covered requests require enough balance for the full remainder before work starts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded for this API key. Retry with backoff.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompletionRequest'
      security:
      - bearerAuth: []
components:
  schemas:
    Choice:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    CompletionResponse:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
        created:
          type: integer
        model:
          type: string
        choices:
          type: array
          items:
            $ref: '#/components/schemas/Choice'
    CompletionRequest:
      type: object
      properties:
        model:
          type: string
        prompt:
          type: string
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            param:
              type: string
            code:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT