Skip to main content
POST
Publish an agent with its screen, as one (TL4)

Path Parameters

id
string
required

The agent's id.

Body

application/json
changelog
string
required

One line, 1..=200 characters: what changed (the screen's version keeps it)

agent_expected_version
integer

The agent's save counter as the publisher saw it (409 PROJECT_VERSION_MISMATCH when it moved)

dry_run
boolean

Run the screen's gate and say what the agent would become, writing nothing

expected_version
integer

The screen draft's save counter as the publisher saw it (409 PROJECT_VERSION_MISMATCH when it moved)

override
object

Publish the screen over a red gate; the reason (10..=500 characters) is recorded

screen
string

The screen (an app id): needed when several of the caller's apps declare this agent

Response

Published: the screen's version and what the agent became

agent
object
app
string
dry_run
boolean
lint
object
pair
object
tests
object
unchanged
boolean

The screen's draft was already its latest version (the agent may still have moved)

version
object

The screen's version record, as POST /v1/apps/{id}/publish answers it

would_publish
boolean