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-attachments-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 Attachments 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: Attachments
description: Attachments related resources
paths:
/v1/private/attachment/list:
get:
tags:
- Attachments
summary: Attachments list for entity
operationId: attachmentList
parameters:
- name: page
in: query
schema:
minimum: 1
type: integer
format: int32
default: 1
- name: size
in: query
schema:
minimum: 1
type: integer
format: int32
default: 100
- name: project_id
in: query
required: true
schema:
type: string
format: uuid
- name: entity_type
in: query
required: true
schema:
type: string
enum:
- trace
- span
- name: entity_id
in: query
required: true
schema:
type: string
format: uuid
- name: path
in: query
required: true
schema:
minLength: 1
type: string
responses:
'200':
description: Attachment Resource
content:
application/json:
schema:
$ref: '#/components/schemas/AttachmentPage'
'401':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
'403':
description: Access forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
/v1/private/attachment/upload-complete:
post:
tags:
- Attachments
summary: Complete multipart attachment upload
operationId: completeMultiPartUpload
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CompleteMultipartUploadRequest'
responses:
'204':
description: No content
'401':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
'403':
description: Access forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
/v1/private/attachment/delete:
post:
tags:
- Attachments
summary: Delete attachments
operationId: deleteAttachments
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CompleteMultipartUploadRequest'
responses:
'204':
description: No content
'401':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
'403':
description: Access forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
/v1/private/attachment/download:
get:
tags:
- Attachments
summary: Download attachment from MinIO
operationId: downloadAttachment
parameters:
- name: workspace_name
in: query
schema:
type: string
- name: container_id
in: query
required: true
schema:
type: string
format: uuid
- name: entity_type
in: query
required: true
schema:
type: string
enum:
- trace
- span
- name: entity_id
in: query
required: true
schema:
type: string
format: uuid
- name: file_name
in: query
required: true
schema:
minLength: 1
type: string
- name: mime_type
in: query
required: true
schema:
minLength: 1
type: string
responses:
'200':
description: Attachment Resource
content:
'*/*':
schema:
type: string
format: binary
'401':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorMessage'
'403':
description: Access forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/ErrorMessage'
/v1/private/attachment/upload-start:
post:
tags:
- Attachments
summary: Start multipart attachment upload
operationId: startMultiPartUpload
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/StartMultipartUploadRequest'
responses:
'200':
description: MultipartUploadResponse
content:
application/json:
schema:
$ref: '#/components/schemas/StartMultipartUploadResponse'
'401':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
'403':
description: Access forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
/v1/private/attachment/upload:
put:
tags:
- Attachments
summary: Upload attachment to MinIO
operationId: uploadAttachment
parameters:
- name: file_name
in: query
required: true
schema:
type: string
- name: project_name
in: query
schema:
pattern: (?s)^\s*(\S.*\S|\S)\s*$
type: string
description: If null, the default project is used
- name: mime_type
in: query
schema:
type: string
- name: entity_type
in: query
required: true
schema:
type: string
enum:
- trace
- span
- name: entity_id
in: query
required: true
schema:
type: string
format: uuid
requestBody:
content:
'*/*':
schema:
type: object
responses:
'204':
description: No content
'401':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
'403':
description: Access forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
components:
schemas:
ErrorMessage:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: string
MultipartUploadPart:
required:
- e_tag
- part_number
type: object
properties:
e_tag:
minLength: 1
type: string
part_number:
type: integer
format: int32
StartMultipartUploadRequest:
required:
- entity_id
- entity_type
- file_name
- num_of_file_parts
- path
type: object
properties:
file_name:
minLength: 1
type: string
num_of_file_parts:
type: integer
format: int32
mime_type:
type: string
project_name:
pattern: (?s)^\s*(\S.*\S|\S)\s*$
type: string
description: If null, the default project is used
entity_type:
type: string
enum:
- trace
- span
entity_id:
type: string
format: uuid
container_id:
type: string
format: uuid
readOnly: true
path:
minLength: 1
type: string
Attachment:
required:
- file_name
- file_size
- mime_type
type: object
properties:
link:
type: string
file_name:
type: string
file_size:
type: integer
format: int64
mime_type:
type: string
AttachmentPage:
type: object
properties:
page:
type: integer
format: int32
size:
type: integer
format: int32
total:
type: integer
format: int64
content:
type: array
items:
$ref: '#/components/schemas/Attachment'
sortableBy:
type: array
items:
type: string
StartMultipartUploadResponse:
required:
- pre_sign_urls
- upload_id
type: object
properties:
upload_id:
minLength: 1
type: string
pre_sign_urls:
type: array
items:
type: string
CompleteMultipartUploadRequest:
required:
- entity_id
- entity_type
- file_name
- file_size
- upload_id
- uploaded_file_parts
type: object
properties:
file_name:
minLength: 1
type: string
project_name:
pattern: (?s)^\s*(\S.*\S|\S)\s*$
type: string
description: If null, the default project is used
entity_type:
type: string
enum:
- trace
- span
entity_id:
type: string
format: uuid
container_id:
type: string
format: uuid
readOnly: true
file_size:
type: integer
format: int64
mime_type:
type: string
upload_id:
minLength: 1
type: string
uploaded_file_parts:
type: array
items:
$ref: '#/components/schemas/MultipartUploadPart'