Skip to content

reporting module route (requires reporting:report:write)

POST
/v1/m/reporting/schedules
curl --request POST \
--url https://example.com/v1/m/reporting/schedules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "cron": "example", "enabled": true, "format": "example", "framework": "example", "id": "example", "locale": "example", "report_type": "compliance-evidence", "team": "example" }'

Creates one report schedule, and answers 501 when report scheduling is not wired.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
cron
required

Must parse as the reporting module’s five-field cron expression.

string
enabled
Any of:
boolean
format
Any of:

Pdf is preserved; every other value, including empty, is normalized to html.

string
framework
Any of:
string
id
Any of:
string
locale
Any of:
string
report_type
required
string
Allowed values: compliance-evidence audit-summary finops-report access-review executive-summary
team
Any of:
string
key
additional properties
any

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}