# Post My Cut by Sontiac LLC Task-specific quick starts: https://postmycut.com/llms.txt Prepare original videos and photo decks for a creator. Keep reusable work in their workspace, send an edit to their TikTok inbox, or schedule an approved delivery. ## Connect - Creator setup and platform eligibility: https://postmycut.com/guide - Identify a publishing destination by the stable id from list_accounts. The workspace_label is an optional private name that the creator or a Full agent chose, such as "Training clips". It appears alongside the platform's name. A Full agent can read GET /api/accounts/{account_id}/label and call set_account_label(account_id,data={label,version}), or PUT the same data to that URL. Use the current version from the read. Send null to clear the label. A 409 means another editor changed it. A delivery key can see only its pinned destination, including its current label, through list_accounts. - Public connection configuration: GET https://postmycut.com/api/platform-access. The account-specific grants from list_accounts determine the available destinations after authorization. - Creator workspace: https://postmycut.com/app#connections - Integration guide: https://postmycut.com/agents - HTTP API schema: https://postmycut.com/openapi.json - Streamable HTTP MCP endpoint: https://postmycut.com/mcp - Standalone publishing CLI: https://postmycut.com/downloads/postlane-cli.py. Download the file and run uv run --script postlane-cli.py --help. The download defaults to this instance. For a reusable media ID use upload --idempotency-key FILE_KEY SOURCE. Retry with the same key and bytes if a response is lost. The deliver command uploads files in order and queues one retry-safe post. For a private signed HTTPS URL, pass - as its source and supply one URL per line on stdin. After a media-host expiry error, refresh that URL and rerun the same delivery key and file order. - Local-file MCP companion for macOS/Linux: https://postmycut.com/downloads/postlane-mcp.zip. Read README.md inside. It exposes the same remote tools plus upload_file(path, idempotency_key), which streams from POSTLANE_MEDIA_ROOT. Configure it as your single stdio server if your agent needs to open local files. - Authenticate with a creator-issued key in the Authorization: Bearer header on each request. Each key belongs to one workspace. Key management and direct TikTok approval require the creator's browser session. ## Bring existing TikTok history Download the importer bundle on the machine with your source credentials. Replace HANDLE and the account IDs in the commands below before running them. The ZIP defaults to this Post My Cut instance. curl -fLo postlane-history.zip https://postmycut.com/downloads/postlane-history.zip unzip postlane-history.zip cd postlane-history Post Bridge: set POST_BRIDGE_API_KEY in the environment. Preview (reads only the source): uv run --script postbridge_metrics.py --source-account SOURCE_ID --handle HANDLE To save, set POSTLANE_API_KEY. A new source binding requires a full key for first setup, or the creator can configure it in advance. A Metrics collector key can import to an existing binding. For a new binding to an existing connected account, add --connected-account POSTLANE_ACCOUNT_ID on the first import. uv run --script postbridge_metrics.py --source-account SOURCE_ID --handle HANDLE --import Content Pipeline: set PIPELINE_API_URL and PIPELINE_API_TOKEN for the source. Supply the matching connected TikTok account ID from list_accounts. Preview: uv run --script pipeline_metrics.py --handle HANDLE --account POSTLANE_ACCOUNT_ID --history --dry-run To compare against recorded readings, set POSTLANE_API_KEY to a Read only key: uv run --script pipeline_metrics.py --handle HANDLE --account POSTLANE_ACCOUNT_ID --history --compare To save the readings, set POSTLANE_API_KEY to a Metrics collector key: uv run --script pipeline_metrics.py --handle HANDLE --account POSTLANE_ACCOUNT_ID --history Exact repeats are recognized. Read README.md in the ZIP for optional label imports and the POSTLANE_URL override. ## Agent key roles For unattended Studio handoff, ask the creator for a named Single-account delivery key. Other roles apply across the workspace. MCP tools/list returns the permitted catalog. The local companion supplies upload_file when the key permits uploads. - A delivery key’s remote MCP tools are `list_accounts`, `get_upload_instructions`, `get_upload_receipt`, `create_post`, `get_post` and `refresh_tiktok_publication`. The CLI supports accounts, upload, upload-status, deliver, post and status for its pinned account. TikTok requires mode=draft. Instagram requires mode=direct and require_review=true. Upload the files with this connection’s delivery key, use a stable idempotency key per delivery and save the returned status_url. For new deliveries the CLI checks destination policy before opening the media. A replacement delivery key for the same pinned account can resume that connection’s uploads and receipts. If a signed source expired, status --idempotency-key reads the existing post without revalidating bytes. Workspace list_media exposes the original delivery_account_id and current delivery_account_label on scoped uploads. Disconnecting the account ends this access. - read_only can read accounts, media, drafts, delivery statuses and events, calendar, performance, creator reviews, labels, metrics schedules and analytics notes. - analyst can also capture and edit private ideas, create and revise analytics notes, record experiment decisions and set topic, format or series labels on measured posts. - metrics_collector has the read_only reads plus record_performance_observations, record_watch_observations, save_daily_series and sync_account_metrics. Use it for Pipeline history imports or one authorized provider page per call. Changing recurring collection requires full access. - full can also create, update or delete content, upload media, queue and manage deliveries, import measurements, sync metrics and configure metric collection. New operations require full access until assigned a lower role. Omitting role when issuing a key selects full. Keys keep their assigned role through upgrades; keys issued before roles were introduced retain full access. - A creator's browser session manages keys and social connections, deletes a workspace, and approves TikTok Direct publication. Choose a key role under Connections. To change access, issue a replacement and revoke the previous key. ## Upload and prepare - To reclaim space, call list_releasable_media(account_id, limit=25, before?) or GET /api/accounts/{account_id}/releasable-media. Read total_files/total_bytes across all pages. Each item includes its receipt count and latest_status_url. Only uploads made with a delivery key for the selected account qualify. Every linked delivery must have reached its TikTok inbox or been published to that account. Saved drafts and unused uploads are excluded. - After choosing files and confirming any needed originals are elsewhere, a creator or Full key can call release_completed_media(account_id, selection={media_ids:[...]}) or POST /api/accounts/{account_id}/release-media with {"media_ids":[...]}. Select up to 100 distinct IDs. The server rechecks all files together. Refresh the preview after a 409. Repeat the same IDs after an interrupted response: the receipt counts and sizes newly released and previously released files separately. Post statuses, captions and delivery idempotency keys survive. The local files and attachment links disappear; a released upload key returns 410. Recover the existing delivery by its ID or delivery idempotency key. Single-account delivery keys cannot list or release files. - Search existing media with list_media or GET /api/media?q=. Upload raw MP4 or JPEG bytes via POST /api/media?name= with Content-Length and Content-Type. Include the bearer header. An agent with a signed source URL should download it on its own machine and upload the bytes. - For retry-safe HTTP uploads, add a unique Idempotency-Key per file and X-Content-SHA256 containing the lowercase hex digest of those file bytes. - Keep the returned media IDs in the intended order. Workspace drafts at /api/drafts can store a caption and ordered media before a social account is connected. Saving a workspace draft does not initiate a transfer. - List accounts before creating a delivery. Choose a mode from the selected account’s delivery_modes. If the list is empty, ask the creator to reconnect. For TikTok inbox use mode=draft. For TikTok Direct or Instagram use mode=direct. Send one MP4 for video or a series of JPEGs for photos. ## Deliver ### Keep an exported revision linked to the right caption For an automated TikTok inbox handoff, save the immutable export revision, source brief ID, intended account ID, frozen public caption with hashtags, and a stable delivery key before sending. Keep the media order and settings with that request. Give a new revision its own key. Supply a working HTTPS URL for those exact bytes on the CLI’s stdin. The CLI downloads the file before uploading it to Post My Cut; the source URL can expire after that download. When your editor reports a completed export, store its event ID, brief ID and immutable render ID in your delivery job. Fetch the caption and ordered hashtags from that brief once. Ask the exporter for a renewable download URL for the stored render ID. A link to the latest edit of a project can change while the job is waiting. If the exact revision is unavailable, return that status to the creator before sending. If the delivery acknowledgment is lost, use `status --idempotency-key "$DELIVERY_KEY"` or MCP get_post(idempotency_key=…) before fetching the export again. A receipt supplies the actual state and status_url even after the source URL expires. A 404 can also mean the request is still running. To retry, renew the URL for the same render and use the original delivery key, frozen caption, media and settings. If only the raw HTTP upload acknowledgment was lost, call get_upload_receipt with the original upload key, for example `{"lookup":{"idempotency_key":"UPLOAD_KEY"}}`. A completed upload supplies a media ID; a delivery receipt confirms that the post request was recorded. ### Create and follow a delivery - Before writing for a destination, read its private audience and voice guidance with get_account_brief(account_id) or GET /api/accounts/{account_id}/brief. Imported profiles can have a brief before they connect for publishing. An idea’s source can differ from its intended brand. Read each intended profile separately. A null brief means the creator has supplied no guidance for that profile. Only the caption explicitly supplied on the post goes to the platform. - Creators can edit their brief in Connections. A full-access agent can call set_account_brief or PUT /api/accounts/{account_id}/brief with version and brief. Start with the version returned by GET, including zero on an untouched account. Use null to clear the brief. A 409 means another editor changed the saved text. Read again and reconcile before saving. - Use create_post or POST /api/posts. Set scheduled_at to a future ISO 8601 timestamp with its time zone, or omit it to send as soon as ready. Reuse the original key and unchanged payload on retry, even after the intended send time. Resolve repeated local times to the creator’s intended UTC offset. For a local calendar week, convert both local midnight boundaries to UTC separately because the offset can change. - Instagram accepts a Reel of 3–900 seconds or 2–20 JPEG slides, each between 4:5 and 1.91:1 after orientation. Instagram crops a mixed-shape carousel to slide 1. Export matching canvases to preserve every slide. A 422 identifies the incompatible slide and dimensions; upload a replacement and use a new payload. A failed validation reserves no delivery. - To check each proposed destination first, send the same batch to preview_post_batch(batch) or POST /api/post-batches/preview. Read each account’s eligible, issue and crop_notice. This reads stored account and file data without reserving anything. Create rechecks the current inputs. After a lost create response, recover by replaying its original idempotency key and body. - To reuse finished media for 2–20 chosen accounts, call create_post_batch(batch, idempotency_key) or POST /api/post-batches with Idempotency-Key. Supply one ordered media_ids list and a destinations array. Each entry requires account_id, mode and its own caption (an explicit empty string is allowed), plus optional scheduled_at and settings. Reusing the original batch key and payload returns the same children. An optional destination idempotency_key also deduplicates that child against create_post. If any entry is invalid, no new delivery from the request is queued. - Give the creator each returned status_url and any post.review_url. Read get_post_batch(batch_id) or GET /api/post-batches/{id} for current states. Each child is an ordinary independently managed post. A disconnected account appears as a null child. - To hold an Instagram Reel or photo carousel for a final look on the creator’s phone, send require_review=true with mode=direct on the post or individual batch destination (CLI: --require-review). Return the review_url. The creator approves the destination, caption, media and delivery time in Post My Cut. With the option omitted, Instagram Direct queues immediately or at its chosen time. A single or batched delivery always includes a private status_url. - For TikTok Direct, give the creator the review_url returned by Post My Cut. They select their audience and disclosures and approve sending. - Read get_post or GET /api/posts/{id} for current state and platform error. published_media_ids contains exact platform-confirmed media IDs, including multiple posts from a single TikTok inbox upload. An empty list means the platform has not supplied an ID. These identifiers remain usable for historical attribution after a change in visibility. If the state is landed_as_draft, TikTok reported delivering an inbox notification. For TikTok inbox videos the creator can copy their caption from https://postmycut.com/post/{id}. - For a native post made from the TikTok inbox, get_post and GET remain local. When can_check_tiktok_publication is true, explicitly call refresh_tiktok_publication(post_id) or POST /api/posts/{id}/tiktok-publication to check TikTok once for its existing ticket. The signed-in creator, a full key, or a delivery key for its own submission can use this action. Returns checked_at, provider_status, and the current post. PUBLISH_COMPLETE confirms publication even if public IDs are pending. published_media_ids accumulates confirmed IDs and tiktok_media_first_seen records the local first observation time when known. A stale lookup or a failed check does not erase evidence. Respect HTTP Retry-After and the retry delay in MCP errors. Never create another post to check an inbox delivery. - For a pending delivery, read dispatch_phase (scheduled, ready, processing, retry_wait or awaiting_provider), dispatch_started_at, next_attempt_at and consecutive_retries. The next time is the earliest eligible instant for the existing job. Poll its receipt to follow progress. - For a failed delivery, read failure_outcome alongside the original error. not_sent means the publish request had not been made; provider_rejected means the platform refused the publish or reported a terminal failure. unconfirmed means delivery might have happened. A null value on an older failure means its outcome is unknown. For unconfirmed or unknown sends, ask the creator to check the destination before creating another copy. A later verified TikTok event may update the current post. The event feed preserves the original failure and its certainty. - Cancel or reschedule before dispatch using the latest version. If an edit conflicts, reread the post and reassess. A changed TikTok Direct schedule requires fresh approval. - To capture a creator idea, call capture_idea(data={"text":"..."}) or POST /api/ideas. No account is required. Supply account_id to assign a profile and a fresh capture_id UUID per thought for retry-safe capture. Open https://postmycut.com/app#ideas for the library or https://postmycut.com/capture for the phone’s Home Screen capture shortcut. list_ideas accepts q (literal text), state, account_id or unassigned_only plus next_before as before. update_idea uses the last-read version to edit text, reassign or mark inbox, shortlisted, used or archived. Analyst and full keys can capture and edit. Full keys may delete. A change to an idea never submits media or publishes a post. - To find ideas to prepare, call list_ideas with state="shortlisted", production="no_draft_or_delivery" and optionally the intended account_id. Use production="has_draft" to reopen current drafts and "has_delivery" for ideas with any delivery receipt, including pending or failed submissions. An idea can match both. Deleting an unsubmitted draft returns the idea to the no-draft-or-delivery view. Continue with next_before using the same filters. - To save an idea from an exact Studio opening, pass source_watch={"account_id":"SOURCE_PROFILE","external_post_id":"POST_ID","captured_at":"EXACT_STUDIO_INSTANT","second":3} to capture_idea. Copy the ID and studio.captured_at from list_watch_examples and use its rank_second. For an interval in largest_drop or smallest_drop order, include from_second from its studio.interval. The pair must be 0–1, 1–3 or 3–5 s and both points must exist in this exact capture. The receipt includes source_watch.interval with both seconds/fractions and drop_pp (start minus end, in percentage points). Omit from_second for a single checkpoint. Both forms retain any native Studio view count. A removed source is marked removed. An optional source_reading cites its own separate timestamped engagement measurement. The idea can remain unassigned or target another brand. - For a follow-up to a measured product post, read get_daily_movers(account_id, source_date, metric). In capture_idea data, supply source_daily={"account_id":"SOURCE_PROFILE","external_post_id":"POST_ID","source_date":"YYYY-MM-DD","metric":"shares","before":7,"after":13}, using the actual counts for that post. A changed pair returns 409. Review the current counts with get_daily_series before trying again. The saved idea keeps its accepted dates and counts through later source corrections. Removing the source clears the citation and keeps the idea. - For sharing by opening strength, list_watch_examples returns shares_by_hold in strongest/weakest order. The median uses every video with a timed share count, positive views, and the measured retention checkpoint in the same age window. Report the raw group counts, share totals and positive views. At-median ties are separate; a missing rate indicates no paired videos in that group. An age-matched get_watch_report includes the same groups on current and previous. Pass its watch_evidence_ref as watch_evidence to save_analytics_note to retain both periods’ measured values. - When an exact engagement observation inspires a follow-up, add source_reading={"account_id":"SOURCE_PROFILE","sequence":7} to capture_idea data or POST /api/ideas. Use the immutable archive sequence returned by get_performance_history or list_measurement_archive. account_id on the idea is the intended destination and may differ or stay null. Receipts/list/get include the original measured counters (only present values), actual observation time, profile, post, source label and sequence. It records inspiration only. After source deletion the idea remains with source_reading.status=removed. A plain idea has source_reading=null. The CLI accepts --source-reading SOURCE_PROFILE SEQUENCE. - Give the creator the idea's workspace_url to open that exact card on their phone. Resolve the private link ID with get_idea_by_link(link_id) or GET /api/ideas/by-link/{link_id} in the same authorized workspace. Use the returned idea id for edits. - From the standalone CLI, use idea < thought.txt to capture private multiline text from stdin. An analyst or full key can supply --capture-id UUID for retry and optionally --account PROFILE_ID. The JSON receipt contains id, state and workspace_url. - To start writing from an inbox or shortlisted idea, use start_idea_draft(idea_id, version) or PUT /api/ideas/{id}/working-draft?version=N with full access. Return compose_url. The private draft holds the full brief, starts with an empty public caption, and preserves the intended profile. Repeated calls reopen the linked draft. To keep the resulting receipt linked, pass the returned id as source_draft_id to create_post, or --source-draft-id to the Full-key CLI post or deliver command. Keep it identical on retry. - To see what became of a saved idea, call get_idea_deliveries(idea_id) or GET /api/ideas/{id}/deliveries. Follow next_before as before. Linked submissions retain the idea after the working draft is deleted. Each receipt has its actual destination and status. published_posts contains only exact IDs acknowledged by the provider, possibly several from one TikTok inbox delivery. Do not use an inbox ticket as a post ID. measurement is the latest eligible timestamped observation through read_at; last_source_day is a separate calendar-date record. Missing measurements or counters are unknown. For a timestamped post, benchmark_url opens a comparison with earlier posts at the same age. - A TikTok measurement profile with authorization_status revoked or reauthorization_required has historical data but cannot publish. Send the creator to https://postmycut.com/app#connections to reconnect the same TikTok identity. A creator must reissue a pinned delivery key or explicitly resume any desired metric schedule. A profile marked previous_app is private history from a retired TikTok client. Select the separately connected current profile for new deliveries. - To inspect a specific video, use get_watch_history(account_id,external_post_id,as_of) or GET /api/performance/watch-history. Each capture includes original seconds and remaining fractions, point_count, capture_age_hours and largest_drop (from/to seconds and fractions, gap_seconds, drop_pp). Earliest interval wins equal positive drops. Null largest_drop means no measured decline. latest_capture_at and latest_capture_lag_hours refer to the full history through as_of even on older pages. Pass next_before as before with the same cutoff to continue. - To find which edit lost the most viewers between opening checkpoints, call list_watch_examples with order="largest_drop" or "smallest_drop". rank_second picks the end of the segment (1, 3 or 5 seconds). Each studio.interval gives both exact fractions from the same selected Studio capture and signed drop_pp in percentage points. A negative value means retention rose. coverage.paired_checkpoint_posts counts videos with both points. Return workspace_url to open this exact ranking on the creator’s phone. - To find the strongest or weakest openings across all measured videos in a UTC publication period, call list_watch_examples(account_id,start,end,at_age,rank_second=3,order="weakest") or GET /api/performance/watch-examples. Each item gives the exact selected Studio checkpoint and a separately age-matched engagement observation when available. hours_from_studio is positive when engagement was recorded later. Shares per 1,000 uses views from that engagement reading. workspace_url opens the signed-in report in this sort order. Coverage counts show which videos have the checkpoint, engagement, views, shares, both counters and a usable rate. Continue with the returned next_offset, as_of and digest; restart at offset zero if historical readings changed (409). - For viewer retention, use get_watch_report(account_id,start,end) or GET /api/performance/watch-report. Rank on an exact 1s, 3s or 5s checkpoint with rank_second. Optionally pass at_age (24h, 48h, 72h or 7d) to compare the nearest actual captures within 12 hours either side of that post age. A tie uses the earlier capture. The report gives age eligibility, matched counts and a timestamped workspace_url. Each period shows measured coverage, observation ages and medians of recorded values, as well as independent completion fractions and average watch seconds. Use get_watch_history for original dated video curves. record_watch_observations accepts private TikTok Studio captures with confirmed post IDs from the selected profile. Capture fractions are normalized from 0 to 1. The creator-operated history kit includes pipeline_watch.py for an explicit source preview or import. - Both creator reviews and each profile in a roundup provide period_evidence_refs for available timed and source_days evidence. To freeze the selected comparison, use its exact ref as period_evidence when saving a dated, same-profile note with matching dates and report_as_of. A 409 asks for fresh evidence after a correction. Omit period_evidence on edit to retain it, or explicitly send null to remove it. - To find an older approval or inbox caption without a date, call search_posts or POST /api/post-search. Send optional account_id, state, q (literal caption fragment, case-insensitive, or exact receipt ID) and limit (1–100, default 25). Receipts are ordered newest-created first. Pass next_cursor as cursor with the same filters for more. Receipt state and captions are live, so restart a search after edits. Send the creator the exact status_url for the caption or review_url for approval. Workspace readers can search; an account-scoped delivery key can retrieve its own receipts individually. - For the measured publications in a creator’s week, call search_measured_posts with published_from (inclusive), published_before (exclusive) and order="oldest". Use the two local Monday midnights, each with its actual UTC offset. Set account_id to any owned measurement profile, including an archive. Give the creator the original post’s publication time and title, and keep returned as_of and filters when following next_cursor. search_calendar shows delivery receipts submitted through this workspace. - For workspace delivery plans and receipts, use search_calendar or GET /api/calendar. Supply start and end with explicit UTC offsets for a window of up to 93 days. The start is included and the end is excluded. Example: /api/calendar?start=2026-12-01T00:00:00Z&end=2026-12-08T00:00:00Z. Optional filters are account_id, platform, state and q (literal caption fragment or exact post ID). Each item includes the account name, current state and status_url. calendar_at uses the scheduled time, or creation time for immediate deliveries. Supply next_cursor as cursor with the same dates and filters to load more. This is a live view; restart a search to see edits to earlier slots. - If a create response was lost and you only have the original delivery key, call get_post(idempotency_key=KEY), CLI status --idempotency-key KEY, or GET /api/delivery-receipt with the Idempotency-Key header. The lookup reads the current receipt without uploading or dispatching. A 404 can also mean an in-flight request has yet to commit; retries must keep the same key and inputs. - Posting receipts include immutable requested_by (type and name from the authenticated creator session or named agent key) and requested_at (UTC). Read them using get_post, list_posts, get_post_batch, or a delivery event's current_post. A batch records who reserved it; a destination that reused an existing post retains its own original requester. Replays, edits and key revocation preserve attribution. Older posts have requested_by=null with their recorded creation time; older batch headers may have neither value. - For a workspace delivery summary, call get_delivery_report or GET /api/reports/deliveries?days=7. Choose 1–90 rolling days ending now. Pass account_id from list_measurement_profiles to report a single profile; an archive-only profile has zero deliveries. Without account_id the report covers the workspace. This window measures delivery creation independently of a saved performance review’s publication dates and observation cutoff. Each post created in the window counts once under its current state, including posts scheduled for later. Missing state or platform groups have a count of zero. - To refresh several existing TikTok profiles together from Pipeline or Post Bridge, download /downloads/postlane-history.zip and run the included refresh_metrics.py --manifest profiles.json on the creator’s machine. Choose the exact source identities with list_history_sources (GET /api/history-setup/sources), then pass their selection objects to generate_history_manifest(selection={"profiles":[...]}) or POST /api/history-setup/manifest. The signed-in /history/setup page downloads the same JSON. Default preview reports missing, identical and conflicting timed readings per profile. Add --write with a Metrics collector key to save missing readings and source-day updates. A timed preview conflict stops writes for that profile. Use preview_performance_observations for direct comparisons of up to 100 readings. Source credentials stay on that machine. For daily imports on macOS, use the kit’s macos_refresh.py and its LaunchAgent setup, status and removal instructions. Each verified write run can report a successful check with zero additions. Add --include-studio to compare the latest exact Studio watch capture per Pipeline post. Combine with --history for earlier captures. Preview checks the destination identity and existing values before any writes. get_history_checks returns watch_added for acknowledged Studio additions, including zero. - For an account with metrics_sync_available, use sync_account_metrics or POST /api/accounts/{id}/metrics/sync. Start with an empty object. TikTok returns up to 20 public videos per page. Instagram reads lifetime organic insights for up to five top-level feed posts or Reels per page. Send the returned next_cursor as cursor to import an older page. The operation saves the counters with their observation time and provider provenance. A null next_cursor ends pagination. - For automatic snapshots, read get_metric_schedule(account_id) or GET /api/accounts/{id}/metrics/schedule. With the creator's opt-in, call set_metric_schedule(account_id, settings) or PUT the settings on that URL: interval_hours=6 or 24, max_pages=1–4, and the current version. Accounts start off. Pass interval_hours=null to turn off. Read state, next_run_at, last_success_at, page progress and counts with the same GET/tool. If the platform explicitly rejects a saved page cursor, state returns to scheduled. The message reports saved partial coverage and the provider response. next_run_at is the next fresh listing, and last_success_at still identifies the last completed run. A paused schedule resumes when explicitly saved with a metrics grant. The first run starts with the newest page. Pages beyond the configured depth are outside the collection. A completed run reports last_pages_collected and last_more_available: true means the page limit stopped a listing which still had another page, false means the platform returned its last page. Null indicates missing run detail. ## Follow delivery changes - A creator can open /app#queue?state=landed_as_draft on their phone to copy the full caption of an inbox-delivered TikTok video. - Poll list_delivery_events or GET /api/delivery-events with the creator's bearer key. Optional account_id or post_id filters are bound to the cursor. Omit cursor on the first request for retained history. To subscribe only to future changes, send cursor=latest once and save its returned next_cursor. - Process items in increasing sequence order, then durably save next_cursor, including on an empty page. Continue immediately if has_more is true; otherwise poll later. limit defaults to 50 and supports 1–100. Persist side effects and the cursor together where possible, or use (workspace, sequence) to deduplicate consumer retries. - created records the initial post state. state_changed records a committed transition. rescheduled records a changed schedule and any simultaneous state change in one item. A baseline records the state actually observed for a pre-existing post at upgrade time. Repeated provider polling, idempotent retries, and updates that leave state and schedule unchanged produce no event. - Event state, error, failure_outcome, schedule and recorded_at belong to that change. On failure the outcome is not_sent, provider_rejected, unconfirmed, or null when no classification was recorded. Keep the original error. current_post is live context with the current state and failure_outcome, account, source draft/note IDs and status/review links. A later signed completion can show current_post.state=published with a null current outcome on a previously failed event. An unconfirmed failure is not permission to resend. Disconnecting an account or deleting its workspace removes its retained delivery events. The workspace cursor survives individual post or account deletion. Polling an explicitly deleted account or post returns 404. ## Review an account - To review several creator or product profiles together, call get_profile_roundup or GET /api/creator-review/profiles with days (1–90), end and metric. Each profile reports timestamped activity for the selected and previous equal periods, plus matched same-post changes. A bound Post Bridge archive also reports its source-date changes, the number of dates with pairs, distinct paired posts and post-day pairs. A real zero requires measured pairs. Leave unavailable changes unknown and keep the two measurement methods separate. Each source period also reports observed dates, posts, post-days, raw adjacent-day pairs and the top three nonzero post movements with their actual paired date bounds. Use workspace_url for the browser report, or follow each profile's links for the underlying evidence. Each stream also splits current net changes by UTC publication date so you can see how much came from new posts and how much came from older work. A post counts once per group, even across multiple source dates. - For "how did this account do and what should we test?", call get_creator_review or GET /api/creator-review with its account_id and days=7 (any positive duration with a preceding period in the calendar). Omitting account_id includes the whole workspace. End defaults to the last complete UTC publication day. Supply end to choose an inclusive UTC date, as_of to set a shared observation cutoff, and at_age or rank_by to compare the same metrics as the performance report. Weekly, fortnightly, 28-day and annual reviews use days=7, 14, 28 or 365. The agent_request field provides a transferable task with the exact dates and cutoff and is also available in Analytics under Give to my agent. The activity section counts changes between paired readings inside those dates, including older publications. activity.comparison.same_posts compares movement on posts measured by a common source in both windows, with actual observation spans and missing coverage. The same evidence is available from get_performance_changes with compare_previous=true. Current and previous cohorts describe posts published during each period. - The current and immediately preceding periods have equal numbers of UTC dates. Both report lifetime observed counters on posts published during their period and separate measurement coverage. Compare the actual matched ages if at_age is set. observed_total_differences is current minus previous; null means one or both totals are unknown. Later backfills may revise either period. - Return workspace_url from get_creator_review so the creator can reopen its exact profile, date range, observation cutoff, ranking and age on their phone. The private shortcut /app#review?account_id=PROFILE_ID instead follows that profile’s latest 90 days. - attention_now gives exact current counts across all dates and up to three links per state (earliest awaiting approval, most recent failed by calendar time). overlapping_notes contains the five newest notes overlapping either period, with their authors and next-test excerpts. planned_tests separately gives the three newest saved tests even when newer notes contain no experiment. Pass only_with_next_test=true to list_analytics_notes to find more. Account filters select account-specific notes. Read the full entry by ID or continue list_analytics_notes with the returned next cursor and the combined period. Queue states and note edits reflect the time of the request, including when performance uses a historical cutoff. - Download the same review from GET /api/creator-review.md with identical parameters and authentication. ## Understand performance - To measure growth during a period, call get_performance_changes or GET /api/performance/changes with inclusive UTC dates start and end. Filter by account_id, set rank_by to a counter, and choose direction=desc for growth or asc for declines. This includes older posts with observations inside the window. Each post and counter contributes its widest measured span under a single source and source_kind. Look at observed_days, per-counter matched_posts, span hours and actual endpoint values. A net_change of zero means measurements matched. A null value means there was no comparable pair. - Use get_post_labels (GET /api/performance/post-labels) with account_id and external_post_id. Send those same query parameters to PUT, or call set_post_labels, with the returned version and the complete labels object. Topic, series and format are optional private text values. Omitted dimensions are cleared. On a conflict read the current version and reconcile your edit. list_post_label_values or GET /api/performance/label-values lists existing values by dimension and optional account_id. - For posts that kept growing after day one, get_post_age_growth or GET /api/performance/age-growth takes account_id, UTC publication start/end, from_age, to_age and a raw metric. Use two ordered ages from 24h, 48h, 72h and 7d. Each independently matched reading must be within ±12h of its target age. Both readings must be distinct, chronological, from the same source, and include the selected counter. Report coverage.metric_posts out of mature_posts, summary.net_change and median_change; counts of zero are actual measurements. Each row supplies early.reference and late.reference for save_analytics_note, plus the two actual instants. Keep workspace_url; for subsequent pages pass as_of, digest and the returned next_offset. - Call compare_post_labels or GET /api/performance/label-comparison with start, end, dimension, value and optional compare_to. Each named group uses the same at_age (24h, 48h, 72h or 7d), rank_by, account_id and as_of. The score uses the measured per-post mean for a raw counter or a view-weighted rate for a per_1000_views metric. median_per_post is the median of all posts with a value at the chosen age, independent of the leader limit. For a per-view rate the median gives each post equal weight and requires positive views and its recorded numerator in the same observation. In each group's age_coverage, check eligible_posts (old enough), matched_posts (an observation within ±12h), and metric_posts (that observation has the chosen metric). A measured zero is a usable value. shared_metric_ages lists ages where both requested groups have a usable value. To compare another age explicitly, reuse the returned report.as_of and all existing publication/label filters when changing at_age. Unlabeled posts are counted separately. Groups use current labels even when as_of fixes an older measurement cutoff. - To remove a mistaken archive-only import, get_archive_removal (GET /api/measurement-profiles/{profile_id}/removal) gives the exact handle, affected counts and revision. remove_measurement_archive (DELETE /api/measurement-profiles/{profile_id}?revision=...) requires full access and that reviewed revision. If the history changes, preview it again. Connected publishers use the creator’s separate Disconnect flow in Connections, which also removes their local deliveries and history. - To import observed lifetime counters for existing published posts, call record_performance_observations with a data object or POST /api/performance/observations with the object as the JSON body. Use account_id and observations (1–100 per request). Each observation supplies external_post_id (the TikTok video ID or Instagram media ID), published_at, observed_at, a short source label, optional title and platform permalink, and metrics containing any observed views, likes, comments, shares or saves. Use UTC-offset timestamps. Omit unavailable counters; use zero only when measured. Use the same identity, timestamps and values on retry. - Read get_performance_report or GET /api/performance?start=2026-11-01&end=2026-11-30. Both UTC publication dates are inclusive. Filters include account_id, as_of (snapshot cutoff), rank_by (a raw counter, likes_per_1000_views, comments_per_1000_views, shares_per_1000_views or saves_per_1000_views), and limit (1–100 leaders). Each published post contributes its latest complete observation record by the cutoff, even if newer counters have decreased. Omitted counters in that observation remain unknown. The report gives measurement coverage per counter. Each weighted_rates[rate] gives value (1,000 × numerator / views), numerator, paired views, and contributing posts. The selected observation must include both the counter and positive views. A recorded zero contributes its views. With no pairs, value is null and posts is zero. leaders[].rates[rate] gives that post's own value. get_creator_review uses the same weighted_rates for current and previous publication cohorts, including when rank_by selects a rate. The separate activity report ranks raw view changes when the publication rank is a per-view rate. - For equal-age comparisons, add at_age=24h, 48h, 72h or 7d to the performance report. Post My Cut selects the nearest measurement within 12 hours of that target, on either side; an exact tie chooses the earlier sample. The 48h window includes observations from 36h through 60h; the post must have reached 48h by as_of. No measurement is interpolated. Read observation_age_hours and comparison counts: cohort_posts had any observation through as_of, eligible_posts had reached the target age, and matched_posts had an observation in the window. Per-counter coverage is based on those matches. - To compare one measured post with its own account's history, call get_post_benchmark or GET /api/performance/post-benchmark with account_id and external_post_id. Set at_age=24h (default), 48h, 72h or 7d and preceding_posts=1–50 (default 10). Pass the report's as_of to keep that observation cutoff. Membership uses preceding publication times before checking which posts have a matched observation. Read comparison.cohort_posts, eligible_posts and matched_posts; each metric returns target, peer_count, peer_median and integer counts below, equal to and above the target. Missing target values or an empty measured peer group leave those rank counts null. When reporting rank including the target, the occupied positions run from above_target+1 through above_target+equal_to_target+1 out of peer_count+1. peers identifies the matched sequence and actual sample age when available. Send the result's workspace_url to the creator to open this exact comparison after sign-in. - In that benchmark, peers[].reading is the exact age-matched observation, including title, permalink, source_kind, source, UTC observed_at, sequence, raw metrics and per-1,000-view rates. Use relative_to_target[metric] for above/equal/below; null means the comparison is unavailable. reading=null keeps an unmatched earlier post in the list. A rate requires both its raw numerator and a positive views count. Each peer’s private benchmark_url keeps the same age, peer limit and cutoff. The account ID and reading sequence can serve as an analytics note citation. - For a single post, call get_performance_history or GET /api/performance/history with account_id and external_post_id. Results are chronological. Use start (inclusive), end (exclusive), and/or as_of (inclusive) to restrict observation times. Pass next_cursor as cursor with the same filters. Each observation preserves its original reported publication time; a provider-confirmed publication date can correct an imported date. Reads before that corrected publication time remain visible in history with usable_for_report=false. - Measurements preserve their source and observation time. source_kind=import identifies creator- or agent-supplied data. source_kind=provider identifies measurements fetched by a Post My Cut provider integration. Separate native and imported observations at the same instant can coexist; the native snapshot takes precedence. ## Analyze and learn - Use get_performance_report with inclusive UTC publication dates and an optional account_id. Check the number of observed posts, the coverage of each counter and the report's as_of before comparing periods. - Save what the data shows using save_analytics_note. Set note_id to a new UUID and reuse it on retry. Pass start, end, observation, next_test if applicable, account_id for one account, and report_as_of from the report. Cite the measured numbers and name one concrete change to test. To cite exact readings, pass evidence as up to 12 ordered, unique objects with account_id and sequence from a ranked post, its measurement history, or the measurement archive. References must be owned, must match any selected account, and must be observed by the report cutoff. Earlier measurements can support a later period. Reads include the original timestamps, counters and source for each citation. Omit evidence on revision to keep it, or send an empty list to clear it. Preserve the distinction between observations and hypotheses. - Find an earlier observation or experiment with list_analytics_notes(q="…") or POST /api/analytics/notes/search with q in the JSON body. It searches observation, next test and original author by literal text. Omit dates for every saved period, or supply overlapping start/end dates. account_id narrows the search to one profile. Send next_cursor as before with the same filters to page. Send the returned workspace_url verbatim to the creator to open the exact saved period, cutoff, metric and note after sign-in. It includes the owning workspace as well as the agent-chosen note ID. When updating an older link, retrieve the note from the intended workspace and use its current workspace_url. Edit via revise_analytics_note using the most recently read version. GET /api/analytics/notes and PUT, PATCH, GET or DELETE /api/analytics/notes/{uuid} remain available. - If a note has age-matched watch evidence when its test first starts, get_test_follow_up returns watch_reference with the cited current cohort, original rank_second/at_age, measured coverage, median fraction and digest. Engagement at_age is independent. On exact same-profile receipt or creator-attributed posts, watch_result shows the nearest native capture in the frozen window, its actual source/time/age and hold at the exact second. difference_pp is the measured hold minus that median in percentage points. Pending age, missing capture/checkpoint, a photo, unconfirmed attribution or an unmeasured baseline cannot supply that comparison. Legacy tests and latest-only watch citations have no watch goal. - To act on a saved next test, call start_test_draft with the note ID or PUT /api/analytics/notes/{id}/working-draft. An existing draft is reused. start_test_draft and get_draft return intended_profile (id, name, handle, kind) for an account-scoped experiment. Look up that ID in list_accounts and check delivery_modes before preparing a delivery. Keep the draft in the workspace if the profile is archived, disconnected or lacks posting access. If destination_unknown is true, the original destination of this older experiment was never recorded. Have the creator choose a publisher. Use another account only when the creator explicitly chooses it. The test instructions stay in its private brief; supply the creator's public caption separately. Pass source_draft_id to create_post so get_test_follow_up can retrieve the resulting deliveries. Follow-up reference.rank_by identifies the metric frozen at test start. Null means the original selection is unknown. For a rate, read sample.rates[rank_by] with that observation’s counters and baselines[account_id].weighted_rates[rank_by] for its weighted reference value, paired numerator, positive views and contributing post count. - Read get_test_follow_up(note_id, at_age="24h") or GET /api/analytics/notes/{id}/follow-up?at_age=24h. Choose 24h, 48h, 72h or 7d, page with next_before as before. Outcomes match exact platform receipt IDs or explicitly linked measured posts on the delivery account. An inbox ticket and an Instagram container ID are delivery identifiers only. A capture_due outcome gives capture_window.opens_at, target_at and closes_at. Record a real reading before closes_at. waiting_for_target means an early reading qualifies once the target age is reached. Read sample.observation_age_hours, counter coverage and the reference period/cutoff before comparing. The reference uses same-account recorded posts from the note period with matching age, excluding the test outcomes. Reference means and the weighted shares rate include their own contributing post counts. These are descriptive comparisons. - To decide what to make next, read get_test_decision(note_id). Use get_test_follow_up to choose a measured result and pass its delivery ID, external post ID, at_age, as_of and expected_sequence into save_test_decision. Send version, disposition (repeat, revise, stop or inconclusive), a rationale, and evidence. An inconclusive result with no qualifying reading accepts evidence=null. The saved decision retains its editor, capture time, association source, exact reading and reference cohort with per-metric coverage. Identical writes are safe to retry; read the current version before correcting a decision. REST uses GET and PUT /api/analytics/notes/{note_id}/decision. Find existing conclusions with list_test_decisions or GET /api/analytics/test-decisions, filtering by latest edit dates, account or disposition. The creator review includes up to three decisions last changed in its selected period; follow next_before for more. - To base a decision on matched viewer retention, choose a measured watch_result from get_test_follow_up and its watch_reference. In save_test_decision use evidence.kind=watch, delivery_id, external_post_id, the reference's at_age, the follow-up's as_of, expected_captured_at from that watch_result and expected_reference_digest from watch_reference.digest. Read the saved decision to see the frozen hold, cohort median, coverage and observed percentage-point difference. A changed match returns 409. - If a creator identifies the exact measured TikTok post finished from an inbox delivery, use set_test_result_association(note_id, post_id, data) or PUT /api/analytics/notes/{id}/deliveries/{post_id}/association. Requires full access. Supply the delivery account_id, verified external_post_id and current association.version from get_test_follow_up. Search measured posts by exact platform ID or inspect their permalinks. A similar caption is insufficient. To correct a link use the new ID and current version, or null to clear. Replays are idempotent. Subsequent exact platform receipts take precedence. This operation records attribution and leaves the publishing state intact. - Use list_measurement_profiles or GET /api/measurement-profiles for analytics across connected accounts and imported histories. Only list_accounts provides publishing destinations. To bind a new Post Bridge source, use ensure_measurement_profile(binding) or PUT /api/measurement-profiles with source=post_bridge, source_account_id, platform=tiktok and handle. Supply connected_account_id at creation only if the creator selected an existing matching account. A creator or full key can set up a profile. A Metrics collector key can record later observations using that profile ID. - To turn an archived TikTok profile into a publishing destination, send its creator to Connections → Imported histories, or link to https://postmycut.com/connect/tiktok?measurement_profile_id=PROFILE_ID. They authorize TikTok, compare the returned display name with the imported handle, and confirm in the same signed-in browser. A confirmation expires within ten minutes. Agents can check the resulting kind via list_measurement_profiles and the granted delivery_modes via list_accounts. Keep using the original profile ID for notes, measurements and future deliveries. A generic connect creates a separate identity and cannot combine two populated profiles. - For calendar-day growth on imported Post Bridge histories, call get_daily_activity(account_id, start, end) or GET /api/performance/daily-activity (up to 366 inclusive source dates). Return its private workspace_url to open that profile and period. Only posts with actual readings on consecutive source dates contribute to each day's change. Check observed_posts, paired_posts and the per-counter coverage. An empty day is unknown. These are source calendar dates without a documented timezone; there is no precise observation time or post age. - To identify the posts behind a source-date change, call get_daily_movers(account_id,source_date,metric). Each row has the same post's before and after counts on adjacent source dates. Return workspace_url for the ranked list. Carry evidence_ref.digest across pages, or pass the entire evidence_ref as daily_evidence when saving a note for that account and period. The note must select the same account and include the source date within its start/end date labels. Post My Cut captures coverage, net/gained/lost counters and up to three contributors, ranked by signed change. The source date has no known timezone and is independent of report_as_of. A new reference whose digest has changed returns 409; re-read movers before attaching it. PATCH omits daily_evidence to keep the saved citation, or sends daily_evidence=null to remove it. The frozen citation keeps its original values after source corrections. - Read a post's cumulative daily series with get_daily_series or GET /api/performance/daily-series/{account_id}/{external_post_id}. On a known measured post bound to Post Bridge, save_daily_series or PUT on that route accepts version and up to 366 unique dated rows. A metrics_collector or full key can save them. Read the latest version before applying changes; omitted dates survive. These latest source rows are separate from timestamped reports and their historical cutoffs. - For Studio retention use list_measurement_windows(mode="watch",checkpoint_second=3) or GET /api/performance/measurement-windows?mode=watch&checkpoint_second=3. Choose 1, 3 or 5 and an at_age. The planner uses timestamped evidence through as_of for exact TikTok IDs and checks the nearest eligible capture, choosing the earlier tie. An early capture with a zero at that second already covers the planner; the comparison report waits for age maturity. Confirmed photos are excluded. Unknown formats require verification. watch_coverage covers the whole selected window across pages. Per-row capture_from and capture_through are the inclusive UTC bounds for a new actual source capture to count. import_prior_capture requires an actual earlier capture; fixed_capture_missing means the exact target capture lacks the checkpoint and an additional capture cannot replace it. Source captures come from the creator's TikTok Studio export or connected Pipeline source via record_watch_observations. Native engagement sync and ordinary counter imports do not supply Studio retention. No collection starts when you read the planner. - To find upcoming readings, call list_measurement_windows or GET /api/performance/measurement-windows with an optional account_id and at_age. Open and upcoming windows are listed by deadline for known published posts with no reading in that window. Use the returned timestamps and actual platform counters to record a reading. Use as_of and next_offset to page. The planner looks ahead 24 hours and does not enable a collection schedule. - Read get_history_checks(account_id, source) or GET /api/accounts/{account_id}/history-checks?source=post_bridge (or pipeline) for the latest collector-reported attempt and success. Freshness also includes collector_checks. A succeeded run with zero additions or revisions means the collector reported checking and finding no changes. reported_by identifies the original authenticated creator or named agent, and recorded_at is this workspace’s receipt time. Unknown counts are null; counts on a failed run describe acknowledged writes only. These reports do not update native sync status, measurement dates or Studio watch captures. - After verifying its exact source, a creator-hosted collector can use record_history_check or PUT /api/accounts/{account_id}/history-checks/{run_id} with the same UUID and body on retry. Include the Post Bridge binding (source_account_id and handle) or the Pipeline identity (handle, external_post_id and exact already-measured canonical permalink). Send source, identity, status, a fixed stage on failure, and acknowledged timed_added, daily_added and daily_updated counts. Metrics collector and Full keys can report; workspace readers can inspect reports. The history kit performs this step after a verified write run. - To check data freshness, get_measurement_inventory(account_id) and each get_profile_roundup item return freshness. Compare latest_publication_at, latest_engagement_observed_at, latest_watch_captured_at and latest_post_bridge_date independently. These are the latest local records across all dates, including after a historical report cutoff. A Post Bridge date has no timezone and needs no adjacent pair. Null means no stored reading. Native access and schedule cover engagement only. To check upstream import sources, use the creator-operated history kit with the creator’s own source access. - For archive discovery use get_measurement_inventory to find the available date span. search_measured_posts finds measured posts by caption or platform ID across every publication date, including posts published outside Post My Cut. Keep filters fixed when paging with next_cursor. HTTP equivalents are GET /api/performance/inventory and GET /api/performance/posts. - To export actual observations, choose one account ID. GET /api/accounts/{account_id}/measurement-archive.jsonl streams lossless UTF-8 JSON objects, one per recorded observation. The .csv variant is spreadsheet-safe. Both cover all dates and include each original reported_published_at, observed_at, source_kind, source, external_post_id, title, permalink and lifetime counters. Unknown counters are null in JSON and blank in CSV. A measured zero remains zero. - For bounded reads, call list_measurement_archive or GET /api/accounts/{account_id}/measurement-archive with limit (1–100). Follow next_cursor until null. Sequence order belongs to that account. The first page fixes snapshot_sequence, excluding later imports even if their observed_at is older. Pass snapshot_sequence to repeat the same cutoff in JSON, CSV or JSONL. File downloads return it in X-Postlane-Snapshot-Sequence. Exported source_kind describes the original record. Submitting arbitrary rows to the ordinary import endpoint records import provenance.