Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Edge S2 Briefing Service Cron API
description: Serves OGT briefings and handles report ingestion.
version: 0.1.0
tags:
- name: Cron
paths:
/api/cron/daily-emails:
post:
summary: Cron Daily Emails
description: 'Cron-triggered endpoint to send daily concept emails.
Protected by X-Cron-Secret header or Cloud Scheduler OIDC.'
operationId: cron_daily_emails_api_cron_daily_emails_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Cron
/api/cron/growth-report:
post:
summary: Cron Growth Report
description: 'Growth stats: published to GCS every morning, emailed to ops on Fridays
only (growth_report.MAIL_DAYS). Run after the daily-emails cron so
yesterday''s data is closed and today''s send is recorded. `force: true` in
the body (or ?force=1) emails regardless of weekday.'
operationId: cron_growth_report_api_cron_growth_report_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Cron
/api/cron/import-drip:
post:
summary: Cron Import Drip
description: 'Enrol the next batch of an imported list (email/imports/.json): 100 at a
time, at least two days apart, refused when the imported-so-far show unsubscribes,
bounces or send failures above import_drip''s stop thresholds. Body: {"name": ...,
"dry_run": true|false}. Safe to schedule daily: the gap check makes it every other day.'
operationId: cron_import_drip_api_cron_import_drip_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Cron
/api/cron/beta-invite:
post:
summary: Cron Beta Invite
description: 's2desktop-beta (owner 2026-11-03): Dr. Long''s note to 30 random daily subscribers a
weekday until 10 beta requests carry from=ogt-beta (beta_invite''s verdict). Body:
{"dry_run": true|false} or {"test_to": ""} for one [TEST] copy and no state change.
Safe to schedule daily: a second call the same day and weekends are a wait.'
operationId: cron_beta_invite_api_cron_beta_invite_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Cron
/api/cron/buyer-survey:
post:
summary: Cron Buyer Survey
description: 'Buyer survey (owner 2026-11-15): one survey note per course buyer 3-30 days after the first
purchase, one reminder 7 days later, never to anyone whose email_hash answered (buyer_survey).
Body: {"dry_run": true|false}; {"past_buyers": true, "dry_run": …} for the one-off past-buyer note;
or {"test_to": "", "kind": "survey|reminder|past"} for one
[TEST] copy and no state change. Safe to schedule daily: a buyer is surveyed and reminded once.'
operationId: cron_buyer_survey_api_cron_buyer_survey_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Cron
/api/cron/free-chapter:
post:
summary: Cron Free Chapter
description: 'Free-chapter follow-up (src/engage/free_chapter.py): day 7 reminder at full price, day 14 one 72-hour
offer (alternating prices), never to a buyer of that course. Body: {"dry_run": true|false}, or
{"test_to": addr, "kind": "chapter|reminder|offer", "course": slug} for one [TEST] copy.'
operationId: cron_free_chapter_api_cron_free_chapter_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Cron
/api/cron/price-survey:
post:
summary: Cron Price Survey
description: 'Price survey email (src/engage/price_survey.py). Body: {"survey": id, "test_to": addr} for one
[TEST] copy; {"survey": id, "dry_run": true} for who would get it; {"survey": id, "dry_run": false}
sends the next batch (BATCH addresses; call again for the rest). Sends only with the owner''s
approval stamp on the current copy (scripts/price_survey.json).'
operationId: cron_price_survey_api_cron_price_survey_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Cron
/api/cron/course-update:
post:
summary: Cron Course Update
description: 'Course update note (owner 2026-11-17, skill ogt-course-update): every buyer of a course hears that
a new version is in their library, once; a campaign with gift_sku also unlocks that course for them
(products/grants.jsonl, never a sale). Body: {"campaign": id, "dry_run": true|false} or
{"campaign": id, "test_to": ""} for one [TEST] copy and no state change. A campaign sends
only with the owner''s approval stamp on its current copy (scripts/course_updates.json).'
operationId: cron_course_update_api_cron_course_update_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Cron
/api/cron/process-bounces:
post:
summary: Cron Process Bounces
description: 'Automated bounce sweep — read hootdesk DSNs, suppress hard bounces of active
subscribers. Run before the daily send so a freshly-bounced address is gone by
the next send. Idempotent (processes only unseen bounce mail).'
operationId: cron_process_bounces_api_cron_process_bounces_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Cron
/api/cron/weekly-preview:
post:
summary: Cron Weekly Preview
description: Weekly preview digest (next 5 days) to test cohort only.
operationId: cron_weekly_preview_api_cron_weekly_preview_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Cron
/api/cron/briefing-teaser:
post:
summary: Cron Briefing Teaser
description: 'Track B: send a briefing teaser email.
Body options:
briefing_filename: specific briefing HTML file (e.g., daily-2026-04-21.html)
briefing_type: ''daily'' or ''weekly'' (default daily; used when filename unset)
cohort: ''test'' (default) or ''production''
dry_run: bool'
operationId: cron_briefing_teaser_api_cron_briefing_teaser_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Cron