Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview

List recent schedule execution summaries

Lists the most recent execution summary for schedules in the calling credential’s environment. A key may only name its own environment; a session caller that names none reads the whole workspace.

GET/api/v2/analytics/schedule-executions
Authorization
AuthorizationBearer token (Anlyon API key) · headerrequired

Workspace API key sent as Authorization: Bearer <key>.

or
better-auth.session_tokenAPI key · cookierequired

Browser session used by dashboard-only operations.

Query parameters
limitinteger
min 1 · max 100 · default: 10
environmentIdstring<uuid>
Header parameters
X-Request-Idstring

Optional caller correlation ID. Unsafe or oversized values are replaced.

max length 128
Responses
200

Recent schedule execution summaries returned.

successbooleanrequired
Allowed:true
dataRecentScheduleExecution[]required
Show properties
Array of RecentScheduleExecution
scheduleIdstringrequired
matches ^sch_
namestringrequired
lastRunAtstring<date-time> | nullrequired
lastStatusstring | nullrequired
nextRunAtstring<date-time> | nullrequired
401

Unauthorized - Invalid or missing API key

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
403

Authenticated credential lacks the required scope or workspace access.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - Rate limit exceeded

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.anlyon.com/api/v2/analytics/schedule-executions' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": [
    {
      "scheduleId": "string",
      "name": "string",
      "lastRunAt": "2019-08-24T14:15:22Z",
      "lastStatus": "string",
      "nextRunAt": "2019-08-24T14:15:22Z"
    }
  ]
}