Skip to content

Where it is used

GET
/api/v1/assets/{id}/insights
curl --request GET \
--url http://localhost:3000/api/v1/assets/example/insights \
--header 'Authorization: Bearer <token>'

The brand rules that point at it, the brand pages that show it, the open public portals it is on, and its fetches over the last 30 days by surface and by referrer host.

Scope: write.

id
required
string

Asset id

Where it is used

Media typeapplication/json
object
data
required
object
days
required

How far back fetches go

integer
>= -9007199254740991 <= 9007199254740991
rules
required

Brand rules that point at it

Array<object>
object
brand
required
string
key
required
string
label
required
string | null
context
required
string | null
pages
required

Brand pages that show it, as they stand now

Array<object>
object
brand
required
object
slug
required
string
name
required
string
default
required
boolean
slug
required
string
title
required
string
portals
required

Open public portals that show it

Array<object>
object
name
required
string
url
required
string
fetches
required
object
total
required
integer
>= -9007199254740991 <= 9007199254740991
surfaces
required
object
key
additional properties
integer
>= -9007199254740991 <= 9007199254740991
referrers
required

The hosts that loaded it, most first

Array<object>
object
host
required
string
fetches
required
integer
>= -9007199254740991 <= 9007199254740991
last
required
string
Examplegenerated
{
"data": {
"days": 1,
"rules": [
{
"brand": "example",
"key": "example",
"label": "example",
"context": "example"
}
],
"pages": [
{
"brand": {
"slug": "example",
"name": "example",
"default": true
},
"slug": "example",
"title": "example"
}
],
"portals": [
{
"name": "example",
"url": "example"
}
],
"fetches": {
"total": 1,
"surfaces": {
"additionalProperty": 1
}
},
"referrers": [
{
"host": "example",
"fetches": 1,
"last": "example"
}
]
}
}

An error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"detail": "example"
}
}