Skip to main content

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

OneCLI connects AI agents to Confluence through Atlassian’s OAuth flow. Agents can search your wiki, read page content, and create or update pages. The gateway injects OAuth credentials into requests to the Confluence REST API automatically. This is useful for agents that need to look up internal documentation, publish meeting notes, or maintain technical docs alongside code changes.

Setup

1

Go to Connections

Open the OneCLI dashboard and navigate to Connections > Confluence.
2

Authorize

Click Connect Confluence. You’ll be redirected to Atlassian to authorize OneCLI. Select the Confluence site to connect and click Accept.

What agents can do

  • Search across all spaces using CQL (Confluence Query Language) with filters for space, type, label, and contributor
  • Read the full content of a page (text, tables, macros, attachments)
  • Create new pages in a specified space with formatted content
  • Update existing page content
  • Add and read comments on pages
  • List spaces and their pages
  • Read page metadata (author, last modified, version, labels)
  • Add and remove labels on pages
  • Upload and download attachments
  • Read and manage page hierarchies (parent/child relationships)

Controlling access with rules

Use OneCLI’s rules engine to limit what agents can do in Confluence. For example, you can allow read-only access so agents can search and read but not create or modify pages, or restrict access to specific spaces. Rules are evaluated before credential injection, so a blocked request never reaches Confluence.