Enneo

AiAgent

Preview an AI Agent

POST /aiAgent/{id}/preview

POST /aiAgent/{id}/preview

Path parameters

idintegerpathrequired

The id of the AI Agent that should be retrieved

Query parameters

ticketIdintegerqueryrequired

The ticketId for which to tailor the response to. A future release will also support an intent preview without linking it to a ticketId

Request body

The new updated AI agent

Responses

200 — Successful operation

Response Example

{
  "success": true,
  "error": null,
  "dataOutcome": null,
  "dataOutcomeInfo": "string",
  "customerOutcome": null,
  "customerOutcomeType": "string",
  "customerOutcomeInfo": "string",
  "curlRequests": []
}