APIClaw Assistants API
The assistants API from APIClaw — 12 operation(s) for assistants.
The assistants API from APIClaw — 12 operation(s) for assistants.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/apiclaw:apiclaw-assistants-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: LiteLLM Assistants API
description: 'Proxy Server to call 100+ LLMs in the OpenAI format. **Customize Swagger Docs**
👉 ```LiteLLM Admin Panel on /ui```. Create, Edit Keys with SSO. Having issues? Try ```Fallback Login```
💸 ```LiteLLM Model Cost Map```.
🔎 ```LiteLLM Model Hub```. See available models on the proxy. **Docs**'
version: 1.102.1
tags:
- name: Assistants
paths:
/assistants:
get:
tags:
- Assistants
summary: Get Assistants
description: 'Returns a list of assistants.
API Reference docs - https://platform.openai.com/docs/api-reference/assistants/listAssistants'
operationId: get_assistants_assistants_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- APIKeyHeader: []
post:
tags:
- Assistants
summary: Create Assistant
description: 'Create assistant
API Reference docs - https://platform.openai.com/docs/api-reference/assistants/createAssistant'
operationId: create_assistant_assistants_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- APIKeyHeader: []
/v1/assistants:
get:
tags:
- Assistants
summary: Get Assistants
description: 'Returns a list of assistants.
API Reference docs - https://platform.openai.com/docs/api-reference/assistants/listAssistants'
operationId: get_assistants_v1_assistants_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- APIKeyHeader: []
post:
tags:
- Assistants
summary: Create Assistant
description: 'Create assistant
API Reference docs - https://platform.openai.com/docs/api-reference/assistants/createAssistant'
operationId: create_assistant_v1_assistants_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- APIKeyHeader: []
/assistants/{assistant_id}:
delete:
tags:
- Assistants
summary: Delete Assistant
description: 'Delete assistant
API Reference docs - https://platform.openai.com/docs/api-reference/assistants/createAssistant'
operationId: delete_assistant_assistants__assistant_id__delete
security:
- APIKeyHeader: []
parameters:
- name: assistant_id
in: path
required: true
schema:
type: string
title: Assistant Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/assistants/{assistant_id}:
delete:
tags:
- Assistants
summary: Delete Assistant
description: 'Delete assistant
API Reference docs - https://platform.openai.com/docs/api-reference/assistants/createAssistant'
operationId: delete_assistant_v1_assistants__assistant_id__delete
security:
- APIKeyHeader: []
parameters:
- name: assistant_id
in: path
required: true
schema:
type: string
title: Assistant Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/threads:
post:
tags:
- Assistants
summary: Create Threads
description: 'Create a thread.
API Reference - https://platform.openai.com/docs/api-reference/threads/createThread'
operationId: create_threads_threads_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- APIKeyHeader: []
/v1/threads:
post:
tags:
- Assistants
summary: Create Threads
description: 'Create a thread.
API Reference - https://platform.openai.com/docs/api-reference/threads/createThread'
operationId: create_threads_v1_threads_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- APIKeyHeader: []
/threads/{thread_id}:
get:
tags:
- Assistants
summary: Get Thread
description: 'Retrieves a thread.
API Reference - https://platform.openai.com/docs/api-reference/threads/getThread'
operationId: get_thread_threads__thread_id__get
security:
- APIKeyHeader: []
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/threads/{thread_id}:
get:
tags:
- Assistants
summary: Get Thread
description: 'Retrieves a thread.
API Reference - https://platform.openai.com/docs/api-reference/threads/getThread'
operationId: get_thread_v1_threads__thread_id__get
security:
- APIKeyHeader: []
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/threads/{thread_id}/messages:
post:
tags:
- Assistants
summary: Add Messages
description: 'Create a message.
API Reference - https://platform.openai.com/docs/api-reference/messages/createMessage'
operationId: add_messages_threads__thread_id__messages_post
security:
- APIKeyHeader: []
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- Assistants
summary: Get Messages
description: 'Returns a list of messages for a given thread.
API Reference - https://platform.openai.com/docs/api-reference/messages/listMessages'
operationId: get_messages_threads__thread_id__messages_get
security:
- APIKeyHeader: []
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/threads/{thread_id}/messages:
post:
tags:
- Assistants
summary: Add Messages
description: 'Create a message.
API Reference - https://platform.openai.com/docs/api-reference/messages/createMessage'
operationId: add_messages_v1_threads__thread_id__messages_post
security:
- APIKeyHeader: []
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- Assistants
summary: Get Messages
description: 'Returns a list of messages for a given thread.
API Reference - https://platform.openai.com/docs/api-reference/messages/listMessages'
operationId: get_messages_v1_threads__thread_id__messages_get
security:
- APIKeyHeader: []
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/threads/{thread_id}/runs:
post:
tags:
- Assistants
summary: Run Thread
description: 'Create a run.
API Reference: https://platform.openai.com/docs/api-reference/runs/createRun'
operationId: run_thread_threads__thread_id__runs_post
security:
- APIKeyHeader: []
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/threads/{thread_id}/runs:
post:
tags:
- Assistants
summary: Run Thread
description: 'Create a run.
API Reference: https://platform.openai.com/docs/api-reference/runs/createRun'
operationId: run_thread_v1_threads__thread_id__runs_post
security:
- APIKeyHeader: []
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
APIKeyHeader:
type: apiKey
description: Bearer token
in: header
name: x-litellm-api-key