GET
Get Goal

Authorizations

X-API-Key
string
header
required

An API key of your account, from Settings > API Keys. It starts with gnz-.

Path Parameters

goal_id
integer
required

A goal of the Business Scorecard of the brand.

brand_id
integer
required

Response

Successful Response

created_at
string<date-time>
required
id
integer
required
runs
GoalRun · object[]
required

The ten newest runs, the newest first.

state
string
required

healthy, partial or needs_attention: if the nightly runs work.

title
string
required
view_type
string
required

The card that draws the goal, such as multi_line.

archived_at
string<date-time> | null
category
string | null
datapoints
Datapoint · object[]

The last 90 days, the oldest first.

dimensions
GoalDimension · object[]
explanation
string[]

How the goal is computed.

intent
string | null

The sentence that the person wrote.

metric
string | null

What the goal measures.

status
string | null

The status of the newest datapoint.

target
string | null

The value that reaches the goal.