Skip to main content
The cops confluence command group provides read and validation operations against a Confluence Data Center instance. Commands use the active profile configured with cops auth login, or the profile you specify with --profile.

Quick reference

CommandDescription
cops confluence page get <pageId>Fetch page details by ID
cops confluence page content <pageId>Get page content metadata
cops confluence page by-titleFind a page by space key and title
cops confluence page searchSearch pages using CQL
cops confluence page freshness <pageId>Check whether a page was updated within a maximum age
cops confluence page checksRun existence, sections, and freshness checks on a page

Command groups

cops confluence page

Look up pages by ID or title, retrieve content metadata, search by CQL, and run release-doc health checks.

Common flags

All cops confluence subcommands accept the following flags:
FlagTypeDefaultDescription
--outputtable | json | markdowntableOutput format
--insecurebooleanfalseDisable TLS certificate validation
--profilestringactive profileOverride the active config profile
--insecure disables TLS certificate validation and exposes traffic to MITM attacks. Use it only with self-signed certificates in trusted networks.

Prerequisites

You must have a Confluence profile configured before running any cops confluence command.
cops auth login
See Auth profiles for details on setting up and managing profiles.

Build docs developers (and LLMs) love