ghl_agent_studio_promote_and_publish
Promote a draft version to production and publish it using its version ID and location authorization, with optional user and source metadata for auditing.
Instructions
Promote to Production Promotes a draft version to production. Endpoint: POST /agent-studio/agent/versions/{versionId}/publish (Version header: v3; source: v3/agent-studio-v3.json) Requires a Sub-Account (location) token. OAuth scopes: agent-studio.write
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| source | No | Origin channel attributed to this write for auditing (e.g. public_api, internal) | |
| versionId | Yes | Draft/staging version ID to promote to production and publish |