Skip to main content
GET
/
scheduled-jobs
/
{sched_id}
Get a scheduled job
curl --request GET \
  --url https://api.getdialed.ai/flows/scheduled-jobs/{sched_id} \
  --header 'X-API-Key: <api-key>'
import requests

url = "https://api.getdialed.ai/flows/scheduled-jobs/{sched_id}"

headers = {"X-API-Key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};

fetch('https://api.getdialed.ai/flows/scheduled-jobs/{sched_id}', 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.getdialed.ai/flows/scheduled-jobs/{sched_id}",
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-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.getdialed.ai/flows/scheduled-jobs/{sched_id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("X-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.getdialed.ai/flows/scheduled-jobs/{sched_id}")
.header("X-API-Key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.getdialed.ai/flows/scheduled-jobs/{sched_id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "created_at": "2026-07-09T09:00:00Z",
  "cron_expression": "0 9 * * 1-5",
  "definition_id": "def_a1b2c3d4",
  "description": "Nightly Five9 report sync",
  "enabled": true,
  "id": "sched_1a2b3c4d",
  "input_data": {
    "report": "daily_calls"
  },
  "metadata": {
    "owner": "ops"
  },
  "next_fire_at": "2026-07-10T09:00:00Z",
  "org_id": "org_e5f6g7h8",
  "updated_at": "2026-07-09T09:00:00Z"
}
{
"detail": "Authentication required"
}
{
"detail": "Scheduled job not found"
}
{
"detail": "Validation error"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

sched_id
string
required

Response

Successful Response

GET response — next_fire_at is injected by the router via croniter (D-14).

next_fire_at is None only for legacy rows whose stored cron cannot produce a next fire (CR-02 defense in depth) — the write gate rejects such expressions for all new/updated records.

id
string
required
definition_id
string
required
org_id
string
required
description
string
required
cron_expression
string
required
enabled
boolean
required
input_data
Input Data · object | null
required
metadata
Metadata · object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
next_fire_at
string<date-time> | null
required
last_fired_at
string<date-time> | null
required
last_fire_status
enum<string> | null
required
Available options:
success,
failure,
running