openpmm posts create \ --workspace ws_01JABCDEF \ --when draft \ --group launch-2026-08 \ --channel x \ --body 'First post in the thread' \ --body 'Second post in the thread' \ --media-item '1:ast_01JABCDEF' \ --json
Store the returned Post id and version.Repeat --body to create an ordered self-reply chain for X, Bluesky, Mastodon,
or Threads. Repeat --media-item <body-index>:<asset-id> to attach media to a
specific body item. The first body index is 0. The other channels accept one
body item. On X, Bluesky, Mastodon, and Threads, any body item can contain media
without text. Keep an empty --body '' at that thread position and attach at
least one Asset to the same index.
For X, every body item uses the selected Destination’s effective limit.
Read it with openpmm destinations show <destination-id> --json.
Run that command before you write or schedule long copy.
Refresh Destinations after an X subscription change.For a direct or scheduled Post, use --destination instead of --channel.
Put provider-specific settings in --destination-options. For example:
OpenPMM checks these settings during the create request. If a required setting
is missing, the CLI reports a non-retryable 422 validation error.Attach one video to make a Facebook Reel. OpenPMM selects the reel placement
automatically. Do not send a facebook member in --destination-options.For a Bluesky video, attach one video Asset to one body item:
Bluesky accepts one MP4 video without other media.For YouTube, set thumbnail_timestamp_ms to select a frame from the video.
This example selects the frame at 1 second:
The command can return while OpenPMM or the provider processes the Post. Add
--wait for bounded CLI polling on an immediate publication.Use --when queue to select the next Destination queue slot.
OpenPMM uses the Workspace time zone.
You can change the copy and publishing options on a draft or scheduled Post.
The CLI gets the current ETag before it changes the Post.
openpmm posts update send_01JABCDEF \ --workspace ws_01JABCDEF \ --body 'Updated first post' \ --body 'Updated second post'
Use --etag to change the version that you reviewed.Use --destination-options with JSON to change the Destination publishing options.
The scheduled Post keeps its current time and assets.
Cancel the schedule before you change assets or thread structure.
Use --at 2026-08-13T12:00:00Z to schedule the Post at an exact time.
Use --at queue to select the next queue slot.
If a group contains multiple draft Posts, publish all Posts with --file request.json.posts publish returns after OpenPMM accepts the state change. It does not
wait for provider completion unless you add --wait. Exit code 0 means that
OpenPMM accepted or completed the requested transition. Exit code 11 means
that one or more Posts need action. Both exits preserve the JSON result and
available receipts.For immediate publication, inspect meta.publication:
If complete is true, stop. The returned Posts include available receipts.
If complete is false, use the returned next_command, or run
openpmm posts wait <post-id> --json.
If action_required_post_ids is not empty, stop and inspect each Post’s
available_actions. The CLI exits with code 11. Do not keep polling.
Read top-level outcome: success, partial_failure, or failure.
Do not send posts publish again.
--wait polls through the CLI for up to 300 seconds by default. Set
--wait-timeout to change the bound. The final JSON includes wait_complete.
The CLI stops when each Post is terminal or needs action. Scheduled and queued
Posts are accepted work and do not use --wait.
Use --file request.json to move multiple Posts in one atomic request.
OpenPMM moves all requested Posts or does not move any Post.When background work continues, the command returns a nonterminal Post and a
next command in JSON output. Use posts wait for immediate publication. You
can use posts show for one read. OpenPMM continues the accepted work. Do not
run posts publish again.
openpmm posts list --workspace ws_01JABCDEF --view failed --json
The views are all, drafts, scheduled, published, attention, and
failed. failed returns the Posts that need attention — the same set the
Failed tab shows in the web app.The list can include Posts that OpenPMM imports from a connected provider.
Read publication_source in JSON output to identify them.
The value is provider for an imported Post.
The value is openpmm for a Post that OpenPMM publishes.Use exact filters when you reconcile a workflow:
The CLI safely retries a request that has an idempotency key.
Reuse --idempotency-key after a timeout.If a provider stops after it publishes part of a thread, OpenPMM keeps the
published receipts. A retry resumes at the first missing reply instead of
publishing the opening posts again.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OpenPMM","description":"Official documentation for the OpenPMM social publishing API, hosted MCP server, and first-party @openpmm/cli package","colors":{"primary":"#C83F1D","light":"#FF9A3D","dark":"#D84420"},"logo":"https://mintcdn.com/open-pmm/Y4bqcTFv_MCkrIIC/logo/openpmm.png?fit=max\u0026auto=format\u0026n=Y4bqcTFv_MCkrIIC\u0026q=85\u0026s=cdc550716e5a29bb13424cc795a18490","favicon":"https://mintcdn.com/open-pmm/Y4bqcTFv_MCkrIIC/favicon.ico?fit=max\u0026auto=format\u0026n=Y4bqcTFv_MCkrIIC\u0026q=85\u0026s=da4a9698e6119ac0274a1d31b0dc1248","api":{"playground":{"display":"simple"}},"appearance":{"default":"system","strict":false},"navbar":{"primary":{"type":"button","label":"Login","href":"https://app.openpmm.com"}},"seo":{"organization":{"name":"OpenPMM","url":"https://www.openpmm.com","sameAs":["https://github.com/OpenPMM/cli","https://www.npmjs.com/package/@openpmm/cli"]},"indexing":"navigable","trailingSlash":false},"integrations":{"telemetry":{"enabled":false}},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"OpenPMM","icon":"house","href":"https://www.openpmm.com"},{"anchor":"Dashboard","icon":"grid-2","href":"https://app.openpmm.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"open-pmm","hasAudioNarration":false,"actualSubdomain":"open-pmm","customDomains":["www.openpmm.com"],"gitSource":{"type":"github","owner":"openpmm","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6adf6b44d7cf896c8ad89e52","collectionId":"07a2f178-b073-447c-8eae-951e7ea8443b","liveDeploymentHistoryId":"6adf6b44d7cf896c8ad89e52","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adf6b44d7cf896c8ad89e52","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API reference","count":71},{"language":"default","tag":"Guides","count":29},{"language":"default","tag":"CLI","count":12},{"language":"default","tag":"Publishing guides","count":11},{"language":"default","tag":"Get started","count":10},{"language":"default","tag":"Media guidelines","count":10},{"language":"default","tag":"Posts","count":10},{"language":"default","tag":"Inbox","count":9},{"language":"default","tag":"Workflows","count":8},{"language":"default","tag":"Destinations","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"cli/drafts-and-publishing","slug":"/cli/drafts-and-publishing","pageMetadata":{"title":"Draft and publish","sidebarTitle":"Draft and publish","description":"Create drafts, publish Posts, and inspect publishing status with the OpenPMM CLI.","href":"/cli/drafts-and-publishing"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create drafts, publish Posts, and inspect publishing status with the OpenPMM CLI.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`A draft is a Post with the `,_jsx(_components.code,{children:`draft`}),` state. Publishing changes the same Post.`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-draft`,children:`Create a draft`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openpmm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` posts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --workspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ws_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --when`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` draft`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --group`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` launch-2026-08`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --channel`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` x`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'First post in the thread'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Second post in the thread'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --media-item`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '1:ast_01JABCDEF'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Store the returned Post `,_jsx(_components.code,{children:`id`}),` and `,_jsx(_components.code,{children:`version`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Repeat `,_jsx(_components.code,{children:`--body`}),` to create an ordered self-reply chain for X, Bluesky, Mastodon,\nor Threads. Repeat `,_jsx(_components.code,{children:`--media-item \u003cbody-index>:\u003casset-id>`}),` to attach media to a\nspecific body item. The first body index is `,_jsx(_components.code,{children:`0`}),`. The other channels accept one\nbody item. On X, Bluesky, Mastodon, and Threads, any body item can contain media\nwithout text. Keep an empty `,_jsx(_components.code,{children:`--body ''`}),` at that thread position and attach at\nleast one Asset to the same index.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openpmm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` posts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --when`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` draft`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --channel`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` threads`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Opening post'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ''`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --media-item`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '1:ast_01JABCDEF'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`For X, every body item uses the selected Destination’s effective limit.\nRead it with `,_jsx(_components.code,{children:`openpmm destinations show \u003cdestination-id> --json`}),`.\nRun that command before you write or schedule long copy.\nRefresh Destinations after an X subscription change.`]}),`\n`,_jsxs(_components.p,{children:[`For a direct or scheduled Post, use `,_jsx(_components.code,{children:`--destination`}),` instead of `,_jsx(_components.code,{children:`--channel`}),`.\nPut provider-specific settings in `,_jsx(_components.code,{children:`--destination-options`}),`. For example:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openpmm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` posts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --workspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ws_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --destination`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dest_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Instagram caption'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --destination-options`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"instagram\":{\"placement\":\"post\"}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`OpenPMM checks these settings during the create request. If a required setting\nis missing, the CLI reports a non-retryable `,_jsx(_components.code,{children:`422`}),` validation error.`]}),`\n`,_jsxs(_components.p,{children:[`Attach one video to make a Facebook Reel. OpenPMM selects the `,_jsx(_components.code,{children:`reel`}),` placement\nautomatically. Do not send a `,_jsx(_components.code,{children:`facebook`}),` member in `,_jsx(_components.code,{children:`--destination-options`}),`.`]}),`\n`,_jsx(_components.p,{children:`For a Bluesky video, attach one video Asset to one body item:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openpmm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` posts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --workspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ws_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --destination`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dest_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Video update'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --media-item`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '0:ast_01JABCDEF'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --destination-options`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"bluesky\":{\"languages\":[\"en\"],\"content_labels\":[],\"alt_text_by_asset_id\":{}}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Bluesky accepts one MP4 video without other media.`}),`\n`,_jsxs(_components.p,{children:[`For YouTube, set `,_jsx(_components.code,{children:`thumbnail_timestamp_ms`}),` to select a frame from the video.\nThis example selects the frame at 1 second:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openpmm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` posts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --workspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ws_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --destination`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dest_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --headline`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Feature title'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Feature description'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --media`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` media_reel_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --destination-options`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"youtube\":{\"kind\":\"short\",\"privacy_status\":\"private\",\"category_id\":\"22\",\"self_declared_made_for_kids\":false,\"contains_synthetic_media\":false,\"notify_subscribers\":false,\"thumbnail_timestamp_ms\":1000}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The command can return while OpenPMM or the provider processes the Post. Add\n`,_jsx(_components.code,{children:`--wait`}),` for bounded CLI polling on an immediate publication.`]}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`--when queue`}),` to select the next Destination queue slot.\nOpenPMM uses the Workspace time zone.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openpmm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` posts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --workspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ws_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --destination`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dest_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --when`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` queue`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Queued update'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`edit-a-post`,children:`Edit a Post`}),`\n`,_jsx(_components.p,{children:`You can change the copy and publishing options on a draft or scheduled Post.\nThe CLI gets the current ETag before it changes the Post.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openpmm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` posts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` send_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --workspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ws_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Updated first post'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Updated second post'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`--etag`}),` to change the version that you reviewed.`]}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`--destination-options`}),` with JSON to change the Destination publishing options.\nThe scheduled Post keeps its current time and assets.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Cancel the schedule before you change assets or thread structure.`})}),`\n`,_jsx(Heading,{level:`2`,id:`publish-a-post`,children:`Publish a Post`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Publishing can create external posts. Pass `,_jsx(_components.code,{children:`--yes`}),` to send the request.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openpmm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` posts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` publish`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --workspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ws_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --post`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` send_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --post-version`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 2`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --destination`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dest_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --wait`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`--at 2026-08-13T12:00:00Z`}),` to schedule the Post at an exact time.\nUse `,_jsx(_components.code,{children:`--at queue`}),` to select the next queue slot.\nIf a group contains multiple draft Posts, publish all Posts with `,_jsx(_components.code,{children:`--file request.json`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`posts publish`}),` returns after OpenPMM accepts the state change. It does not\nwait for provider completion unless you add `,_jsx(_components.code,{children:`--wait`}),`. Exit code `,_jsx(_components.code,{children:`0`}),` means that\nOpenPMM accepted or completed the requested transition. Exit code `,_jsx(_components.code,{children:`11`}),` means\nthat one or more Posts need action. Both exits preserve the JSON result and\navailable receipts.`]}),`\n`,_jsxs(_components.p,{children:[`For immediate publication, inspect `,_jsx(_components.code,{children:`meta.publication`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.code,{children:`complete`}),` is `,_jsx(_components.code,{children:`true`}),`, stop. The returned Posts include available receipts.`]}),`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.code,{children:`complete`}),` is `,_jsx(_components.code,{children:`false`}),`, use the returned `,_jsx(_components.code,{children:`next_command`}),`, or run\n`,_jsx(_components.code,{children:`openpmm posts wait \u003cpost-id> --json`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.code,{children:`action_required_post_ids`}),` is not empty, stop and inspect each Post’s\n`,_jsx(_components.code,{children:`available_actions`}),`. The CLI exits with code `,_jsx(_components.code,{children:`11`}),`. Do not keep polling.`]}),`\n`,_jsxs(_components.li,{children:[`Read top-level `,_jsx(_components.code,{children:`outcome`}),`: `,_jsx(_components.code,{children:`success`}),`, `,_jsx(_components.code,{children:`partial_failure`}),`, or `,_jsx(_components.code,{children:`failure`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Do not send `,_jsx(_components.code,{children:`posts publish`}),` again.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--wait`}),` polls through the CLI for up to 300 seconds by default. Set\n`,_jsx(_components.code,{children:`--wait-timeout`}),` to change the bound. The final JSON includes `,_jsx(_components.code,{children:`wait_complete`}),`.\nThe CLI stops when each Post is terminal or needs action. Scheduled and queued\nPosts are accepted work and do not use `,_jsx(_components.code,{children:`--wait`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`move-a-queued-post`,children:`Move a queued Post`}),`\n`,_jsxs(_components.p,{children:[`Get the Post and copy its current `,_jsx(_components.code,{children:`scheduled_at`}),` value.\nSelect a local date in the Workspace time zone.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openpmm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` posts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` move-in-queue`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --workspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ws_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --post`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` send_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --expected-scheduled-at`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 2026-08-20T08:37:00.000Z`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --local-date`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 2026-08-22`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`--file request.json`}),` to move multiple Posts in one atomic request.\nOpenPMM moves all requested Posts or does not move any Post.`]}),`\n`,_jsxs(_components.p,{children:[`When background work continues, the command returns a nonterminal Post and a\nnext command in JSON output. Use `,_jsx(_components.code,{children:`posts wait`}),` for immediate publication. You\ncan use `,_jsx(_components.code,{children:`posts show`}),` for one read. OpenPMM continues the accepted work. Do not\nrun `,_jsx(_components.code,{children:`posts publish`}),` again.`]}),`\n`,_jsx(Heading,{level:`2`,id:`list-posts-by-state`,children:`List Posts by state`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`--view`}),` to filter `,_jsx(_components.code,{children:`posts list`}),` by state:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openpmm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` posts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --workspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ws_01JABCDEF`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --view`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` failed`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The views are `,_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`drafts`}),`, `,_jsx(_components.code,{children:`scheduled`}),`, `,_jsx(_components.code,{children:`published`}),`, `,_jsx(_components.code,{children:`attention`}),`, and\n`,_jsx(_components.code,{children:`failed`}),`. `,_jsx(_components.code,{children:`failed`}),` returns the Posts that need attention — the same set the\n`,_jsx(_components.strong,{children:`Failed`}),` tab shows in the web app.`]}),`\n`,_jsxs(_components.p,{children:[`The list can include Posts that OpenPMM imports from a connected provider.\nRead `,_jsx(_components.code,{children:`publication_source`}),` in JSON output to identify them.\nThe value is `,_jsx(_components.code,{children:`provider`}),` for an imported Post.\nThe value is `,_jsx(_components.code,{children:`openpmm`}),` for a Post that OpenPMM publishes.`]}),`\n`,_jsx(_components.p,{children:`Use exact filters when you reconcile a workflow:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openpmm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` posts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --workspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ws_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --group`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` launch-2026-08`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --destination`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dest_01JABCDEF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --state`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` needs-attention`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --include`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` attempts`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`retry_safety`}),` is `,_jsx(_components.code,{children:`may_duplicate`}),`, verify the provider first. Then add\n`,_jsx(_components.code,{children:`--acknowledge-duplicate-risk`}),` to `,_jsx(_components.code,{children:`posts retry`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`recover-an-uncertain-request`,children:`Recover an uncertain request`}),`\n`,_jsxs(_components.p,{children:[`The CLI safely retries a request that has an idempotency key.\nReuse `,_jsx(_components.code,{children:`--idempotency-key`}),` after a timeout.`]}),`\n`,_jsx(_components.p,{children:`If a provider stops after it publishes part of a thread, OpenPMM keeps the\npublished receipts. A retry resumes at the first missing reply instead of\npublishing the opening posts again.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Draft and publish","sidebarTitle":"Draft and publish","description":"Create drafts, publish Posts, and inspect publishing status with the OpenPMM CLI.","href":"/cli/drafts-and-publishing"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create a draft","slug":"create-a-draft","depth":2,"children":[]},{"title":"Edit a Post","slug":"edit-a-post","depth":2,"children":[]},{"title":"Publish a Post","slug":"publish-a-post","depth":2,"children":[]},{"title":"Move a queued Post","slug":"move-a-queued-post","depth":2,"children":[]},{"title":"List Posts by state","slug":"list-posts-by-state","depth":2,"children":[]},{"title":"Recover an uncertain request","slug":"recover-an-uncertain-request","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"open-pmm","siteName":"OpenPMM","title":"Draft and publish - OpenPMM","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-28T16:19:08.627Z","originalFileLocation":"cli/drafts-and-publishing.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create drafts, publish Posts, and inspect publishing status with the OpenPMM CLI.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenPMM\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/open-pmm/Q6BZMi2O6IrklsYx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/open-pmm/Q6BZMi2O6IrklsYx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/open-pmm/Q6BZMi2O6IrklsYx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/open-pmm/Q6BZMi2O6IrklsYx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/open-pmm/Q6BZMi2O6IrklsYx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/open-pmm/Q6BZMi2O6IrklsYx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/open-pmm/Q6BZMi2O6IrklsYx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/open-pmm/Q6BZMi2O6IrklsYx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/open-pmm/Q6BZMi2O6IrklsYx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Draft and publish - OpenPMM\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create drafts, publish Posts, and inspect publishing status with the OpenPMM CLI.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenPMM\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.openpmm.com/docs/cli/drafts-and-publishing\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://open-pmm.mintlify.app/_mintlify/api/og/v2?division=Workflows\u0026amp;title=Draft+and+publish\u0026amp;description=Create+drafts%2C+publish+Posts%2C+and+inspect+publishing+status+with+the+OpenPMM+CLI.\u0026amp;theme=d3f8c8d79f1e36f864055b30\u0026amp;signature=d13ba0f7c9028766c7155ce14310a16c67618048e823f5cc98dd00af061f2153\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Draft and publish - OpenPMM\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create drafts, publish Posts, and inspect publishing status with the OpenPMM CLI.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://open-pmm.mintlify.app/_mintlify/api/og/v2?division=Workflows\u0026amp;title=Draft+and+publish\u0026amp;description=Create+drafts%2C+publish+Posts%2C+and+inspect+publishing+status+with+the+OpenPMM+CLI.\u0026amp;theme=d3f8c8d79f1e36f864055b30\u0026amp;signature=d13ba0f7c9028766c7155ce14310a16c67618048e823f5cc98dd00af061f2153\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/open-pmm/Q6BZMi2O6IrklsYx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenPMM\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#C83F1D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.openpmm.com/docs/cli/drafts-and-publishing\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/cli/drafts-and-publishing.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.openpmm.com/#organization\",\"name\":\"OpenPMM\",\"url\":\"https://www.openpmm.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/open-pmm/Y4bqcTFv_MCkrIIC/logo/openpmm.png?fit=max\u0026auto=format\u0026n=Y4bqcTFv_MCkrIIC\u0026q=85\u0026s=cdc550716e5a29bb13424cc795a18490\"},\"sameAs\":[\"https://github.com/OpenPMM/cli\",\"https://www.npmjs.com/package/@openpmm/cli\"]},{\"@type\":\"WebSite\",\"@id\":\"https://www.openpmm.com/docs#website\",\"name\":\"OpenPMM\",\"url\":\"https://www.openpmm.com/docs\",\"publisher\":{\"@id\":\"https://www.openpmm.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.openpmm.com/docs/cli/drafts-and-publishing#webpage\",\"url\":\"https://www.openpmm.com/docs/cli/drafts-and-publishing\",\"name\":\"Draft and publish\",\"description\":\"Create drafts, publish Posts, and inspect publishing status with the OpenPMM CLI.\",\"dateModified\":\"2026-08-28T16:19:08.627Z\",\"isPartOf\":{\"@id\":\"https://www.openpmm.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.openpmm.com/docs/cli/drafts-and-publishing#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.openpmm.com/docs/cli/drafts-and-publishing#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OpenPMM\",\"item\":\"https://www.openpmm.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Draft and publish\",\"item\":\"https://www.openpmm.com/docs/cli/drafts-and-publishing\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.openpmm.com/docs/cli/drafts-and-publishing#article\",\"headline\":\"Draft and publish\",\"name\":\"Draft and publish\",\"description\":\"Create drafts, publish Posts, and inspect publishing status with the OpenPMM CLI.\",\"url\":\"https://www.openpmm.com/docs/cli/drafts-and-publishing\",\"mainEntityOfPage\":{\"@id\":\"https://www.openpmm.com/docs/cli/drafts-and-publishing#webpage\"},\"dateModified\":\"2026-08-28T16:19:08.627Z\",\"publisher\":{\"@id\":\"https://www.openpmm.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.openpmm.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenPMM\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OpenPMM","nav":{"global":{"anchors":[{"anchor":"OpenPMM","icon":"house","href":"https://www.openpmm.com"},{"anchor":"Dashboard","icon":"grid-2","href":"https://app.openpmm.com"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"CLI","groups":[{"group":"Get started","pages":[{"title":"OpenPMM CLI","sidebarTitle":"Overview","href":"/cli/overview"},{"title":"Create an account","sidebarTitle":"Signup","href":"/cli/signup"},{"title":"Authenticate the CLI","sidebarTitle":"Authentication","href":"/cli/authentication"},{"title":"Agent workflow","sidebarTitle":"Agent workflow","description":"Use OpenPMM through the CLI with deterministic files, safe credentials, and bounded publication status checks.","href":"/cli/agent-workflow"}]},{"group":"Workflows","pages":[{"title":"Draft and publish","sidebarTitle":"Draft and publish","href":"/cli/drafts-and-publishing"},{"title":"Analytics","sidebarTitle":"Analytics","description":"Read and refresh current Post analytics with the OpenPMM CLI.","href":"/cli/analytics"},{"title":"Inbox","sidebarTitle":"Inbox","href":"/cli/inbox"},{"title":"Manage assets and destinations","sidebarTitle":"Assets and destinations","href":"/cli/assets-and-connections"},{"title":"Billing","href":"/cli/billing"},{"title":"Send feedback with the OpenPMM CLI","sidebarTitle":"Feedback","href":"/cli/feedback"},{"title":"Manage webhooks","sidebarTitle":"Webhooks","href":"/cli/webhooks"}]},{"group":"Automation","pages":[{"title":"Automate with the CLI","sidebarTitle":"Automation and safety","href":"/cli/automation-and-safety"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/reference/overview"}]}]},"title":"Draft and publish - OpenPMM","buildId":"dpl_DGmhKsAzJdVqypJzon18vViniWRY","deploymentId":"dpl_DGmhKsAzJdVqypJzon18vViniWRY","dynamics":[],"chunks":[]}