Skip to main content
GET
Get a decision

Authorizations

Authorization
string
header
required

An API key created in Settings → API keys (bp_live_… or bp_test_…).

Path Parameters

slug
string
required

Slug of the decision, as shown in the app.

Pattern: ^[a-z0-9]+(-[a-z0-9]+)*$
Example:

"lead-routing"

Response

The decision.

slug
string
name
string
description
string
type
enum<string>
Available options:
route,
score,
classify
live_version
integer | null
updated_at
string<date-time>
confidence_threshold
number
uncertainty_policy
enum<string>
Available options:
uncertain_branch,
human_review
context
object | null
instructions
string | null
options
string[]

Route decisions — option keys.

levels
string[]

Score decisions — level labels, lowest first.

labels
string[]

Classify decisions — label keys.