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

List execution logs for a schedule

GET/api/v2/schedules/{scheduleId}/logs
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.

Path parameters
scheduleIdstringrequired
matches ^sch_
Query parameters
pageinteger

Page number for pagination

min 1 · default: 1
limitinteger

Number of items per page

min 1 · max 100 · default: 20
Header parameters
X-Request-Idstring

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

max length 128
Responses
200

Schedule execution history returned with page pagination.

successbooleanrequired
Allowed:true
dataScheduleExecutionLog[]required
Show properties
Array of ScheduleExecutionLog
idstring<uuid>required
scheduleIdstringrequired
matches ^sch_
statusstringrequired
Allowed:STARTEDSUCCESSFAILED
messageIdstring | nullrequired
executedAtstring<date-time>required
durationinteger | nullrequired
min 0
nextScheduledAtstring<date-time> | nullrequired
errorMessagestring | nullrequired
createdAtstring<date-time>required
paginationOffsetPaginationrequired
Show properties
totalintegerrequired
min 0
pageintegerrequired
min 1
limitintegerrequired
min 1
totalPagesintegerrequired
min 0
hasMorebooleanrequired
400

Bad Request - Invalid input data

successbooleanrequired
requestIdstringrequired

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

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
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
404

Not Found - Resource does not exist

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/schedules/string/logs' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "scheduleId": "string",
      "status": "STARTED",
      "messageId": "string",
      "executedAt": "2019-08-24T14:15:22Z",
      "duration": 0,
      "nextScheduledAt": "2019-08-24T14:15:22Z",
      "errorMessage": "string",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ],
  "pagination": {
    "total": 0,
    "page": 1,
    "limit": 1,
    "totalPages": 0,
    "hasMore": true
  }
}