Skip to main content

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

Access is per agent: grant the connection to each agent that needs it, choosing per tool what runs freely, what needs human approval, and what stays blocked — a read-only agent is a single grant. Organization rules add guardrails on top, like rate limits and blanket blocks. Everything is checked before credential injection, so a blocked request never reaches Confluence.