Zum Hauptinhalt springen
POST
/
aiAgent
/
{id}
/
prompt-eval
Evaluate an AI agent prompt
curl --request POST \
  --url https://demo.enneo.ai/api/mind/aiAgent/{id}/prompt-eval \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "ticketId": 123,
  "variables": {}
}
'
{
  "output": "<string>",
  "tokens": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.enneo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Pfadparameter

id
integer
erforderlich

ID of the AI agent.

Body

application/json
prompt
string

Prompt template to evaluate (overrides the agent's stored prompt for this call).

ticketId
integer

Optional ticket id to inject ticket context into the prompt.

variables
object

Additional template variables.

Antwort

Successful operation

output
string

Raw LLM output.

tokens
object

Token usage breakdown.