Is a statement true of the text?
Answers one or more statements with a yes/no and the probability. Add when_true / when_false to sharpen the boundary.
Send text for one result, or texts for a batch wrapped as { results: [...] }. The response carries x-input-chars and x-input-tokens (the input tokens billed) headers.
Request
This endpoint expects an object.
text
The text to decide about.
texts
Batch form: one result per text.
statement
statements
when_true
What makes the statement true. Improves accuracy.
when_false
Response
Result, or { results } for a batch
OR
Errors
400
Bad Request Error
502
Bad Gateway Error