Retorna as análises mais recentes já salvas de uma publicação: um post publicado pelo PostClean ou encontrado num canal conectado. Pegue o id em top_posts de GET /analytics ou em GET /channels/{account}/insights/publications. Uma publicação apagada na rede ou indisponível, de outro workspace ou de uma rede sem análises retorna 404.
Métricas que a rede informa para esta publicação, pela chave da métrica (reactions, comments, views, impressions, reach, engagement_rate, ...). Cada valor é um objeto. Vem como lista vazia [] enquanto nenhuma contagem foi coletada. engagement_rate é calculado pelo PostClean quando há engajamento e alcance.
Show child attributes
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"PostClean Docs","colors":{"primary":"#1f4a34","light":"#51bc69","dark":"#1f4a34"},"logo":{"light":"https://mintcdn.com/chat-clean/aGFnoJWXeKN29AhB/logo/light.svg?fit=max\u0026auto=format\u0026n=aGFnoJWXeKN29AhB\u0026q=85\u0026s=e6706f33c16dba4b6f9197048cc03e4c","dark":"https://mintcdn.com/chat-clean/aGFnoJWXeKN29AhB/logo/dark.svg?fit=max\u0026auto=format\u0026n=aGFnoJWXeKN29AhB\u0026q=85\u0026s=d44865d5cafe56d0da4a387ab510bea7","href":"https://docs.postclean.com.br"},"favicon":"https://mintcdn.com/chat-clean/I-9EQrCnliVRvfUA/logo/favicon.svg?fit=max\u0026auto=format\u0026n=I-9EQrCnliVRvfUA\u0026q=85\u0026s=c8f5bd4e0678790423935122a3f1abba","appearance":{"default":"light","strict":true},"background":{"color":{"light":"#f0eee4","dark":"#0d1611"}},"navbar":{"links":[{"href":"mailto:contato@chatclean.com.br","label":"Suporte"}],"primary":{"type":"button","label":"Acessar o PostClean","href":"https://post.chatclean.com.br"}},"footer":{"socials":{"website":"https://chatclean.com.br"}},"seo":{"metatags":{"canonical":"https://docs.postclean.com.br"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chat-clean","hasAudioNarration":false,"actualSubdomain":"chat-clean","customDomains":["docs.postclean.com.br"],"gitSource":{"type":"github","owner":"chat-clean","repo":"docs-postclean","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6aedd166f2587db843a5c4f0"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedf66127d3b48d167b87a8","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Referência da API","count":86},{"language":"default","tag":"Base de conhecimento","count":39},{"language":"default","tag":"Construa com IA","count":20},{"language":"default","tag":"Guias de configuração","count":18},{"language":"default","tag":"Documentação","count":16},{"language":"default","tag":"Plataformas","count":13},{"language":"default","tag":"Repost","count":12},{"language":"default","tag":"Configurações","count":12},{"language":"default","tag":"Automações","count":10},{"language":"default","tag":"Canais","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/analytics/get-publication-analytics","slug":"/api-reference/analytics/get-publication-analytics","pageMetadata":{"title":"Ver métricas de uma publicação","description":"Retorna as análises mais recentes já salvas de uma publicação: um post publicado pelo PostClean ou encontrado num canal conectado. Pegue o id em `top_posts` de `GET /analytics` ou em `GET /channels/{account}/insights/publications`. Uma publicação apagada na rede ou indisponível, de outro workspace ou de uma rede sem análises retorna `404`.","deprecated":null,"version":null,"sidebarTitle":"Get publication analytics","openapi":"/openapi.json get /analytics/publications/{publication}","href":"/api-reference/analytics/get-publication-analytics","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Retorna as análises mais recentes já salvas de uma publicação: um post publicado pelo PostClean ou encontrado num canal conectado. Pegue o id em \", _jsx(_components.code, {\n children: \"top_posts\"\n }), \" de \", _jsx(_components.code, {\n children: \"GET /analytics\"\n }), \" ou em \", _jsx(_components.code, {\n children: \"GET /channels/{account}/insights/publications\"\n }), \". Uma publicação apagada na rede ou indisponível, de outro workspace ou de uma rede sem análises retorna \", _jsx(_components.code, {\n children: \"404\"\n }), \".\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Ver métricas de uma publicação","description":"Retorna as análises mais recentes já salvas de uma publicação: um post publicado pelo PostClean ou encontrado num canal conectado. Pegue o id em `top_posts` de `GET /analytics` ou em `GET /channels/{account}/insights/publications`. Uma publicação apagada na rede ou indisponível, de outro workspace ou de uma rede sem análises retorna `404`.","deprecated":null,"version":null,"sidebarTitle":"Get publication analytics","openapi":"/openapi.json get /analytics/publications/{publication}","href":"/api-reference/analytics/get-publication-analytics","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Analytics"],"summary":"Ver métricas de uma publicação","operationId":"getPublicationAnalytics","description":"Retorna as análises mais recentes já salvas de uma publicação: um post publicado pelo PostClean ou encontrado num canal conectado. Pegue o id em `top_posts` de `GET /analytics` ou em `GET /channels/{account}/insights/publications`. Uma publicação apagada na rede ou indisponível, de outro workspace ou de uma rede sem análises retorna `404`.","responses":{"200":"5db6d63f-dcdf-4877-83b2-4a16734cbb1c","401":"d8db35dc-cd65-469e-bc64-45c15a6b89b7","402":"f7ad39fd-5d2a-4ebc-bff4-38fe5c8d83e6","403":"2e9629ae-fd5e-42c2-b26d-e653d7bea570","404":"95ea0648-1995-48b9-8736-d5eb5da21d26","429":"d5c729fb-da7c-4b1d-9d28-b19cfafee3ec"},"x-mint":{"href":"/api-reference/analytics/get-publication-analytics"},"method":"get","type":"path","servers":["fbab3591-1250-42a2-b690-042cd28faca1"],"security":["a9bafb6d-f796-4227-b8f6-6f6aa653bde7"],"path":"/analytics/publications/{publication}","baseUrlOptions":["https://post.chatclean.com.br/api"],"title":"Ver métricas de uma publicação","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"5b790e6c-50e8-458d-99ac-28ef3b706d36":{"name":"publication","in":"path","required":true,"description":"Id da publicação nas métricas (o `id` de um post em destaque ou de uma linha de desempenho de posts do canal).","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Id da publicação nas métricas (o `id` de um post em destaque ou de uma linha de desempenho de posts do canal).","uniqueKey":"","typeLabel":"string\u003cuuid>"},"example":"9d4a0b1c-2d3e-4f5a-8b6c-7d8e9f0a1b2c"}},"responses":{"5db6d63f-dcdf-4877-83b2-4a16734cbb1c":{"description":"As análises da publicação.","content":{"application/json":{"schema":{"type":"object","description":"Análises salvas de uma publicação: a contagem diária mais recente coletada da rede.","properties":{"available":{"type":"boolean","description":"Sempre `true` em `GET /analytics/publications/{publication}`.","uniqueKey":"available","typeLabel":"boolean"},"reason":{"oneOf":[{"type":"string","description":"Sempre `null` em `GET /analytics/publications/{publication}`.","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Sempre `null` em `GET /analytics/publications/{publication}`.","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"publication":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"publication.id","typeLabel":"string\u003cuuid>"},"post_platform_id":{"oneOf":[{"type":"string","format":"uuid","description":"Destino do post no PostClean que gerou esta publicação, ou `null` num post feito fora do PostClean.","uniqueKey":"publication.post_platform_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Destino do post no PostClean que gerou esta publicação, ou `null` num post feito fora do PostClean.","uniqueKey":"publication.post_platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"publication.post_platform_id","typeLabel":"string\u003cuuid> | null"},"social_account_key":{"oneOf":[{"type":"string","description":"Chave fixa do canal nas análises. Num canal conectado, é o id da conta social.","uniqueKey":"publication.social_account_key.oneOf.0","typeLabel":"string"},{"type":"null","description":"Chave fixa do canal nas análises. Num canal conectado, é o id da conta social.","uniqueKey":"publication.social_account_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"publication.social_account_key","typeLabel":"string | null"},"platform":{"type":"string","enum":["linkedin","linkedin-page","x","tiktok","youtube","facebook","instagram","instagram-facebook","threads","pinterest","bluesky","mastodon","telegram","discord","google_business"],"description":"Rede de uma conta social. `linkedin-page` é uma página de empresa no LinkedIn, e `instagram-facebook` é uma conta do Instagram conectada por uma Página do Facebook.","uniqueKey":"publication.platform","typeLabel":"enum\u003cstring>"},"origin":{"type":"string","enum":["trypost","external"],"description":"`trypost` (publicado pelo PostClean) ou `external` (feito fora dele).","uniqueKey":"publication.origin","typeLabel":"enum\u003cstring>"},"content_type":{"type":"string","enum":["text","image","carousel","video","reel","story","short","link","poll","unknown"],"description":"Tipo da publicação nas análises (`text`, `image`, `video`, ...).","uniqueKey":"publication.content_type","typeLabel":"enum\u003cstring>"},"availability":{"type":"string","enum":["available","deleted","unavailable"],"description":"Sempre `available` em `GET /analytics/publications/{publication}`.","uniqueKey":"publication.availability","typeLabel":"enum\u003cstring>"},"provider_published_at":{"oneOf":[{"type":"string","format":"date-time","description":"Quando a rede publicou, ISO 8601 em UTC (`+00:00`).","uniqueKey":"publication.provider_published_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Quando a rede publicou, ISO 8601 em UTC (`+00:00`).","uniqueKey":"publication.provider_published_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"publication.provider_published_at","typeLabel":"string\u003cdate-time> | null"},"permalink":{"oneOf":[{"type":"string","uniqueKey":"publication.permalink.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"publication.permalink.oneOf.1","typeLabel":"null"}],"uniqueKey":"publication.permalink","typeLabel":"string | null"},"excerpt":{"oneOf":[{"type":"string","uniqueKey":"publication.excerpt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"publication.excerpt.oneOf.1","typeLabel":"null"}],"uniqueKey":"publication.excerpt","typeLabel":"string | null"},"preview_metadata":{"oneOf":[{"type":"object","description":"Dados de prévia que a rede devolveu (por exemplo `thumbnail_url`).","uniqueKey":"publication.preview_metadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"Dados de prévia que a rede devolveu (por exemplo `thumbnail_url`).","uniqueKey":"publication.preview_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"publication.preview_metadata","typeLabel":"object | null"},"account_display_name":{"oneOf":[{"type":"string","uniqueKey":"publication.account_display_name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"publication.account_display_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"publication.account_display_name","typeLabel":"string | null"},"account_username":{"oneOf":[{"type":"string","uniqueKey":"publication.account_username.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"publication.account_username.oneOf.1","typeLabel":"null"}],"uniqueKey":"publication.account_username","typeLabel":"string | null"},"account_avatar_url":{"oneOf":[{"type":"string","description":"Foto atual da conta, ou a guardada na publicação quando a conta não existe mais.","uniqueKey":"publication.account_avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Foto atual da conta, ou a guardada na publicação quando a conta não existe mais.","uniqueKey":"publication.account_avatar_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"publication.account_avatar_url","typeLabel":"string | null"}},"uniqueKey":"publication","typeLabel":"object"},"snapshot":{"oneOf":[{"type":"object","properties":{"date":{"type":"string","format":"date","uniqueKey":"snapshot.oneOf.0.date","typeLabel":"string\u003cdate>"},"collected_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"snapshot.oneOf.0.collected_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"snapshot.oneOf.0.collected_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.collected_at","typeLabel":"string\u003cdate-time> | null"},"provider_observed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"snapshot.oneOf.0.provider_observed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"snapshot.oneOf.0.provider_observed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.provider_observed_at","typeLabel":"string\u003cdate-time> | null"},"reactions_count":{"oneOf":[{"type":"integer","uniqueKey":"snapshot.oneOf.0.reactions_count.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"snapshot.oneOf.0.reactions_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.reactions_count","typeLabel":"integer | null"},"comments_count":{"oneOf":[{"type":"integer","uniqueKey":"snapshot.oneOf.0.comments_count.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"snapshot.oneOf.0.comments_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.comments_count","typeLabel":"integer | null"},"shares_count":{"oneOf":[{"type":"integer","uniqueKey":"snapshot.oneOf.0.shares_count.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"snapshot.oneOf.0.shares_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.shares_count","typeLabel":"integer | null"},"saves_count":{"oneOf":[{"type":"integer","uniqueKey":"snapshot.oneOf.0.saves_count.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"snapshot.oneOf.0.saves_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.saves_count","typeLabel":"integer | null"},"views_count":{"oneOf":[{"type":"integer","uniqueKey":"snapshot.oneOf.0.views_count.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"snapshot.oneOf.0.views_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.views_count","typeLabel":"integer | null"},"impressions_count":{"oneOf":[{"type":"integer","uniqueKey":"snapshot.oneOf.0.impressions_count.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"snapshot.oneOf.0.impressions_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.impressions_count","typeLabel":"integer | null"},"reach_count":{"oneOf":[{"type":"integer","uniqueKey":"snapshot.oneOf.0.reach_count.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"snapshot.oneOf.0.reach_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.reach_count","typeLabel":"integer | null"},"engagement_count":{"oneOf":[{"type":"integer","description":"Total de interações usado na taxa de engajamento.","uniqueKey":"snapshot.oneOf.0.engagement_count.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Total de interações usado na taxa de engajamento.","uniqueKey":"snapshot.oneOf.0.engagement_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.engagement_count","typeLabel":"integer | null"},"exposure_count":{"oneOf":[{"type":"integer","description":"Base da taxa de engajamento (alcance, impressões ou visualizações, conforme `exposure_kind`).","uniqueKey":"snapshot.oneOf.0.exposure_count.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Base da taxa de engajamento (alcance, impressões ou visualizações, conforme `exposure_kind`).","uniqueKey":"snapshot.oneOf.0.exposure_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.exposure_count","typeLabel":"integer | null"},"exposure_kind":{"oneOf":[{"type":"string","enum":["reach","impressions","views",null],"description":"O que `exposure_count` mede: alcance, impressões ou visualizações.","uniqueKey":"snapshot.oneOf.0.exposure_kind.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["reach","impressions","views",null],"description":"O que `exposure_count` mede: alcance, impressões ou visualizações.","uniqueKey":"snapshot.oneOf.0.exposure_kind.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.exposure_kind","typeLabel":"enum\u003cstring> | null"},"watch_time_milliseconds":{"oneOf":[{"type":"integer","uniqueKey":"snapshot.oneOf.0.watch_time_milliseconds.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"snapshot.oneOf.0.watch_time_milliseconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.watch_time_milliseconds","typeLabel":"integer | null"},"average_watch_time_milliseconds":{"oneOf":[{"type":"integer","uniqueKey":"snapshot.oneOf.0.average_watch_time_milliseconds.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"snapshot.oneOf.0.average_watch_time_milliseconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.0.average_watch_time_milliseconds","typeLabel":"integer | null"}},"description":"A contagem diária mais recente, ou `null` enquanto nenhuma foi coletada.","uniqueKey":"snapshot.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"date":{"type":"string","format":"date"},"collected_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"provider_observed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"reactions_count":{"oneOf":[{"type":"integer"},{"type":"null"}]},"comments_count":{"oneOf":[{"type":"integer"},{"type":"null"}]},"shares_count":{"oneOf":[{"type":"integer"},{"type":"null"}]},"saves_count":{"oneOf":[{"type":"integer"},{"type":"null"}]},"views_count":{"oneOf":[{"type":"integer"},{"type":"null"}]},"impressions_count":{"oneOf":[{"type":"integer"},{"type":"null"}]},"reach_count":{"oneOf":[{"type":"integer"},{"type":"null"}]},"engagement_count":{"oneOf":[{"type":"integer","description":"Total de interações usado na taxa de engajamento."},{"type":"null","description":"Total de interações usado na taxa de engajamento."}]},"exposure_count":{"oneOf":[{"type":"integer","description":"Base da taxa de engajamento (alcance, impressões ou visualizações, conforme `exposure_kind`)."},{"type":"null","description":"Base da taxa de engajamento (alcance, impressões ou visualizações, conforme `exposure_kind`)."}]},"exposure_kind":{"oneOf":[{"type":"string","enum":["reach","impressions","views",null],"description":"O que `exposure_count` mede: alcance, impressões ou visualizações."},{"type":"null","enum":["reach","impressions","views",null],"description":"O que `exposure_count` mede: alcance, impressões ou visualizações."}]},"watch_time_milliseconds":{"oneOf":[{"type":"integer"},{"type":"null"}]},"average_watch_time_milliseconds":{"oneOf":[{"type":"integer"},{"type":"null"}]}},"description":"A contagem diária mais recente, ou `null` enquanto nenhuma foi coletada.","uniqueKey":"snapshot.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot","typeLabel":"object | null"},"metrics":{"oneOf":[{"type":"object","description":"Métricas que a rede informa para esta publicação, pela chave da métrica (`reactions`, `comments`, `views`, `impressions`, `reach`, `engagement_rate`, ...). Cada valor é um objeto. Vem como lista vazia `[]` enquanto nenhuma contagem foi coletada. `engagement_rate` é calculado pelo PostClean quando há engajamento e alcance.","additionalProperties":{"type":"object","properties":{"value":{"oneOf":[{"type":"number","uniqueKey":"metrics.oneOf.0.additionalProperties.value.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"metrics.oneOf.0.additionalProperties.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"metrics.oneOf.0.additionalProperties.value","typeLabel":"number | null"},"unit":{"type":"string","enum":["count","milliseconds","percent"],"uniqueKey":"metrics.oneOf.0.additionalProperties.unit","typeLabel":"enum\u003cstring>"},"time_basis":{"type":"string","enum":["lifetime","range","rolling_90_days","snapshot"],"uniqueKey":"metrics.oneOf.0.additionalProperties.time_basis","typeLabel":"enum\u003cstring>"},"precision":{"type":"string","enum":["exact","approximate","estimated","experimental"],"uniqueKey":"metrics.oneOf.0.additionalProperties.precision","typeLabel":"enum\u003cstring>"},"availability":{"type":"string","enum":["available","unsupported","unavailable","delayed","privacy_limited"],"uniqueKey":"metrics.oneOf.0.additionalProperties.availability","typeLabel":"enum\u003cstring>"},"provider_metric":{"oneOf":[{"type":"string","description":"Nome da métrica na API da rede.","uniqueKey":"metrics.oneOf.0.additionalProperties.provider_metric.oneOf.0","typeLabel":"string"},{"type":"null","description":"Nome da métrica na API da rede.","uniqueKey":"metrics.oneOf.0.additionalProperties.provider_metric.oneOf.1","typeLabel":"null"}],"uniqueKey":"metrics.oneOf.0.additionalProperties.provider_metric","typeLabel":"string | null"},"period_start":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"metrics.oneOf.0.additionalProperties.period_start.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"metrics.oneOf.0.additionalProperties.period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"metrics.oneOf.0.additionalProperties.period_start","typeLabel":"string\u003cdate-time> | null"},"period_end":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"metrics.oneOf.0.additionalProperties.period_end.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"metrics.oneOf.0.additionalProperties.period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"metrics.oneOf.0.additionalProperties.period_end","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"metrics.oneOf.0.additionalProperties","typeLabel":"object"},"maxItems":0,"uniqueKey":"metrics.oneOf.0","typeLabel":"object"},{"type":"array","description":"Métricas que a rede informa para esta publicação, pela chave da métrica (`reactions`, `comments`, `views`, `impressions`, `reach`, `engagement_rate`, ...). Cada valor é um objeto. Vem como lista vazia `[]` enquanto nenhuma contagem foi coletada. `engagement_rate` é calculado pelo PostClean quando há engajamento e alcance.","additionalProperties":{"type":"object","properties":{"value":{"oneOf":[{"type":"number","uniqueKey":"metrics.oneOf.1.additionalProperties.value.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"metrics.oneOf.1.additionalProperties.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"metrics.oneOf.1.additionalProperties.value","typeLabel":"number | null"},"unit":{"type":"string","enum":["count","milliseconds","percent"],"uniqueKey":"metrics.oneOf.1.additionalProperties.unit","typeLabel":"enum\u003cstring>"},"time_basis":{"type":"string","enum":["lifetime","range","rolling_90_days","snapshot"],"uniqueKey":"metrics.oneOf.1.additionalProperties.time_basis","typeLabel":"enum\u003cstring>"},"precision":{"type":"string","enum":["exact","approximate","estimated","experimental"],"uniqueKey":"metrics.oneOf.1.additionalProperties.precision","typeLabel":"enum\u003cstring>"},"availability":{"type":"string","enum":["available","unsupported","unavailable","delayed","privacy_limited"],"uniqueKey":"metrics.oneOf.1.additionalProperties.availability","typeLabel":"enum\u003cstring>"},"provider_metric":{"oneOf":[{"type":"string","description":"Nome da métrica na API da rede.","uniqueKey":"metrics.oneOf.1.additionalProperties.provider_metric.oneOf.0","typeLabel":"string"},{"type":"null","description":"Nome da métrica na API da rede.","uniqueKey":"metrics.oneOf.1.additionalProperties.provider_metric.oneOf.1","typeLabel":"null"}],"uniqueKey":"metrics.oneOf.1.additionalProperties.provider_metric","typeLabel":"string | null"},"period_start":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"metrics.oneOf.1.additionalProperties.period_start.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"metrics.oneOf.1.additionalProperties.period_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"metrics.oneOf.1.additionalProperties.period_start","typeLabel":"string\u003cdate-time> | null"},"period_end":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"metrics.oneOf.1.additionalProperties.period_end.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"metrics.oneOf.1.additionalProperties.period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"metrics.oneOf.1.additionalProperties.period_end","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"metrics.oneOf.1.additionalProperties","typeLabel":"object"},"maxItems":0,"uniqueKey":"metrics.oneOf.1","typeLabel":"array"}],"uniqueKey":"metrics","typeLabel":"object | array"}},"uniqueKey":"","typeLabel":"object"},"example":{"available":true,"reason":null,"publication":{"id":"9d4a0b1c-2d3e-4f5a-8b6c-7d8e9f0a1b2c","post_platform_id":"9d3c1f2b-7a5c-4d9e-8f0a-1b2c3d4e5f60","social_account_key":"9c8b7a65-4d3e-4f2a-8b1c-0d9e8f7a6b54","platform":"x","origin":"trypost","content_type":"text","availability":"available","provider_published_at":"2026-10-12T14:00:03+00:00","permalink":"https://x.com/postclean/status/1843921066571337728","excerpt":"We just shipped scheduled threads.","preview_metadata":null,"account_display_name":"PostClean","account_username":"postclean","account_avatar_url":null},"snapshot":{"date":"2026-10-14","collected_at":"2026-10-14T06:10:00+00:00","provider_observed_at":"2026-10-14T06:09:58+00:00","reactions_count":42,"comments_count":5,"shares_count":7,"saves_count":3,"views_count":null,"impressions_count":3120,"reach_count":null,"engagement_count":57,"exposure_count":3120,"exposure_kind":"impressions","watch_time_milliseconds":null,"average_watch_time_milliseconds":null},"metrics":{"impressions":{"value":3120,"unit":"count","time_basis":"lifetime","precision":"exact","availability":"available","provider_metric":"impression_count","period_start":null,"period_end":null},"engagement_rate":{"value":1.83,"unit":"percent","time_basis":"lifetime","precision":"exact","availability":"available","provider_metric":"derived_engagements_per_impressions","period_start":null,"period_end":null}}},"examples":{"Example":{"title":"Example","value":{"available":true,"reason":null,"publication":{"id":"9d4a0b1c-2d3e-4f5a-8b6c-7d8e9f0a1b2c","post_platform_id":"9d3c1f2b-7a5c-4d9e-8f0a-1b2c3d4e5f60","social_account_key":"9c8b7a65-4d3e-4f2a-8b1c-0d9e8f7a6b54","platform":"x","origin":"trypost","content_type":"text","availability":"available","provider_published_at":"2026-10-12T14:00:03+00:00","permalink":"https://x.com/postclean/status/1843921066571337728","excerpt":"We just shipped scheduled threads.","preview_metadata":null,"account_display_name":"PostClean","account_username":"postclean","account_avatar_url":null},"snapshot":{"date":"2026-10-14","collected_at":"2026-10-14T06:10:00+00:00","provider_observed_at":"2026-10-14T06:09:58+00:00","reactions_count":42,"comments_count":5,"shares_count":7,"saves_count":3,"views_count":null,"impressions_count":3120,"reach_count":null,"engagement_count":57,"exposure_count":3120,"exposure_kind":"impressions","watch_time_milliseconds":null,"average_watch_time_milliseconds":null},"metrics":{"impressions":{"value":3120,"unit":"count","time_basis":"lifetime","precision":"exact","availability":"available","provider_metric":"impression_count","period_start":null,"period_end":null},"engagement_rate":{"value":1.83,"unit":"percent","time_basis":"lifetime","precision":"exact","availability":"available","provider_metric":"derived_engagements_per_impressions","period_start":null,"period_end":null}}}}},"exampleType":"examples"}},"exampleType":"examples"},"d8db35dc-cd65-469e-bc64-45c15a6b89b7":{"description":"Chave de API ausente, inválida, revogada ou expirada. Corpos possíveis: `Unauthenticated.` (sem chave, ou chave inválida ou revogada), `Token expired.` (passou do `expires_at`), `Token not found.` e `No workspace selected.` (a chave não está mais ligada a um workspace).","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"description":"Corpo de erro com uma mensagem.","uniqueKey":"","typeLabel":"object"},"example":{"message":"Unauthenticated."},"examples":{"Example":{"title":"Example","value":{"message":"Unauthenticated."}}},"exampleType":"examples"}},"exampleType":"examples"},"f7ad39fd-5d2a-4ebc-bff4-38fe5c8d83e6":{"description":"A conta do workspace não tem assinatura ativa nem período de teste. Corpo: `{\"message\": \"Active subscription required.\"}`.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"description":"Corpo de erro com uma mensagem.","uniqueKey":"","typeLabel":"object"},"example":{"message":"Active subscription required."},"examples":{"Example":{"title":"Example","value":{"message":"Active subscription required."}}},"exampleType":"examples"}},"exampleType":"examples"},"2e9629ae-fd5e-42c2-b26d-e653d7bea570":{"description":"A requisição não é permitida. Chaves de API só funcionam para administradores do workspace (o dono da conta ou um membro marcado como administrador); fora isso, toda requisição devolve `Insufficient workspace permissions.`. Outros corpos: `Workspace access denied.` (o usuário da chave saiu do workspace), `Personal access token required.` (foi enviado um token OAuth do MCP) e `This action is unauthorized.` (por exemplo, a nota pertence a outro membro).","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"description":"Corpo de erro com uma mensagem.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"95ea0648-1995-48b9-8736-d5eb5da21d26":{"description":"A publicação não existe neste workspace, não está mais disponível na rede ou é de uma rede sem análises.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"description":"Corpo de erro com uma mensagem.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"d5c729fb-da7c-4b1d-9d28-b19cfafee3ec":{"description":"Limite de requisições excedido: 60 por minuto por workspace.","headers":{"Retry-After":{"description":"Segundos de espera antes de tentar de novo.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","const":"rate_limit_exceeded","uniqueKey":"name","typeLabel":"string"},"message":{"type":"string","examples":["Rate limit exceeded. Please retry after 30 seconds."],"uniqueKey":"message","typeLabel":"string"}},"description":"Corpo devolvido quando o limite de requisições é excedido.","uniqueKey":"","typeLabel":"object"},"example":{"name":"rate_limit_exceeded","message":"Rate limit exceeded. Please retry after 30 seconds."},"examples":{"Example":{"title":"Example","value":{"name":"rate_limit_exceeded","message":"Rate limit exceeded. Please retry after 30 seconds."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"a9bafb6d-f796-4227-b8f6-6f6aa653bde7":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Chave de API do workspace, criada em Configurações > Chaves de API.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"fbab3591-1250-42a2-b690-042cd28faca1":{"url":"https://post.chatclean.com.br/api","description":"PostClean"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Chave de API do workspace, criada em Configurações > Chaves de API.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Chave de API do workspace, criada em Configurações > Chaves de API.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"chat-clean","siteName":"PostClean Docs","title":"Ver métricas de uma publicação - PostClean Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T15:46:47.126Z","originalFileLocation":"api-reference/analytics/get-publication-analytics.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Retorna as análises mais recentes já salvas de uma publicação: um post publicado pelo PostClean ou encontrado num canal conectado. Pegue o id em top_posts de GET /analytics ou em GET /channels/{account}/insights/publications. Uma publicação apagada na rede ou indisponível, de outro workspace ou de uma rede sem análises retorna 404.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PostClean Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chat-clean/QF5i1RCqVwGpluZT/_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=\"/mintlify-assets/_mintlify/favicons/chat-clean/QF5i1RCqVwGpluZT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chat-clean/QF5i1RCqVwGpluZT/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/chat-clean/QF5i1RCqVwGpluZT/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/chat-clean/QF5i1RCqVwGpluZT/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chat-clean/QF5i1RCqVwGpluZT/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chat-clean/QF5i1RCqVwGpluZT/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/chat-clean/QF5i1RCqVwGpluZT/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/chat-clean/QF5i1RCqVwGpluZT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Ver métricas de uma publicação - PostClean Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retorna as análises mais recentes já salvas de uma publicação: um post publicado pelo PostClean ou encontrado num canal conectado. Pegue o id em top_posts de GET /analytics ou em GET /channels/{account}/insights/publications. Uma publicação apagada na rede ou indisponível, de outro workspace ou de uma rede sem análises retorna 404.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PostClean Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.postclean.com.br/api-reference/analytics/get-publication-analytics\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chat-clean.mintlify.site/_mintlify/api/og/v2?division=An%C3%A1lises\u0026amp;title=Ver+m%C3%A9tricas+de+uma+publica%C3%A7%C3%A3o\u0026amp;description=Retorna+as+an%C3%A1lises+mais+recentes+j%C3%A1+salvas+de+uma+publica%C3%A7%C3%A3o%3A+um+post+publicado+pelo+PostClean+ou+encontrado+num+canal+conectado.+Pegue+o+id+em+%60top_posts%60+de+\u0026amp;theme=c49b527881794ab1fc0f6bcf\u0026amp;signature=04ca9c5701039e7e5d71900349c05996a636ddd3d27ed499a5eb0cd4959ce6aa\">\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=\"Ver métricas de uma publicação - PostClean Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retorna as análises mais recentes já salvas de uma publicação: um post publicado pelo PostClean ou encontrado num canal conectado. Pegue o id em top_posts de GET /analytics ou em GET /channels/{account}/insights/publications. Uma publicação apagada na rede ou indisponível, de outro workspace ou de uma rede sem análises retorna 404.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chat-clean.mintlify.site/_mintlify/api/og/v2?division=An%C3%A1lises\u0026amp;title=Ver+m%C3%A9tricas+de+uma+publica%C3%A7%C3%A3o\u0026amp;description=Retorna+as+an%C3%A1lises+mais+recentes+j%C3%A1+salvas+de+uma+publica%C3%A7%C3%A3o%3A+um+post+publicado+pelo+PostClean+ou+encontrado+num+canal+conectado.+Pegue+o+id+em+%60top_posts%60+de+\u0026amp;theme=c49b527881794ab1fc0f6bcf\u0026amp;signature=04ca9c5701039e7e5d71900349c05996a636ddd3d27ed499a5eb0cd4959ce6aa\">\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=\"/mintlify-assets/_mintlify/favicons/chat-clean/QF5i1RCqVwGpluZT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PostClean Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1f4a34\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.postclean.com.br/api-reference/analytics/get-publication-analytics\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/analytics/get-publication-analytics.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.postclean.com.br/#organization\",\"name\":\"PostClean Docs\",\"url\":\"https://docs.postclean.com.br\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chat-clean/aGFnoJWXeKN29AhB/logo/light.svg?fit=max\u0026auto=format\u0026n=aGFnoJWXeKN29AhB\u0026q=85\u0026s=e6706f33c16dba4b6f9197048cc03e4c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.postclean.com.br#website\",\"name\":\"PostClean Docs\",\"url\":\"https://docs.postclean.com.br\",\"publisher\":{\"@id\":\"https://docs.postclean.com.br/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.postclean.com.br/api-reference/analytics/get-publication-analytics#webpage\",\"url\":\"https://docs.postclean.com.br/api-reference/analytics/get-publication-analytics\",\"name\":\"Ver métricas de uma publicação\",\"description\":\"Retorna as análises mais recentes já salvas de uma publicação: um post publicado pelo PostClean ou encontrado num canal conectado. Pegue o id em top_posts de GET /analytics ou em GET /channels/{account}/insights/publications. Uma publicação apagada na rede ou indisponível, de outro workspace ou de uma rede sem análises retorna 404.\",\"dateModified\":\"2026-11-06T15:46:47.126Z\",\"isPartOf\":{\"@id\":\"https://docs.postclean.com.br#website\"},\"breadcrumb\":{\"@id\":\"https://docs.postclean.com.br/api-reference/analytics/get-publication-analytics#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.postclean.com.br/api-reference/analytics/get-publication-analytics#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Análises\",\"item\":\"https://docs.postclean.com.br/api-reference/analytics/get-workspace-analytics\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ver métricas de uma publicação\",\"item\":\"https://docs.postclean.com.br/api-reference/analytics/get-publication-analytics\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.postclean.com.br/api-reference/analytics/get-publication-analytics#apireference\",\"headline\":\"Ver métricas de uma publicação\",\"name\":\"Ver métricas de uma publicação\",\"description\":\"Retorna as análises mais recentes já salvas de uma publicação: um post publicado pelo PostClean ou encontrado num canal conectado. Pegue o id em top_posts de GET /analytics ou em GET /channels/{account}/insights/publications. Uma publicação apagada na rede ou indisponível, de outro workspace ou de uma rede sem análises retorna 404.\",\"url\":\"https://docs.postclean.com.br/api-reference/analytics/get-publication-analytics\",\"mainEntityOfPage\":{\"@id\":\"https://docs.postclean.com.br/api-reference/analytics/get-publication-analytics#webpage\"},\"dateModified\":\"2026-11-06T15:46:47.126Z\",\"publisher\":{\"@id\":\"https://docs.postclean.com.br/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.postclean.com.br#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PostClean Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"PostClean Docs","nav":{"global":null,"tabs":[{"tab":"Documentação","icon":"book-open","pages":[{"title":"Documentação","href":""}]},{"tab":"Referência da API","icon":"code","groups":[{"group":"Visão geral","pages":[{"title":"Introdução","icon":"book-open","href":"/api-reference/introduction"},{"title":"Publicação","icon":"paper-plane","href":"/api-reference/guides/posting"},{"title":"Envio de mídia","icon":"image","href":"/api-reference/guides/media-uploads"}]},{"group":"Posts","pages":[{"title":"Listar posts","deprecated":null,"version":null,"sidebarTitle":"List posts","openapi":"/openapi.json get /posts","href":"/api-reference/posts/list-posts"},{"title":"Criar post","deprecated":null,"version":null,"sidebarTitle":"Create post","openapi":"/openapi.json post /posts","href":"/api-reference/posts/create-post"},{"title":"Criar posts em lote","deprecated":null,"version":null,"sidebarTitle":"Create posts in batch","openapi":"/openapi.json post /posts/batch","href":"/api-reference/posts/create-posts-in-batch"},{"title":"Ver post","deprecated":null,"version":null,"sidebarTitle":"Get post","openapi":"/openapi.json get /posts/{post}","href":"/api-reference/posts/get-post"},{"title":"Atualizar post","deprecated":null,"version":null,"sidebarTitle":"Update post","openapi":"/openapi.json put /posts/{post}","href":"/api-reference/posts/update-post"},{"title":"Excluir post","deprecated":null,"version":null,"sidebarTitle":"Delete post","openapi":"/openapi.json delete /posts/{post}","href":"/api-reference/posts/delete-post"},{"title":"Ver métricas do post","deprecated":null,"version":null,"sidebarTitle":"Get post metrics","openapi":"/openapi.json get /posts/{post}/metrics","href":"/api-reference/posts/get-post-metrics"},{"title":"Ver prévia do post","deprecated":null,"version":null,"sidebarTitle":"Get post preview","openapi":"/openapi.json get /posts/{post}/preview","href":"/api-reference/posts/get-post-preview"}]},{"group":"Notas de posts","pages":[{"title":"Listar notas do post","deprecated":null,"version":null,"sidebarTitle":"List post notes","openapi":"/openapi.json get /posts/{post}/notes","href":"/api-reference/post-notes/list-post-notes"},{"title":"Criar nota no post","deprecated":null,"version":null,"sidebarTitle":"Create post note","openapi":"/openapi.json post /posts/{post}/notes","href":"/api-reference/post-notes/create-post-note"},{"title":"Atualizar nota do post","deprecated":null,"version":null,"sidebarTitle":"Update post note","openapi":"/openapi.json put /posts/{post}/notes/{note}","href":"/api-reference/post-notes/update-post-note"},{"title":"Excluir nota do post","deprecated":null,"version":null,"sidebarTitle":"Delete post note","openapi":"/openapi.json delete /posts/{post}/notes/{note}","href":"/api-reference/post-notes/delete-post-note"}]},{"group":"Aprovações","pages":[{"title":"Aprovar post","deprecated":null,"version":null,"sidebarTitle":"Approve post","openapi":"/openapi.json post /posts/{post}/approve","href":"/api-reference/approvals/approve-post"},{"title":"Rejeitar post","deprecated":null,"version":null,"sidebarTitle":"Reject post","openapi":"/openapi.json post /posts/{post}/reject","href":"/api-reference/approvals/reject-post"}]},{"group":"Recorrência","pages":[{"title":"Definir repetição do post","deprecated":null,"version":null,"sidebarTitle":"Set post recurrence","openapi":"/openapi.json patch /posts/{post}/recurrence","href":"/api-reference/recurrence/set-post-recurrence"},{"title":"Remover repetição do post","deprecated":null,"version":null,"sidebarTitle":"Remove post recurrence","openapi":"/openapi.json delete /posts/{post}/recurrence","href":"/api-reference/recurrence/remove-post-recurrence"}]},{"group":"Mídia e uploads","pages":[{"title":"Enviar mídia","deprecated":null,"version":null,"sidebarTitle":"Upload media","openapi":"/openapi.json post /posts/{post}/media","href":"/api-reference/media-and-uploads/upload-media"},{"title":"Anexar mídia de um upload","deprecated":null,"version":null,"sidebarTitle":"Attach media from upload","openapi":"/openapi.json post /posts/{post}/media/from-upload","href":"/api-reference/media-and-uploads/attach-media-from-upload"},{"title":"Anexar mídia por URL","deprecated":null,"version":null,"sidebarTitle":"Attach media from url","openapi":"/openapi.json post /posts/{post}/media/from-url","href":"/api-reference/media-and-uploads/attach-media-from-url"},{"title":"Criar upload","deprecated":null,"version":null,"sidebarTitle":"Create upload","openapi":"/openapi.json post /uploads","href":"/api-reference/media-and-uploads/create-upload"},{"title":"Enviar para URL assinada","deprecated":null,"version":null,"sidebarTitle":"Upload to signed url","openapi":"/openapi.json post /uploads/{token}","href":"/api-reference/media-and-uploads/upload-to-signed-url"}]},{"group":"Contas sociais","pages":[{"title":"Listar contas sociais","deprecated":null,"version":null,"sidebarTitle":"List social accounts","openapi":"/openapi.json get /social-accounts","href":"/api-reference/social-accounts/list-social-accounts"},{"title":"Listar pastas do Pinterest","deprecated":null,"version":null,"sidebarTitle":"List pinterest boards","openapi":"/openapi.json get /social-accounts/{account}/boards","href":"/api-reference/social-accounts/list-pinterest-boards"},{"title":"Criar pasta do Pinterest","deprecated":null,"version":null,"sidebarTitle":"Create pinterest board","openapi":"/openapi.json post /social-accounts/{account}/boards","href":"/api-reference/social-accounts/create-pinterest-board"},{"title":"Listar canais do Discord","deprecated":null,"version":null,"sidebarTitle":"List discord channels","openapi":"/openapi.json get /social-accounts/{account}/channels","href":"/api-reference/social-accounts/list-discord-channels"},{"title":"Ver dados de criador do TikTok","deprecated":null,"version":null,"sidebarTitle":"Get tiktok creator info","openapi":"/openapi.json get /social-accounts/{account}/tiktok-creator-info","href":"/api-reference/social-accounts/get-tiktok-creator-info"}]},{"group":"Canais","pages":[{"title":"Ver horários de postagem","deprecated":null,"version":null,"sidebarTitle":"Get posting schedule","openapi":"/openapi.json get /channels/{account}/posting-schedule","href":"/api-reference/channels/get-posting-schedule"},{"title":"Atualizar horários de postagem","deprecated":null,"version":null,"sidebarTitle":"Update posting schedule","openapi":"/openapi.json put /channels/{account}/posting-schedule","href":"/api-reference/channels/update-posting-schedule"},{"title":"Gerar horários de postagem","deprecated":null,"version":null,"sidebarTitle":"Generate posting schedule","openapi":"/openapi.json post /channels/{account}/posting-schedule/generate","href":"/api-reference/channels/generate-posting-schedule"},{"title":"Copiar horários de postagem","deprecated":null,"version":null,"sidebarTitle":"Copy posting schedule","openapi":"/openapi.json post /channels/{account}/posting-schedule/copy","href":"/api-reference/channels/copy-posting-schedule"},{"title":"Listar horários livres da fila","deprecated":null,"version":null,"sidebarTitle":"List free queue slots","openapi":"/openapi.json get /channels/{account}/queue/slots","href":"/api-reference/channels/list-free-queue-slots"},{"title":"Reordenar a fila","deprecated":null,"version":null,"sidebarTitle":"Reorder queue","openapi":"/openapi.json put /channels/{account}/queue/order","href":"/api-reference/channels/reorder-queue"},{"title":"Mover post para um horário da fila","deprecated":null,"version":null,"sidebarTitle":"Move post to queue slot","openapi":"/openapi.json put /channels/{account}/queue/slot","href":"/api-reference/channels/move-post-to-queue-slot"}]},{"group":"Ideias","pages":[{"title":"Listar ideias","deprecated":null,"version":null,"sidebarTitle":"List ideas","openapi":"/openapi.json get /ideas","href":"/api-reference/ideas/list-ideas"},{"title":"Criar ideia","deprecated":null,"version":null,"sidebarTitle":"Create idea","openapi":"/openapi.json post /ideas","href":"/api-reference/ideas/create-idea"},{"title":"Excluir ideias","deprecated":null,"version":null,"sidebarTitle":"Delete ideas","openapi":"/openapi.json delete /ideas","href":"/api-reference/ideas/delete-ideas"},{"title":"Ver ideia","deprecated":null,"version":null,"sidebarTitle":"Get idea","openapi":"/openapi.json get /ideas/{idea}","href":"/api-reference/ideas/get-idea"},{"title":"Atualizar ideia","deprecated":null,"version":null,"sidebarTitle":"Update idea","openapi":"/openapi.json put /ideas/{idea}","href":"/api-reference/ideas/update-idea"},{"title":"Excluir ideia","deprecated":null,"version":null,"sidebarTitle":"Delete idea","openapi":"/openapi.json delete /ideas/{idea}","href":"/api-reference/ideas/delete-idea"},{"title":"Duplicar ideia","deprecated":null,"version":null,"sidebarTitle":"Duplicate idea","openapi":"/openapi.json post /ideas/{idea}/duplicate","href":"/api-reference/ideas/duplicate-idea"},{"title":"Mover ideia","deprecated":null,"version":null,"sidebarTitle":"Move idea","openapi":"/openapi.json put /ideas/{idea}/move","href":"/api-reference/ideas/move-idea"}]},{"group":"Etapas de ideias","pages":[{"title":"Listar etapas de ideias","deprecated":null,"version":null,"sidebarTitle":"List idea stages","openapi":"/openapi.json get /idea-stages","href":"/api-reference/idea-stages/list-idea-stages"},{"title":"Criar etapa de ideias","deprecated":null,"version":null,"sidebarTitle":"Create idea stage","openapi":"/openapi.json post /idea-stages","href":"/api-reference/idea-stages/create-idea-stage"},{"title":"Reordenar etapas de ideias","deprecated":null,"version":null,"sidebarTitle":"Reorder idea stages","openapi":"/openapi.json put /idea-stages/order","href":"/api-reference/idea-stages/reorder-idea-stages"},{"title":"Atualizar etapa de ideias","deprecated":null,"version":null,"sidebarTitle":"Update idea stage","openapi":"/openapi.json put /idea-stages/{ideaStage}","href":"/api-reference/idea-stages/update-idea-stage"},{"title":"Excluir etapa de ideias","deprecated":null,"version":null,"sidebarTitle":"Delete idea stage","openapi":"/openapi.json delete /idea-stages/{ideaStage}","href":"/api-reference/idea-stages/delete-idea-stage"}]},{"group":"Análises","pages":[{"title":"Ver métricas do workspace","description":"Retorna o relatório de análises do workspace para um período, comparado com o período anterior de mesmo tamanho: resumo, seguidores, posts por intervalo, melhores posts, desempenho por canal e cobertura da coleta. Os dias são dias corridos no fuso horário do usuário dono da chave de API (Ajustes, Preferências), e os intervalos semanais começam no início de semana desse usuário. Com `custom` (ou `start`/`end` sem `range`), as datas são limitadas aos dias com dados no escopo (`bounds`). Sem nenhum dado ainda, as datas são ignoradas e os últimos 30 dias são retornados. Sem `end`, vale o último dia com dados; sem `start`, 29 dias antes de `end`. Veja em `range` na resposta os dias realmente usados. O relatório usa as análises que o PostClean já coletou das redes, não dados ao vivo. LinkedIn, páginas do LinkedIn, Telegram, Discord e Google Business ficam de fora.","deprecated":null,"version":null,"sidebarTitle":"Get workspace analytics","openapi":"/openapi.json get /analytics","href":"/api-reference/analytics/get-workspace-analytics"},{"title":"Ver métricas de uma publicação","deprecated":null,"version":null,"sidebarTitle":"Get publication analytics","openapi":"/openapi.json get /analytics/publications/{publication}","href":"/api-reference/analytics/get-publication-analytics"},{"title":"Ver insights do canal","description":"Retorna os insights de um canal para um período: as métricas que ele informa, o resumo e as séries de métricas do período e do período anterior. Os dias são dias corridos no fuso horário do usuário dono da chave de API. Etiquetas, `untagged` e tipos filtram as métricas de posts; os seguidores continuam valendo para a conta inteira. Canais do LinkedIn, páginas do LinkedIn, Telegram, Discord e Google Business não têm insights e retornam `404`. Com `custom` (ou `start`/`end` sem `range`), as datas são limitadas aos dias com dados deste canal (`summary.bounds`). Sem nenhum dado ainda, as datas são ignoradas e os últimos 30 dias são retornados. Sem `end`, vale o último dia com dados; sem `start`, 29 dias antes de `end`. Veja em `filters.start` e `filters.end` na resposta os dias realmente usados.","deprecated":null,"version":null,"sidebarTitle":"Get channel insights","openapi":"/openapi.json get /channels/{account}/insights","href":"/api-reference/analytics/get-channel-insights"},{"title":"Listar desempenho dos posts do canal","deprecated":null,"version":null,"sidebarTitle":"List channel post performance","openapi":"/openapi.json get /channels/{account}/insights/publications","href":"/api-reference/analytics/list-channel-post-performance"}]},{"group":"Etiquetas","pages":[{"title":"Listar etiquetas","deprecated":null,"version":null,"sidebarTitle":"List labels","openapi":"/openapi.json get /labels","href":"/api-reference/labels/list-labels"},{"title":"Criar etiqueta","deprecated":null,"version":null,"sidebarTitle":"Create label","openapi":"/openapi.json post /labels","href":"/api-reference/labels/create-label"},{"title":"Atualizar etiqueta","deprecated":null,"version":null,"sidebarTitle":"Update label","openapi":"/openapi.json put /labels/{label}","href":"/api-reference/labels/update-label"},{"title":"Excluir etiqueta","deprecated":null,"version":null,"sidebarTitle":"Delete label","openapi":"/openapi.json delete /labels/{label}","href":"/api-reference/labels/delete-label"}]},{"group":"Assinaturas","pages":[{"title":"Listar assinaturas","deprecated":null,"version":null,"sidebarTitle":"List signatures","openapi":"/openapi.json get /signatures","href":"/api-reference/signatures/list-signatures"},{"title":"Criar assinatura","deprecated":null,"version":null,"sidebarTitle":"Create signature","openapi":"/openapi.json post /signatures","href":"/api-reference/signatures/create-signature"},{"title":"Atualizar assinatura","deprecated":null,"version":null,"sidebarTitle":"Update signature","openapi":"/openapi.json put /signatures/{signature}","href":"/api-reference/signatures/update-signature"},{"title":"Excluir assinatura","deprecated":null,"version":null,"sidebarTitle":"Delete signature","openapi":"/openapi.json delete /signatures/{signature}","href":"/api-reference/signatures/delete-signature"}]},{"group":"Workspace","pages":[{"title":"Ver workspace","deprecated":null,"version":null,"sidebarTitle":"Get workspace","openapi":"/openapi.json get /workspace","href":"/api-reference/workspace/get-workspace"}]},{"group":"Chaves de API","pages":[{"title":"Listar chaves de API","deprecated":null,"version":null,"sidebarTitle":"List api keys","openapi":"/openapi.json get /api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Criar chave de API","deprecated":null,"version":null,"sidebarTitle":"Create api key","openapi":"/openapi.json post /api-keys","href":"/api-reference/api-keys/create-api-key"},{"title":"Excluir chave de API","deprecated":null,"version":null,"sidebarTitle":"Delete api key","openapi":"/openapi.json delete /api-keys/{apiToken}","href":"/api-reference/api-keys/delete-api-key"}]},{"group":"Webhooks","pages":[{"title":"Listar webhooks","deprecated":null,"version":null,"sidebarTitle":"List webhooks","openapi":"/openapi.json get /webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Criar webhook","deprecated":null,"version":null,"sidebarTitle":"Create webhook","openapi":"/openapi.json post /webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"Ver webhook","deprecated":null,"version":null,"sidebarTitle":"Get webhook","openapi":"/openapi.json get /webhooks/{webhook}","href":"/api-reference/webhooks/get-webhook"},{"title":"Atualizar webhook","deprecated":null,"version":null,"sidebarTitle":"Update webhook","openapi":"/openapi.json put /webhooks/{webhook}","href":"/api-reference/webhooks/update-webhook"},{"title":"Excluir webhook","deprecated":null,"version":null,"sidebarTitle":"Delete webhook","openapi":"/openapi.json delete /webhooks/{webhook}","href":"/api-reference/webhooks/delete-webhook"},{"title":"Listar registros do webhook","deprecated":null,"version":null,"sidebarTitle":"List webhook logs","openapi":"/openapi.json get /webhooks/{webhook}/logs","href":"/api-reference/webhooks/list-webhook-logs"},{"title":"Reenviar entrega do webhook","deprecated":null,"version":null,"sidebarTitle":"Replay webhook log","openapi":"/openapi.json post /webhooks/{webhook}/logs/{webhookLog}/replay","href":"/api-reference/webhooks/replay-webhook-log"},{"title":"Trocar segredo do webhook","deprecated":null,"version":null,"sidebarTitle":"Rotate webhook secret","openapi":"/openapi.json post /webhooks/{webhook}/rotate-secret","href":"/api-reference/webhooks/rotate-webhook-secret"},{"title":"Enviar teste do webhook","deprecated":null,"version":null,"sidebarTitle":"Send webhook test","openapi":"/openapi.json post /webhooks/{webhook}/send-test","href":"/api-reference/webhooks/send-webhook-test"}]},{"group":"Repost","pages":[{"title":"Listar formatos de origem do repurpose","deprecated":null,"version":null,"sidebarTitle":"List repurpose source formats","openapi":"/openapi.json get /repurpose-source-formats","href":"/api-reference/repurposes/list-repurpose-source-formats"},{"title":"Listar repurposes","deprecated":null,"version":null,"sidebarTitle":"List repurposes","openapi":"/openapi.json get /repurposes","href":"/api-reference/repurposes/list-repurposes"},{"title":"Criar repurpose","deprecated":null,"version":null,"sidebarTitle":"Create repurpose","openapi":"/openapi.json post /repurposes","href":"/api-reference/repurposes/create-repurpose"},{"title":"Ver repurpose","deprecated":null,"version":null,"sidebarTitle":"Get repurpose","openapi":"/openapi.json get /repurposes/{repurpose}","href":"/api-reference/repurposes/get-repurpose"},{"title":"Atualizar repurpose","deprecated":null,"version":null,"sidebarTitle":"Update repurpose","openapi":"/openapi.json put /repurposes/{repurpose}","href":"/api-reference/repurposes/update-repurpose"},{"title":"Excluir repurpose","deprecated":null,"version":null,"sidebarTitle":"Delete repurpose","openapi":"/openapi.json delete /repurposes/{repurpose}","href":"/api-reference/repurposes/delete-repurpose"},{"title":"Ativar repurpose","deprecated":null,"version":null,"sidebarTitle":"Activate repurpose","openapi":"/openapi.json post /repurposes/{repurpose}/activate","href":"/api-reference/repurposes/activate-repurpose"},{"title":"Desativar repurpose","deprecated":null,"version":null,"sidebarTitle":"Disable repurpose","openapi":"/openapi.json post /repurposes/{repurpose}/disable","href":"/api-reference/repurposes/disable-repurpose"},{"title":"Listar itens do repurpose","deprecated":null,"version":null,"sidebarTitle":"List repurpose items","openapi":"/openapi.json get /repurposes/{repurpose}/items","href":"/api-reference/repurposes/list-repurpose-items"},{"title":"Pausar repurpose","deprecated":null,"version":null,"sidebarTitle":"Pause repurpose","openapi":"/openapi.json post /repurposes/{repurpose}/pause","href":"/api-reference/repurposes/pause-repurpose"},{"title":"Retomar repurpose","deprecated":null,"version":null,"sidebarTitle":"Resume repurpose","openapi":"/openapi.json post /repurposes/{repurpose}/resume","href":"/api-reference/repurposes/resume-repurpose"}]},{"group":"Plataforma","pages":[{"title":"Listar tipos de conteúdo","deprecated":null,"version":null,"sidebarTitle":"List content types","openapi":"/openapi.json get /content-types","href":"/api-reference/platform/list-content-types"}]}]},{"tab":"Construa com IA","icon":"microchip-ai","pages":[{"title":"Construa com IA","href":"/ai/introduction"}]},{"tab":"Base de conhecimento","icon":"book","pages":[{"title":"Base de conhecimento","href":"/knowledge-base/introduction"}]}]},"basePath":"","title":"Ver métricas de uma publicação - PostClean Docs","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}