Skip to main content
GET
Get the engine a decision runs on

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer <key>. Each operation lists the scope its key needs: decisions:evaluate (evaluate and read evaluations), decisions:feedback (your app's feedback) or decisions:develop (everything else, including owner feedback and the review queue). An operation listing no scope takes any scoped key. A key with no scope, or without the operation's, gets 403 INSUFFICIENT_SCOPE.

Path Parameters

decision_id
string
required
Pattern: ^[a-z][a-z0-9_.-]{0,127}$

Response

The current binding

decision_id
string
required
Pattern: ^[a-z][a-z0-9_.-]{0,127}$
environment
enum<string>
required

The environment of the key that made the call: production or test. Evaluations, feedback, reviews and suggestions are separate per environment; registered structures are shared.

Available options:
production,
test
revision
integer
required

The binding revision; evaluations report the one they ran on as version.binding.

Required range: x >= 1
engine
string
required

An engine id from GET /v1/engines, e.g. jev or clef. Open: new engines are added without a contract change.

Required string length: 1 - 64
Example:

"clef"

model
string
required

A model id the engine lists in GET /v1/engines. *-latest and *-preview aliases are refused; whether an id fixes the model's behavior is its pinned flag.

Required string length: 1 - 128
Example:

"@cf/cloudflare/clef"

pinned
boolean
required

Whether this deployment's engine reports the model as pinned (see GET /v1/engines). False when the engine is not offered.

created_at
string<date-time>
required