Skip to content

inferences_read

GET
/inferences/{id}
curl --request GET \
--url https://api.canopyhq.dev/inferences/example \
--header 'Authorization: Bearer <token>'
id
required
string

The option, by the name the tenant gave it.

The option.

Media typeapplication/json
One of:

The scripted model, with no provider credential.

object
compact_at

Compact before the next request after a completion reaches this prompt-token count.

integer format: int64
provider
required
string
Allowed values: simulated
retry

How often a transient provider failure is attempted, with doubling waits.

object
attempts
required
integer format: int32
backoff
required
string
Example
{
"provider": "simulated"
}

No console token, or one that did not verify.

The tenant owns no option by that name.