Skip to main content
POST
/
reports
/
sla
/
schedules
/
{scheduleId}
/
run
Run a Report On-Demand
curl --request POST \
  --url https://v1.api.altostrat.io/reports/sla/schedules/{scheduleId}/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "from_date": "2025-10-01",
  "to_date": "2025-10-31"
}
'
{
  "message": "Report is being generated."
}

Documentation Index

Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your authentication token.

Path Parameters

scheduleId
string
required

The unique identifier for the SLA report schedule to run, prefixed with sla_.

Pattern: ^sla_[0-9a-zA-Z]{27}$
Example:

"sla_2ayc4Yy6w3g7Y2j4g4g4Yy6w3g7"

Body

application/json

The date range for the on-demand report.

Specifies the date range for an on-demand report run.

from_date
string<date>
required

The start date for the report data (inclusive), in YYYY-MM-DD format. Must be before to_date and before tomorrow.

Example:

"2025-10-01"

to_date
string<date>
required

The end date for the report data (inclusive), in YYYY-MM-DD format. Must be after from_date and before tomorrow.

Example:

"2025-10-31"

Response

Accepted. The report generation has been queued successfully.

message
string
Example:

"Report is being generated."