ApiEmbed configs
Publishes the draft presentation — makes it live for every visitor.
Copies the draft manifest onto the live one and stamps `publishedAt`. A no-op when there is no draft, so a repeated click is harmless. Visitors pick the change up within the boot script's cache window (five minutes), or sooner where the CDN honours the purge.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
agent*string
The agent identifier.
embedConfig*string
The embed config id.
tenant*string
The tenant identifier
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/agents/string/embedConfigs/string:publish"{
"id": "string",
"agentId": "string",
"key": "string",
"enabled": false,
"allowedOrigins": [
"string"
],
"greeting": "string",
"suggestedPrompts": [
"string"
],
"themeJson": "string",
"draftThemeJson": "string",
"hasUnpublishedChanges": false,
"publishedAt": 0,
"customCss": "string",
"maxTurnsPerSession": 0,
"maxCostPerSession": 0,
"accessMode": "PUBLIC",
"hasIdentitySecret": false,
"trustAnchorId": "00000000-0000-0000-0000-000000000000",
"createdAt": 0,
"modifiedAt": 0
}Empty
Empty
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}