Skip to main content
GET
List decision variants

Authorizations

Authorization
string
header
required

Use an Observe API key from the management console. The key selects the project and must grant the permission listed on the operation. Keep this key on your server.

Query Parameters

decisionID
string

Filter variants by the parent decision ID returned by /observe/decisions (format dec-<number>).

Response

Decision variants.

id
string
required

Decision variant ID (format dva-<number>).

decisionID
string
required

Parent decision ID (format dec-<number>).

type
enum<string>
required

Type of decision variant.

Available options:
input,
outcome
data
string
required

JSON-encoded variant data.

longPathAlias
string
required

Short per-project token used for this variant in ob_flow long_paths (the i<token> / o<token> value). Defaults to id; index variants by BOTH id and longPathAlias.