Skip to main content
GET
/
api
/
v1
/
crons
TypeScript SDK
import { cuey } from 'cuey';

const { data: crons, pagination } = await cuey.crons.list({
  page: 0,
  limit: 10,
  is_active: true
});
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "cron_expression": "<string>",
      "timezone": "<string>",
      "webhook_url": "<string>",
      "method": "GET",
      "headers": {},
      "payload": {},
      "retry_config": {
        "maxRetries": 5,
        "backoffMs": 2550,
        "backoffType": "exponential"
      },
      "is_active": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "pagination": {
    "page": 123,
    "limit": 123,
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header as: Bearer <your-api-key>

Query Parameters

page
integer
default:0

Page number (0-indexed)

Required range: x >= 0
limit
integer
default:100

Items per page

Required range: 1 <= x <= 1000
is_active
boolean

Filter by active status

Response

Success

data
object[]
required
pagination
object
required