Docs menu
API reference

Autopilot

Plans and the rolling weekly queue.

Autopilot plans

GET/v1/public/autopilot
scopescontent:read

The business's autopilot plans: channels, cadence, direction, and whether each plan is review-first or automatic.

request
curl https://api.taka.ai/v1/public/autopilot \
  -H "Authorization: Bearer taka_live_..."
response
{
  "plans": [
    {
      "id": "abc123",
      "channel": "instagram",
      "channels": [
        "instagram"
      ],
      "direction": "expertise",
      "status": "active",
      "publishMode": "review",
      "preferredDays": [
        "tuesday"
      ],
      "preferredTime": "09:30"
    }
  ]
}

Weekly queue

GET/v1/public/autopilot/queue
scopescontent:read

The rolling 7-day schedule with day-level coverage. This read never triggers generation.

Path and query parameters
fromstringWindow start (ISO); defaults to now
request
curl https://api.taka.ai/v1/public/autopilot/queue \
  -H "Authorization: Bearer taka_live_..."
response
{
  "windowStart": "2026-09-01",
  "windowEnd": "2026-09-07",
  "items": [
    {
      "variantId": "abc123",
      "postId": "abc123",
      "name": "Weekend croissant special",
      "platform": "instagram",
      "status": "scheduled",
      "scheduledAt": "2026-09-01T09:30:00Z",
      "holdReason": null,
      "thumbnailUrl": "https://media.taka.ai/abc123-thumb.jpg?signature=..."
    }
  ],
  "days": [
    {
      "date": "2026-09-01",
      "expectedCount": 1,
      "actualCount": 1
    }
  ],
  "hasActivePlan": true,
  "publishMode": "review",
  "pendingApprovalCount": 2,
  "billingHold": false
}