Skip to main content
POST
Write agent output back into the workspace

Authorizations

Authorization
string
header
required

Pass your pk_live_... API key as a Bearer token.

Body

application/json
items
WritebackItem · object[]
required
Required array length: 1 - 100 elements
agent
string | null

Name of the agent doing the writing (e.g. 'sales-research-bot'). Becomes the connector the items land under (custom:mcp-). Omit for OAuth MCP clients — their client type is used.

Maximum string length: 60
force
boolean
default:false

Re-publish items whose content is unchanged.

Response

Successful Response

connector_id
string
required
source
string
required
agent
string
required
items
WritebackResultItem · object[]
required