public

Publish Agent

Mint a public slug for an agent the caller owns.

Idempotent. Re-publishing an already-public agent returns the existing slug and leaves published_at alone: that timestamp is the publication date shown on the page, and churning it on every POST would make the page claim it was published today every time the owner reopened the dialog.

post/api/agents/{agent_id}/publish

Request

  • Base URL: https://api.parlel.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.parlel.com/api/agents/{agent_id}/publish
  • Auth: none declared

Path parameters

agent_idstring required

Headers

authorizationstring nullable

Request body

confirm_publicboolean required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.