Agent Config

Promote staging to production

Changed on

Point the production channel at the staging revision. Real traffic reads it from the next session onward; roll back by writing the prior revision id to production (the chain preserves every state).

post/v1/agent-config/{key}/promote

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/agent-config/{key}/promote
  • Auth
    HTTP bearer

Path parameters

keystring required

Response

The config with production now on the promoted revision.

Example response

{
  "data": {
    "key": "support-agent"
  }
}

Changes