v1

latestOpenAPI 3.0.1MIT2026-07-26104203277.0 KB

Update Collection.

Updates an existing collection's name or description.

patch/v1/voice-agents/collections/{id}

Path parameters

idstring uuid required
Example:d949f13f-40d2-4e48-ac86-b66633070603

UUID of the collection to update.

Request body

namestring required

Updated name of the collection (optional).

descriptionstring

Updated description of the collection (optional).

Example request

{
  "name": "Updated Collection Name",
  "description": "Updated description"
}

Response

Successful response

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Collection updated successfully",
  "data": {
    "id": "d949f13f-40d2-4e48-ac86-b66633070603",
    "name": "Customer Support Tools",
    "description": "Tools used for customer support operations",
    "userId": "d949f13f-40d2-4e48-ac86-b66633070603",
    "projectId": "d949f13f-40d2-4e48-ac86-b66633070603",
    "webToolsCount": 5,
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-15T10:30:00Z"
  }
}