Get AI copilots
Changed onThis endpoint returns a paginated list of AI copilots. The copilots are returned sorted by creation date, from newest to oldest. Corresponds to liveblocks.getAiCopilots.
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/ai/copilots
- Auth: none declared
Query parameters
A limit on the number of copilots to be returned. The limit can range between 1 and 100, and defaults to 20.
A cursor used for pagination. Get the value from the nextCursor response of the previous page.
Response
Success. Returns the list of AI copilots.
Example response
{
"nextCursor": null,
"data": [
{
"type": "copilot",
"id": "cp_abc123",
"name": "My Copilot",
"systemPrompt": "You are a helpful assistant.",
"alwaysUseKnowledge": true,
"createdAt": "2024-06-01T12:00:00.000Z",
"updatedAt": "2024-06-01T12:00:00.000Z",
"provider": "openai",
"providerModel": "gpt-4o"
}
]
}Changes
- warning
added the new
claude-opus-4-5-20251101enum value to the////response property for the response status - warning
added the new
claude-opus-4-6enum value to the////response property for the response status - warning
added the new
claude-opus-4-7enum value to the////response property for the response status - warning
added the new
claude-sonnet-4-6enum value to the////response property for the response status - warning
added the new
gemini-3-flash-previewenum value to the////response property for the response status - warning
added the new
gemini-3.1-pro-previewenum value to the////response property for the response status - warning
added the new
gpt-5-proenum value to the////response property for the response status - warning
added the new
gpt-5.2enum value to the////response property for the response status - warning
added the new
gpt-5.2-proenum value to the////response property for the response status - warning
added the new
gpt-5.4enum value to the////response property for the response status - warning
added the new
gpt-5.4-minienum value to the////response property for the response status - warning
added the new
gpt-5.4-nanoenum value to the////response property for the response status - warning
added the new
gpt-5.4-proenum value to the////response property for the response status - warning
added the new
gpt-5.5enum value to the////response property for the response status
- warning
- breaking
for the
queryrequest parameterlimit, the type changed fromnumbertointeger - breaking
response property
nextCursorlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
added to the
/response propertyoneOflist for the response status - info
the response property
became required for the status - info
the response property
became required for the status - info
added
openaianthropicgoogleopenai-compatiblediscriminator mapping keys to the/response property for the response status - info
removed
subschema #1subschema #2subschema #3subschema #4from the/response propertyoneOflist for the response status
- breaking