Skip to main content
POST
Publish
Choose action: publish_agent, publish_operation, update_agent, update_operation, get_agent, or get_operation. Supply the existing operation fields inside input; updates and reads also select the top-level agentId or operationId. Mutations require Idempotency-Key. Updates require input.expectedRevision. Each action requires its own read or write scope, and ownership checks still apply. This endpoint accepts explicit commands. Conversational management threads are not available yet. The older resource routes remain compatible.

Authorizations

x-api-key
string
header
required

Headers

Idempotency-Key
string
required

Stable key for this exact mutation. Reusing it with different input returns 409.

Required string length: 1 - 200

Body

application/json
action
string
required
Allowed value: "publish_agent"
input
object
required

Response

Current owner-scoped result. A mutation retry returns its saved response.

agent
object
required
Last modified on November 1, 2026