Skip to main content
GET
List size allocations

Authorizations

Authorization
string
header
required

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

Query Parameters

window_days
integer
default:90

Demand history window

Required range: 30 <= x <= 365
item
string

Narrow to one item (external id)

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

next_cursor of the previous page. Opaque; valid only with the same filters

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

allocations
object[]
required
deprecated

Deprecated: the same rows as data

count
integer
required

Rows in this page

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

window_days
integer

Demand history window used

data_as_of
string<date-time> | null

When the organization's data was last received; null before the first sync

demand_source
object
stale
boolean

True when the data is more than 24 hours old, or was never received

total
integer

Rows in the whole list, before paging

note
string

Present instead of the other fields when the organization has no item variants

notes
string[]