Skip to main content
GET
List forecast accuracy

Authorizations

Authorization
string
header
required

An InsightChain API key: ic_live_... for your organization, ic_test_... for its sandbox

Query Parameters

level
enum<string>
default:item
Available options:
item_location,
item,
category,
location,
location_type,
org
period
enum<string>
default:summary

weekly: one row per origin week (levels category, location_type, org)

Available options:
summary,
weekly
from
string<date>

First origin week (weekly only)

to
string<date>

Last origin week (weekly only)

item
string

Item external id (levels item, item_location)

Maximum string length: 100
location
string

Location external id (levels location, item_location)

Maximum string length: 100
status
enum<string>
Available options:
ok,
insufficient_history,
no_actuals
sort
enum<string>

Default worst (summary) or period (weekly)

Available options:
worst,
value_add,
bias,
volume,
name,
period
evaluation_id
string<uuid>

An earlier evaluation, by the id of evaluation (default: the newest)

run_id
string<uuid>

Deprecated: use evaluation_id

limit
integer
default:100
Required range: 1 <= x <= 200
cursor
string

next_cursor of the previous page

Maximum string length: 200

Response

OK

object
any
required
data
object[]
required
has_more
boolean
required

Whether a further page exists

next_cursor
string | null
required

Send as cursor for the next page; null on the last page

rows
object[]
required
deprecated

Deprecated: the same rows as data

status
enum<string>
required

no_results: accuracy has not been measured on this organization yet

Available options:
no_results,
no_history,
insufficient_history,
ok
message
string | null
required

Why there are no numbers; null when status is ok

evaluation
object | null
required

The measurement the rows come from; null when status is no_results

overall
object | null
required

The whole organization's row; null unless status is ok

filters
object
required

The filters as used

page
object
required
data_as_of
string<date-time> | null
required
notes
string[]
required
duration_ms
integer
required

Milliseconds the request took

request_id
string
required

Quote this when asking about the request; also the X-Request-ID header