Agents / CLI

Publish knowledge draft

Publish the exact reviewed knowledge draft only after explicit user approval, using the returned draft timestamp. Does not send messages or change agent autonomy.

pipeline publish-knowledge-draftDeterministic operation

Parameters

workspaceIdOptional · string
See the input schema for this field.
expectedDraftCreatedAtRequired · string
See the input schema for this field.
Request example
pipeline publish-knowledge-draft \
  --expected-draft-created-at "2026-01-01T00:00:00.000Z"
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string"
    },
    "expectedDraftCreatedAt": {
      "type": "string"
    }
  },
  "required": [
    "expectedDraftCreatedAt"
  ]
}
See this operation inMCP REST API TypeScript SDK
CLI guide | Pipeline v2 preview