{
  "name": "Worked example: eight posts proposed by an AI agent",
  "source_article": "https://apiwings.com/blog/ai-agent-publish-social-media-posts",
  "policy_file": "agent-post-policy.json",
  "cases": [
    {
      "id": "A",
      "description": "LinkedIn post, approved by Ana an hour ago",
      "proposal": {
        "draft_id": "drf_101",
        "account_id": "acc_li_ana",
        "platform": "linkedin",
        "text": "Version 2 of Acme is out: plan a full month of posts in one view and reuse your best captions as templates. What changed and why: https://acme.com/blog/v2",
        "media": [
          {
            "id": "med_launch_1",
            "alt": "Screenshot of the new Acme dashboard with the monthly calendar view"
          }
        ]
      },
      "state": {
        "now": "2026-11-25T10:00:00Z",
        "history": [],
        "approval": {
          "hash": "7b498d158cb752565b526cf1e1e840dcb6cb4c1284f084b4b2e5ac238af58efd",
          "approved_by": "ana@acme.com",
          "approved_at": "2026-11-25T09:00:00Z"
        }
      }
    },
    {
      "id": "B",
      "description": "Bluesky post with a link the agent copied from a web page it was asked to summarise",
      "proposal": {
        "draft_id": "drf_102",
        "account_id": "acc_bsky_acme",
        "platform": "bluesky",
        "text": "Refunds for version 1 customers are now automatic. Claim yours here: https://acme-refunds.example.net/claim",
        "media": []
      },
      "state": {
        "now": "2026-11-25T10:00:00Z",
        "history": [],
        "approval": null
      }
    },
    {
      "id": "C",
      "description": "Post to the CEO's personal X account, which is not in the policy",
      "proposal": {
        "draft_id": "drf_103",
        "account_id": "acc_x_ceo",
        "platform": "x",
        "text": "Big day at Acme: version 2 is live. https://acme.com/blog/v2",
        "media": []
      },
      "state": {
        "now": "2026-11-25T10:00:00Z",
        "history": [],
        "approval": null
      }
    },
    {
      "id": "D",
      "description": "Threads post with an API key the agent found in the logs it was reading",
      "proposal": {
        "draft_id": "drf_104",
        "account_id": "acc_threads_acme",
        "platform": "threads",
        "text": "Developers: the v2 API is live. Quick test with key aw_live_9fK2mQ7xL4pR8sT1 and you are set! https://acme.com/docs",
        "media": []
      },
      "state": {
        "now": "2026-11-25T10:00:00Z",
        "history": [],
        "approval": null
      }
    },
    {
      "id": "E",
      "description": "TikTok video where the agent chose \"public\" by itself",
      "proposal": {
        "draft_id": "drf_105",
        "account_id": "acc_tt_acme",
        "platform": "tiktok",
        "text": "60 seconds with the new monthly view #productivity",
        "media": [
          {
            "id": "med_video_1",
            "alt": "Screen recording of the monthly calendar view"
          }
        ],
        "options": {
          "privacy_level": "PUBLIC_TO_EVERYONE"
        }
      },
      "state": {
        "now": "2026-11-25T10:00:00Z",
        "history": [],
        "approval": null
      }
    },
    {
      "id": "F",
      "description": "A fourth Bluesky post in 24 hours (the policy allows 3)",
      "proposal": {
        "draft_id": "drf_106",
        "account_id": "acc_bsky_acme",
        "platform": "bluesky",
        "text": "Tip: templates keep your best captions one click away. https://acme.com/help/templates",
        "media": []
      },
      "state": {
        "now": "2026-11-25T10:00:00Z",
        "history": [
          {
            "account_id": "acc_bsky_acme",
            "text": "Version 2 is live: one view for a full month of posts. https://acme.com/blog/v2",
            "published_at": "2026-11-24T16:00:00Z"
          },
          {
            "account_id": "acc_bsky_acme",
            "text": "Moving from version 1? Everything comes with you, automatically.",
            "published_at": "2026-11-24T20:30:00Z"
          },
          {
            "account_id": "acc_bsky_acme",
            "text": "Same price for every current user. Details: https://acme.com/pricing",
            "published_at": "2026-11-25T08:15:00Z"
          }
        ],
        "approval": {
          "hash": "f1b75bb5ef2a77abb2ad33748b5be162bf4bf3bedfc70cee63fbc3d06014517b",
          "approved_by": "ana@acme.com",
          "approved_at": "2026-11-25T09:50:00Z"
        }
      }
    },
    {
      "id": "G",
      "description": "Threads post the agent rewrote after it was approved",
      "proposal": {
        "draft_id": "drf_107",
        "account_id": "acc_threads_acme",
        "platform": "threads",
        "text": "Version 2 is here. One view for your whole month. Upgrade before Friday or lose your discount!",
        "media": []
      },
      "state": {
        "now": "2026-11-25T10:00:00Z",
        "history": [],
        "approval": {
          "hash": "ed8fa8ad082f6b3dc59fa48ad512f6d2ce9f8a28fe391224e5c2e1d1b855dcb9",
          "approved_by": "ana@acme.com",
          "approved_at": "2026-11-25T09:30:00Z"
        }
      }
    },
    {
      "id": "H",
      "description": "A new draft repeating yesterday's Bluesky post",
      "proposal": {
        "draft_id": "drf_108",
        "account_id": "acc_bsky_acme",
        "platform": "bluesky",
        "text": "Moving from version 1?  Everything comes with you, automatically.",
        "media": []
      },
      "state": {
        "now": "2026-11-25T10:00:00Z",
        "history": [
          {
            "account_id": "acc_bsky_acme",
            "text": "Version 2 is live: one view for a full month of posts. https://acme.com/blog/v2",
            "published_at": "2026-11-24T16:00:00Z"
          },
          {
            "account_id": "acc_bsky_acme",
            "text": "Moving from version 1? Everything comes with you, automatically.",
            "published_at": "2026-11-24T20:30:00Z"
          }
        ],
        "approval": {
          "hash": "2feff52ad84433ac1d8911ecb82d2e64f4053451817c46070fc59dd7ba3e8956",
          "approved_by": "ana@acme.com",
          "approved_at": "2026-11-25T09:55:00Z"
        }
      }
    }
  ]
}