> ## Documentation Index > Fetch the complete documentation index at: https://developers.torq.io/llms.txt > Use this file to discover all available pages before exploring further. # List scheduled reports > Lists the workspace's scheduled reports, newest first by default. Reports of dashboards the API key cannot see are left out, as described in `List dashboards`. ## OpenAPI ````json GET /v1alpha/scheduled_reports { "openapi": "3.0.1", "info": { "contact": { "email": "support@torq.io", "name": "torq.io", "url": "https://torq.io" }, "title": "Torq Public API[production]", "version": "${DH_DEPLOY_VERSION}" }, "servers": [ { "url": "https://api.torq.io/public", "description": "US Environment" }, { "url": "https://api.eu.torq.io/public", "description": "European Enviornment" } ], "security": [ { "bearerAuth": [] } ], "tags": [ { "name": "Files" }, { "name": "ActivityLogs" }, { "name": "AgentsHubService" }, { "name": "Users" }, { "name": "ApiKeys" }, { "name": "AuditLogs" }, { "name": "ContextGraph" }, { "name": "DashboardsService" }, { "name": "Executions" }, { "name": "ShareRequests" }, { "name": "StepRunners" }, { "name": "Integrations" }, { "name": "IPAccessService" }, { "name": "RolesService" }, { "name": "ScheduledReportsService" }, { "name": "Secrets" }, { "name": "SecuritySettingsService" }, { "name": "ClaimMappings" }, { "name": "IdpSsoService" }, { "name": "Workflows" }, { "name": "Workspaces" }, { "name": "WorkspaceVariables" }, { "name": "Auto Triage Alerts" }, { "name": "Auto Triage Guidance" }, { "name": "Auto Triage Alert History" }, { "name": "Auto Triage Rules" }, { "name": "Auto Triage Verdict Actions" }, { "name": "Cases" }, { "name": "Cases Custom Fields" }, { "name": "Cases Notes" }, { "name": "ExtendedCaseService" }, { "name": "Cases Attachments" }, { "name": "Observables" }, { "name": "Cases Observables" }, { "name": "CaseSearchService" }, { "name": "Cases Tasks" }, { "name": "Cases Task Templates" }, { "name": "Cases Links" }, { "name": "Cases Events" }, { "name": "Cases Runbooks" } ], "externalDocs": { "description": "Torq Documentation", "url": "https://learn.torq.io" }, "x-original-swagger-version": "2.0", "paths": { "/v1alpha/scheduled_reports": { "get": { "description": "Lists the workspace's scheduled reports, newest first by default. Reports of dashboards the API key cannot see are left out, as described in `List dashboards`.", "operationId": "listScheduledReports", "parameters": [ { "description": "Return only the reports of this dashboard. A dashboard the API key cannot see returns an empty list.", "in": "query", "name": "dashboard_id", "schema": { "type": "string" } }, { "description": "Set to `true` to return only enabled reports, or `false` to return only disabled reports. By default, both are returned.", "in": "query", "name": "enabled", "schema": { "type": "boolean" } }, { "description": "The order of the results by creation time. The possible values are: `asc` for oldest first, and `desc` for newest first. Default is `desc`.", "in": "query", "name": "order", "schema": { "default": "desc", "type": "string" } }, { "description": "The maximum number of reports to retrieve per page. Default is 100. Maximum is 100.\nIf the number of results exceeds the defined page size, use [pagination](https://learn.torq.io/apidocs/pagination) to retrieve the next page of results.", "in": "query", "name": "page_size", "schema": { "default": 100, "format": "int32", "type": "integer" } }, { "description": "The token received from a previous `List scheduled reports` request. Provide this to retrieve the next page of results. Send the same `dashboard_id`, `enabled` and `order` as the request that returned it.", "in": "query", "name": "page_token", "schema": { "type": "string" } }, { "description": "Whether each report includes its recipients. Default is false; `recipient_count` is always returned.", "in": "query", "name": "include_recipients", "schema": { "type": "boolean" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/v1alphaListScheduledReportsResponse" } } }, "description": "A successful response." }, "401": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Invalid bearer token. If you receive this message more than once try creating a new Client ID/Client Secret or generating a new bearer token." }, "403": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "You don't have permission to access this resource." } }, "summary": "List scheduled reports", "tags": [ "Scheduled Reports" ] } } }, "components": { "schemas": { "v1alphaListScheduledReportsResponse": { "properties": { "reports": { "description": "The reports that match the request.", "items": { "$ref": "#/components/schemas/v1alphaScheduledReportSummary" }, "type": "array" }, "next_page_token": { "description": "When a token is returned it indicates there is another page of results to retrieve. Pass this token in the page_token parameter in a subsequent `List scheduled reports` request to retrieve the next page of results. If this field is not returned, there are no additional pages to retrieve.", "title": "Next page token", "type": "string" } }, "title": "List scheduled reports response", "type": "object" }, "v1alphaScheduledReportSummary": { "description": "A scheduled report as listed. Use `Get scheduled report` for its time range, filters, PDF setting and creator. If the report's schedule was set in Torq in a form this API cannot express, `schedule` is not returned.", "properties": { "id": { "description": "The report ID.", "example": "8b1e6c2a-3f4d-4e5b-9a6c-7d8e9f0a1b2c", "type": "string" }, "dashboard_id": { "description": "The ID of the dashboard the report is based on.", "example": "0f8fad5b-d9cb-469f-a165-70867728950e", "type": "string" }, "title": { "description": "The report title.", "example": "Weekly SOC summary", "type": "string" }, "enabled": { "description": "Whether the report is sent.", "type": "boolean" }, "schedule": { "$ref": "#/components/schemas/v1alphaScheduledReportSchedule" }, "timezone": { "description": "The IANA time zone of the schedule.", "example": "Asia/Jerusalem", "type": "string" }, "next_run_at": { "description": "When the report is scheduled to run next. Unset when the report is disabled.", "format": "date-time", "type": "string" }, "last_run": { "$ref": "#/components/schemas/v1alphaScheduledReportLastRun" }, "recipient_count": { "description": "How many recipients the report has.", "example": 2, "format": "int32", "type": "integer" }, "recipients": { "description": "Who receives the report. Returned only when `include_recipients` is true.", "items": { "$ref": "#/components/schemas/v1alphaScheduledReportRecipient" }, "type": "array" } }, "title": "Scheduled report summary", "type": "object" }, "v1alphaScheduledReportSchedule": { "description": "Contains the schedule that determines when a scheduled report is sent.", "properties": { "frequency": { "description": "How often the report is sent. The possible values are: `weekly`, `monthly`, `quarterly`.", "example": "weekly", "type": "string" }, "days": { "description": "The days of the week the report is sent. Required when `frequency` is `weekly`, and not allowed otherwise. The possible values are: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.", "example": [ "monday" ], "items": { "type": "string" }, "type": "array" }, "occurrence": { "description": "The day of the month the report is sent, in the months it runs. Required when `frequency` is `monthly` or `quarterly`, and not allowed otherwise. Quarterly reports run in January, April, July, and October. The possible values are: `first_day`, `first_monday`, `first_sunday`.", "example": "first_monday", "type": "string" }, "time_of_day": { "description": "The time of day the report is sent, in 24-hour HH:MM format, in the time zone set in `timezone`.", "example": "09:00", "type": "string" } }, "required": [ "frequency", "time_of_day" ], "type": "object" }, "v1alphaScheduledReportLastRun": { "description": "Contains the status and timing of a scheduled report's most recent run.", "properties": { "status": { "description": "The run's status. The possible values are: `running`, `success`, `failure`.", "example": "success", "type": "string" }, "started_at": { "description": "When the run started.", "format": "date-time", "type": "string" }, "finished_at": { "description": "When the run finished. Unset while the run is in progress.", "format": "date-time", "type": "string" } }, "type": "object" }, "v1alphaScheduledReportRecipient": { "description": "Contains a recipient of a scheduled report: an email address or a group.", "properties": { "type": { "description": "The kind of recipient. The possible values are: `email` for an email address, and `group` for a group ID. Reports created outside this API can also return `user`, for a workspace user's email address.", "example": "email", "type": "string" }, "value": { "description": "The email address or group ID, depending on `type`.", "example": "soc-leads@example.com", "type": "string" } }, "required": [ "type", "value" ], "type": "object" } }, "securitySchemes": { "bearerAuth": { "type": "http", "scheme": "bearer", "bearerFormat": "64fb4b65-44d8-4304-881c-b1f8b6b3100a" } } } } ````