Liveblocks AI API

The AI API from Liveblocks — 9 operation(s) for ai.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Retrieval & Embeddings AE-110.60

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /ai/copilots List AI copilots · Get AI copilots #
Ask an LLM
“Which AI copilots have I created?”
“Can I page through my AI copilots from newest to oldest?”
Tell an agent
List my AI copilots.
Show {limit} AI copilots after {startingAfter}.
POST /ai/copilots Create an AI copilot · Create AI copilot #
Ask an LLM
“How do I set up an AI co-pilot for my Liveblocks rooms?”
“Can I add a co-pilot with its own instructions?”
Tell an agent
Create an AI copilot.
Set up a new co-pilot for my rooms.
GET /ai/copilots/{copilotId} Get an AI copilot · Get AI copilot #
Ask an LLM
“What provider and model does a specific AI copilot use?”
“Can I read one AI copilot's configuration by its ID?”
Tell an agent
Get AI copilot {copilotId}.
Show the configuration of copilot {copilotId}.
POST /ai/copilots/{copilotId} Update an AI copilot · Update AI copilot #
Ask an LLM
“How do I change the provider model of an existing AI copilot?”
“Can I turn on always-use-knowledge for a copilot?”
Tell an agent
Update copilot {copilotId} to use provider {provider} and model {providerModel}.
Set the knowledge prompt of copilot {copilotId} to {knowledgePrompt}.
DELETE /ai/copilots/{copilotId} Delete an AI copilot · Delete AI copilot #
Ask an LLM
“Can I permanently delete an AI copilot?”
“What happens to a copilot once it is deleted?”
Tell an agent destructive · confirm first
Delete AI copilot {copilotId}.
Permanently remove copilot {copilotId}.
GET /ai/copilots/{copilotId}/knowledge List a copilot's knowledge sources · Get knowledge sources #
Ask an LLM
“Which knowledge sources are attached to an AI copilot?”
“Can I page through a copilot's knowledge sources?”
Tell an agent
List knowledge sources for copilot {copilotId}.
Show {limit} knowledge sources of copilot {copilotId} after {startingAfter}.
GET /ai/copilots/{copilotId}/knowledge/{knowledgeSourceId} Get a knowledge source · Get knowledge source #
Ask an LLM
“What type and URL does a specific knowledge source have?”
“Can I fetch one knowledge source by its ID?”
Tell an agent
Get knowledge source {knowledgeSourceId} of copilot {copilotId}.
Show the details of knowledge source {knowledgeSourceId} on copilot {copilotId}.
POST /ai/copilots/{copilotId}/knowledge/web Add a web knowledge source · Create web knowledge source #
Ask an LLM
“How do I make an AI copilot read a website?”
“Can I add a web URL as a knowledge source for a copilot?”
Tell an agent
Add {type} knowledge source {url} to copilot {copilotId}.
Make copilot {copilotId} index the web page {url} as {type}.
PUT /ai/copilots/{copilotId}/knowledge/file/{name} Upload a file knowledge source · Create file knowledge source #
Ask an LLM
“How do I upload a document so an AI copilot can reference it?”
“Can I give a copilot access to a file by name?”
Tell an agent
Upload file {name} as a knowledge source for copilot {copilotId}.
Add the document {name} to copilot {copilotId} so it can read it.
GET /ai/copilots/{copilotId}/knowledge/file/{knowledgeSourceId} Get a file knowledge source's content · Get file knowledge source content #
Ask an LLM
“What text does an uploaded file knowledge source contain?”
“Can I read the markdown of a file copilot knows about?”
Tell an agent
Get the content of file knowledge source {knowledgeSourceId} in copilot {copilotId}.
Show the markdown of uploaded file {knowledgeSourceId} for copilot {copilotId}.
DELETE /ai/copilots/{copilotId}/knowledge/file/{knowledgeSourceId} Remove a file knowledge source · Delete file knowledge source #
Ask an LLM
“How do I stop an AI copilot from reading an uploaded file?”
“Can I delete a file knowledge source from a copilot?”
Tell an agent destructive · confirm first
Delete file knowledge source {knowledgeSourceId} from copilot {copilotId}.
Remove uploaded file {knowledgeSourceId} so copilot {copilotId} can no longer reference it.
DELETE /ai/copilots/{copilotId}/knowledge/web/{knowledgeSourceId} Remove a web knowledge source · Delete web knowledge source #
Ask an LLM
“How do I stop an AI copilot from indexing a website?”
“Can I delete a web knowledge source from a copilot?”
Tell an agent destructive · confirm first
Delete web knowledge source {knowledgeSourceId} from copilot {copilotId}.
Stop copilot {copilotId} from accessing the indexed web source {knowledgeSourceId}.

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/liveblocks:liveblocks-ai-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

liveblocks-ai-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Liveblocks AI API
  version: '2.0'
  description: 'The Liveblocks REST API lets you read and modify rooms, threads, notifications, users, permissions, and schemas programmatically. Authenticate requests with a secret key using the `Authorization: Bearer` header.'
servers:
- url: https://api.liveblocks.io/v2
tags:


# --- truncated at 32 KB (45 KB total) ---
# Full source: https://artifacts.apis.io/liveblocks/openapi/liveblocks-ai-api-openapi.yml