Content / CLI

Update content collection

Rename a collection or add/remove up to twenty saved references. Membership retries are idempotent.

pipeline update-content-collectionDeterministic operation

Parameters

workspaceIdOptional · string
See the input schema for this field.
idRequired · string
See the input schema for this field.
nameOptional · string
See the input schema for this field.
addExampleIdsOptional · array
See the input schema for this field.
removeExampleIdsOptional · array
See the input schema for this field.
Request example
pipeline update-content-collection \
  --id "00000000-0000-4000-8000-000000000001" \
  --name "Question-led references"
Full input schema
Input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "workspaceId": {
      "type": "string",
      "format": "uuid"
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "addExampleIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "maxItems": 20
    },
    "removeExampleIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "maxItems": 20
    }
  },
  "required": [
    "id"
  ]
}
See this operation inMCP REST API TypeScript SDK
CLI guide | Pipeline v2 preview