curl --request GET \
--url https://api.example.com/schedule{
"schedule": [
{
"schedule[].contentId": "<string>",
"schedule[].title": "<string>",
"schedule[].scheduledPublishTime": "<string>",
"schedule[].status": "<string>",
"schedule[].topic": "<string>",
"schedule[].createdAt": "<string>"
}
],
"error": "<string>"
}Retrieve upcoming content publishing schedule
curl --request GET \
--url https://api.example.com/schedule{
"schedule": [
{
"schedule[].contentId": "<string>",
"schedule[].title": "<string>",
"schedule[].scheduledPublishTime": "<string>",
"schedule[].status": "<string>",
"schedule[].topic": "<string>",
"schedule[].createdAt": "<string>"
}
],
"error": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/darkzOGx/youtube-automation-agent/llms.txt
Use this file to discover all available pages before exploring further.
GET /schedule
"scheduled", "published", "processing", etc.curl http://localhost:3456/schedule
[
{
"contentId": "content_1234567890abcdef",
"title": "Master React Hooks in 10 Minutes - Complete Guide for Beginners",
"topic": "React Hooks Tutorial",
"scheduledPublishTime": "2026-03-06T14:00:00.000Z",
"status": "scheduled",
"createdAt": "2026-03-05T10:30:45.123Z",
"thumbnailUrl": "/thumbnails/content_1234567890abcdef.png",
"description": "Learn React Hooks from scratch..."
},
{
"contentId": "content_fedcba0987654321",
"title": "10 Python Tips Every Developer Should Know",
"topic": "Python Programming",
"scheduledPublishTime": "2026-03-07T14:00:00.000Z",
"status": "scheduled",
"createdAt": "2026-03-05T08:15:30.456Z",
"thumbnailUrl": "/thumbnails/content_fedcba0987654321.png",
"description": "Boost your Python productivity..."
}
]
{
"error": "Database connection failed"
}
| Status Code | Description |
|---|---|
| 200 | Schedule retrieved successfully |
| 500 | Server error retrieving schedule |
async function displaySchedule() {
const response = await fetch('http://localhost:3456/schedule');
const schedule = await response.json();
schedule.forEach(item => {
const publishDate = new Date(item.scheduledPublishTime);
console.log(`${publishDate.toLocaleDateString()}: ${item.title}`);
});
}
# Count scheduled items
curl -s http://localhost:3456/schedule | jq 'length'
# Show next 3 scheduled items
curl -s http://localhost:3456/schedule | jq '.[0:3]'
import requests
from datetime import datetime
response = requests.get('http://localhost:3456/schedule')
schedule = response.json()
for item in schedule:
dt = datetime.fromisoformat(item['scheduledPublishTime'].replace('Z', '+00:00'))
print(f"Event: {item['title']}")
print(f"Date: {dt.strftime('%Y-%m-%d %H:%M')}")
print("---")
async function checkScheduleHealth() {
const response = await fetch('http://localhost:3456/schedule');
const schedule = await response.json();
if (schedule.length < 3) {
console.warn('⚠️ Low content inventory! Only', schedule.length, 'items scheduled');
// Trigger alert or auto-generate more content
}
}
// Get only content scheduled for next 7 days
const response = await fetch('http://localhost:3456/schedule');
const schedule = await response.json();
const nextWeek = Date.now() + (7 * 24 * 60 * 60 * 1000);
const upcomingWeek = schedule.filter(item => {
const publishTime = new Date(item.scheduledPublishTime).getTime();
return publishTime <= nextWeek;
});
console.log(`${upcomingWeek.length} videos scheduled for next week`);