Skip to content

Your scheduled reports

GET
/api/v1/analytics/reports/schedules
curl --request GET \
--url https://digize.com/api/v1/analytics/reports/schedules \
--header 'x-api-key: <x-api-key>'

The reports the member has emailed to them on a schedule, each with when it goes next, when it last went and why it didn’t if it failed.

Needs the analytics:read permission.

Done

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
report
required
string
Allowed values: traffic revenue funnels campaigns cohorts pages landing seo_keywords
name
required

The report’s name, such as Traffic.

string
input
required

What the report reads, as its page or operation takes it.

object
key
additional properties
frequency
required
string
Allowed values: daily weekly monthly
hour
required

The hour it goes, 0 to 23, on the workspace’s clock.

number
weekday
required

Weekly: 1 (Monday) to 7.

number | null
monthDay
required

Monthly: the day, 1 to 28.

number | null
paused
required
boolean
nextAt
required
Any of:
string format: date-time
lastSentAt
required
Any of:
string format: date-time
lastError
required
string | null
createdAt
required
string format: date-time

Example

{
"data": [
{
"report": "traffic",
"frequency": "daily"
}
]
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}