Skip to main content

Cron Jobs API

The A1Base Cron Jobs API allows you to programmatically create, manage, and monitor scheduled tasks for your AI agents.

Authentication

All API requests require authentication using your A1Base API key. Include your API key in the Authorization header:

Base URL

Endpoints

Create a Cron Job

Create a new scheduled task that will execute at the specified intervals.

Request Body

Example Request

Example Response

List All Cron Jobs

Retrieve a list of all cron jobs for your account.

Query Parameters

Example Response

Get a Cron Job

Retrieve details for a specific cron job.

Path Parameters

Example Response

Update a Cron Job

Update the configuration of an existing cron job.

Path Parameters

Request Body

Include only the fields you want to update.

Example Request

Example Response

Pause a Cron Job

Temporarily pause the execution of a cron job.

Path Parameters

Example Response

Resume a Cron Job

Resume a paused cron job.

Path Parameters

Example Response

Delete a Cron Job

Permanently delete a cron job.

Path Parameters

Example Response

Get Execution History

Retrieve the execution history for a specific cron job.

Path Parameters

Query Parameters

Example Response

Error Responses

Example Error Response