sdkDeterministic

Update content collection

pipeline.updateContentCollection

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

Parameters

workspaceId
string
No description.
idrequired
string
No description.
name
string
No description.
addExampleIds
string[]
No description.
removeExampleIds
string[]
No description.

Example

TypeScripttypescript
await pipeline.updateContentCollection({
"id": "00000000-0000-4000-8000-000000000001",
"name": "Question-led references"
})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"data": {
"type": "object"
}
}
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline