List scheduled jobs
curl --request GET \
--url https://api.cekura.ai/schedules/v1/cron-jobs/ \
--header 'X-CEKURA-API-KEY: <api-key>'import requests
url = "https://api.cekura.ai/schedules/v1/cron-jobs/"
headers = {"X-CEKURA-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-CEKURA-API-KEY': '<api-key>'}};
fetch('https://api.cekura.ai/schedules/v1/cron-jobs/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cekura.ai/schedules/v1/cron-jobs/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-CEKURA-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cekura.ai/schedules/v1/cron-jobs/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-CEKURA-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cekura.ai/schedules/v1/cron-jobs/")
.header("X-CEKURA-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cekura.ai/schedules/v1/cron-jobs/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-CEKURA-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"crontab_expression": "<string>",
"id": 123,
"agent": 123,
"name": "<string>",
"timezone": "<string>",
"scenario_ids": [
123
],
"scenarios_data": [
{
"id": 123,
"agent": 123,
"name": "<string>",
"personality": 123,
"personality_name": "<string>"
}
],
"personality": 123,
"personalities": [
123
],
"tags": [
"<string>"
],
"frequency": 50,
"run_settings": "<unknown>",
"run_as_text": true,
"execution_mode": "voice",
"notify_on": "never",
"is_active": true,
"created_by": 123,
"created_via": "user",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]Schedules
List Schedule Jobs
List all scheduled jobs
GET
/
schedules
/
v1
/
cron-jobs
/
List scheduled jobs
curl --request GET \
--url https://api.cekura.ai/schedules/v1/cron-jobs/ \
--header 'X-CEKURA-API-KEY: <api-key>'import requests
url = "https://api.cekura.ai/schedules/v1/cron-jobs/"
headers = {"X-CEKURA-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-CEKURA-API-KEY': '<api-key>'}};
fetch('https://api.cekura.ai/schedules/v1/cron-jobs/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cekura.ai/schedules/v1/cron-jobs/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-CEKURA-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cekura.ai/schedules/v1/cron-jobs/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-CEKURA-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cekura.ai/schedules/v1/cron-jobs/")
.header("X-CEKURA-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cekura.ai/schedules/v1/cron-jobs/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-CEKURA-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"crontab_expression": "<string>",
"id": 123,
"agent": 123,
"name": "<string>",
"timezone": "<string>",
"scenario_ids": [
123
],
"scenarios_data": [
{
"id": 123,
"agent": 123,
"name": "<string>",
"personality": 123,
"personality_name": "<string>"
}
],
"personality": 123,
"personalities": [
123
],
"tags": [
"<string>"
],
"frequency": 50,
"run_settings": "<unknown>",
"run_as_text": true,
"execution_mode": "voice",
"notify_on": "never",
"is_active": true,
"created_by": 123,
"created_via": "user",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]Authorizations
api_keyoauth2supabase_session
Query Parameters
Response
200 - application/json
Connection overrides applied on every scheduled run. Keys must match what the matching run endpoint accepts, and depend on execution_mode:
- voice:
mode,outbound_phone_number,agent_number - text:
websocket_url,outbound_phone_number,agent_number - sip:
sip_endpoint - vapi_webrtc:
vapi_assistant_id - retell_webrtc:
retell_agent_id - elevenlabs:
elevenlabs_agent_id,elevenlabs_data - livekit_v2:
livekit_data - pipecat_v2:
pipecat_data - every mode:
calls_per_second(most calls started per second, a number from 0.1 to 4, e.g. 0.5 for one call every 2 seconds; unset means no limit) Example:{"livekit_data": {"agent_name": "support-agent", "config": {"greeting": "hi"}}}
Execution mode for the cron job
Choices: voice, text, sip, vapi_webrtc, elevenlabs, pipecat_v2, livekit_v2, retell_webrtc, ello, agora
Example: "voice", "text", "sip", "pipecat_v2", "elevenlabs", or "livekit_v2"
voice- Voicetext- Textsip- SIPvapi_webrtc- VAPI WebRTCretell_webrtc- Retell WebRTCelevenlabs- ElevenLabsello- Ellolivekit_v2- LiveKitpipecat_v2- Pipecatagora- Agora
Available options:
voice, text, sip, vapi_webrtc, retell_webrtc, elevenlabs, ello, livekit_v2, pipecat_v2, agora