Storyden
Trails

Preview the next five schedule occurrences

Validate a schedule and return its next five occurrences after the supplied time. The operation does not create or update a Trail. The calculation skips local times that do not exist and emits an ambiguous local time once.

POST/trails/schedule/preview

Validate a schedule and return its next five occurrences after the supplied time. The operation does not create or update a Trail. The calculation skips local times that do not exist and emits an ambiguous local time once.

storyden-session<token>

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/trails/schedule/preview" \  -H "Content-Type: application/json" \  -d '{    "schedule": {      "start": "2026-08-18T10:00:00",      "timezone": "string",      "rule": {        "frequency": "hourly",        "interval": 1      }    }  }'
{
  "occurrences": [
    "2019-08-24T14:15:22Z"
  ]
}
Empty
Empty
Empty
{
  "type": "string",
  "title": "string",
  "detail": "string",
  "trace_id": "string",
  "metadata": {}
}