/v1/schedules endpoint you can schedule API calls to execute automatically at specified times. Schedule one-time executions or recurring tasks using cron expressions or natural language.
- Schedule one-time executions at a specific datetime
- Create recurring schedules using cron expressions
- Use natural language text to automatically generate cron expressions
- Schedule HTTP endpoints (GET or POST)
- For POST requests, use short-form Olostep endpoints (automatically prefixed) or full URLs
- Pass any payload you want - the payload is sent exactly as you specify it
- Automatically manage schedule lifecycle
Installation
Create a schedule
Create a schedule to execute API calls automatically. You can create one-time schedules or recurring schedules using cron expressions. Theendpoint can be any URL (not limited to Olostep endpoints), and the payload can contain any data you want to send.
One-time schedule
Schedule an API call to execute once at a specific datetime.Recurring schedule with cron expression
Create a recurring schedule using a cron expression. Cron expressions use 6 fields format: minute hour day month day-of-week year.Natural language scheduling
Use natural language text to automatically generate cron expressions. The system will convert your text into a valid cron expression.Response format
When you create a schedule, you’ll receive a schedule object with the following properties:execute_at instead of cron_expression:
List schedules
Retrieve all schedules for your team. By default, deleted schedules are filtered out. Use theinclude_deleted query parameter to include them.
Get a schedule
Retrieve a single schedule by its ID.Delete a schedule
Delete a schedule by its ID. This will stop any future executions.Supported endpoints
Olostep endpoints (short form)
For POST requests, you can use short forms for Olostep endpoints. The system will automatically prependhttps://api.olostep.com/ for these:
v1/scrapes- Schedule web scraping tasksv1/batches- Schedule batch processing jobsv1/crawls- Schedule website crawling operationsv1/maps- Schedule map data extractionv1/answers- Schedule answer generation
Full URLs
You can also provide full URLs for your endpoints. This is required for external APIs or webhooks:payload field accepts any JSON object - you can structure it however you need for your target endpoint.
Cron expression format
Cron expressions use 6 fields format:0/3 * * * ? *- Every 3 minutes0 10 * * ? *- Every day at 10:00 AM0 9 ? * MON *- Every Monday at 9:00 AM0 0 1 * ? *- First day of every month at midnight
? for day-of-month or day-of-week when not specified.
Natural language examples
You can use natural language to describe schedules. The system will automatically convert them to cron expressions:- “every 3 minutes” →
0/3 * * * ? * - “every day at 10am” →
0 10 * * ? * - “every Monday at 9am” →
0 9 ? * MON * - “every hour” →
0 * * * ? * - “every week on Monday” →
0 0 ? * MON *
Important notes
- One-time schedules are automatically deleted after execution
- Recurring schedules continue until manually deleted
- Timezone must be a valid IANA timezone identifier (e.g., “UTC”, “America/New_York”, “Europe/London”)
- The
execute_atdatetime must be in the future - Natural language conversion may require retries; the system will attempt up to 3 times
- When using natural language text (
textparameter), the timezone defaults to “UTC” - Schedules execute the API call with the provided payload exactly as specified - you can pass any JSON structure you need
- For POST requests, short-form Olostep endpoints (
v1/scrapes,v1/batches,v1/crawls,v1/maps,v1/answers) are automatically prefixed withhttps://api.olostep.com/ - For other endpoints, provide the full URL
- The
payloadcan contain any data structure - it’s sent as-is to your target endpoint - Deleting an already deleted schedule will return a 400 error