Wizard
Preview agent behavior with entities
Shows how the agent would interpret the semantic layer when answering a question, given a set of candidate entity YAML definitions. Requires admin role.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3001/api/v1/wizard/preview" \ -H "Content-Type: application/json" \ -d '{ "question": "string", "entities": [ { "tableName": "string", "yaml": "string" } ] }'{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}