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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/opik-chat-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
openapi: 3.2.0
info:
title: Opik REST Chat Completions API
description: The Opik REST API is currently in beta and subject to change.
contact:
name: Github Repository
url: https://github.com/comet-ml/opik
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
version: 1.0.0
servers:
- url: http://localhost:5173/api
description: Local server
- url: https://www.comet.com/opik/api
description: Opik Cloud
tags:
- name: Chat Completions
description: Chat Completions related resources
paths:
/v1/private/chat/completions:
post:
tags:
- Chat Completions
summary: Create chat completions
operationId: createChatCompletions
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ChatCompletionRequest'
responses:
'200':
description: Chat completions response
content:
text/event-stream:
schema:
type: array
items:
type: object
anyOf:
- $ref: '#/components/schemas/ChatCompletionResponse'
- $ref: '#/components/schemas/ErrorMessage'
application/json:
schema:
$ref: '#/components/schemas/ChatCompletionResponse'
components:
schemas:
LogProb:
type: object
properties:
token:
type: string
logprob:
type: number
format: double
bytes:
type: array
items:
type: integer
format: int32
Usage:
type: object
properties:
total_tokens:
type: integer
format: int32
prompt_tokens:
type: integer
format: int32
prompt_tokens_details:
$ref: '#/components/schemas/PromptTokensDetails'
completion_tokens:
type: integer
format: int32
completion_tokens_details:
$ref: '#/components/schemas/CompletionTokensDetails'
ErrorMessage:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: string
StreamOptions:
type: object
properties:
include_usage:
type: boolean
AssistantMessage:
type: object
properties:
role:
type: string
enum:
- system
- user
- assistant
- tool
- function
content:
type: string
reasoning_content:
type: string
name:
type: string
tool_calls:
type: array
items:
$ref: '#/components/schemas/ToolCall'
refusal:
type: string
function_call:
$ref: '#/components/schemas/FunctionCall'
ChatCompletionResponse:
type: object
properties:
id:
type: string
created:
type: integer
format: int64
model:
type: string
choices:
type: array
items:
$ref: '#/components/schemas/ChatCompletionChoice'
usage:
$ref: '#/components/schemas/Usage'
system_fingerprint:
type: string
service_tier:
type: string
JsonNode:
type: object
JsonSchema:
type: object
properties:
name:
type: string
strict:
type: boolean
schema:
type: object
additionalProperties:
type: object
LogProbs:
type: object
properties:
content:
type: array
items:
$ref: '#/components/schemas/LogProb'
Tool:
type: object
properties:
type:
type: string
enum:
- function
function:
$ref: '#/components/schemas/Function'
ResponseFormat:
type: object
properties:
type:
type: string
enum:
- text
- json_object
- json_schema
json_schema:
$ref: '#/components/schemas/JsonSchema'
PromptTokensDetails:
type: object
properties:
cached_tokens:
type: integer
format: int32
Delta:
type: object
properties:
role:
type: string
content:
type: string
reasoning_content:
type: string
tool_calls:
type: array
items:
$ref: '#/components/schemas/ToolCall'
function_call:
$ref: '#/components/schemas/FunctionCall'
CompletionTokensDetails:
type: object
properties:
reasoning_tokens:
type: integer
format: int32
ToolCall:
type: object
properties:
id:
type: string
index:
type: integer
format: int32
type:
type: string
enum:
- function
function:
$ref: '#/components/schemas/FunctionCall'
FunctionCall:
type: object
properties:
name:
type: string
arguments:
type: string
Message:
required:
- content
- role
type: object
properties:
role:
minLength: 1
type: string
content:
$ref: '#/components/schemas/JsonNode'
ChatCompletionChoice:
type: object
properties:
index:
type: integer
format: int32
message:
$ref: '#/components/schemas/AssistantMessage'
delta:
$ref: '#/components/schemas/Delta'
finish_reason:
type: string
logprobs:
$ref: '#/components/schemas/LogProbs'
ChatCompletionRequest:
type: object
properties:
model:
type: string
messages:
type: array
items:
$ref: '#/components/schemas/Message'
temperature:
type: number
format: double
top_p:
type: number
format: double
n:
type: integer
format: int32
stream:
type: boolean
stream_options:
$ref: '#/components/schemas/StreamOptions'
stop:
type: array
items:
type: string
max_tokens:
type: integer
format: int32
max_completion_tokens:
type: integer
format: int32
presence_penalty:
type: number
format: double
frequency_penalty:
type: number
format: double
logit_bias:
type: object
additionalProperties:
type: integer
format: int32
user:
type: string
response_format:
$ref: '#/components/schemas/ResponseFormat'
seed:
type: integer
format: int32
tools:
type: array
items:
$ref: '#/components/schemas/Tool'
tool_choice:
type: object
parallel_tool_calls:
type: boolean
store:
type: boolean
metadata:
type: object
additionalProperties:
type: string
reasoning_effort:
type: string
service_tier:
type: string
logprobs:
type: boolean
top_logprobs:
type: integer
format: int32
functions:
type: array
items:
$ref: '#/components/schemas/Function'
function_call:
$ref: '#/components/schemas/FunctionCall'
Function:
type: object
properties:
name:
type: string
description:
type: string
strict:
type: boolean
parameters:
type: object
additionalProperties:
type: object