draft-authoring

Stage Agent Draft

A new agent as a draft, or, with agent_id, the draft of that live agent.

A live agent has one draft; posting again rewrites it. The live agent and its tool bindings are untouched until a person publishes. A new agent exists only once a person opens the returned link and creates it.

post/v1/draft-authoring/orgs/{org_id}/agents

Request

  • Base URL
    https://api.mentium.io (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

org_idstring uuid required

Query parameters

workspace_idstring uuid nullable

Request body

yaml_contentstring required

The agent.yaml, as the agent editor stores it

agent_idstring uuid nullable

A live agent to change; omit for a new agent

Response

Successful Response

idstring uuid required

The draft's id

draft_of_idstring uuid nullable

The live agent publishing this draft updates

review_urlstring required

Where a person reviews and publishes (or creates) the agent

Changes

No recorded changes to this operation across all 2 revisions of this API.