state (an email, a ticket, a document, a JSON record) and up to 128 named questions about it. Each answer comes back as numbers your code can branch on directly:
noul: the probability that the answer to a yes/no question is yes.choice: the most likely of your named options, plus the probability of every option.score: a position on your own ordinal scale, plus the probability of every level.
POST https://api.torchcast.ai/v1/decisions. It uses the standard decisions API request and response shape, so moving an existing integration means changing the base URL, the API key and the model id.
Quickstart
Get a key and make your first request in a few minutes.
Concepts
Questions, answer types, and how to read the probabilities.
API reference
Every field, with request and response examples to copy.
Migrating
Move an existing decisions integration.
How it works
- Create an API key in the console. Keys start with
tcd_. - Send a request with your key as a bearer token.
- Each successful request is charged from your prepaid balance by its billable input tokens. Errors are never charged. See Billing.
GET /v1/models. They are not repeated in these docs.