> For the complete documentation index, see [llms.txt](https://docs.go-atlassian.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.go-atlassian.io/confluence-cloud/introduction.md).

# Introduction

The *go-atlassian* `confluence` module provides a set of functions and types for interacting with the Jira Service Management REST API. It  enables you to create, retrieve, update, and delete various types of content within Confluence, manage spaces, access version information, and perform searches.

1. **Content**: The Content API allows you to manage the content within Confluence Cloud. You can create, retrieve, update, and delete pages, blog posts, comments, attachments, and more. You can also perform actions such as moving or copying content within Confluence.
2. **Spaces**: The Spaces API provides functionality to manage spaces within Confluence Cloud. You can create, retrieve, update, and delete spaces, as well as manage permissions and restrictions associated with them. Spaces are essentially containers for organizing and categorizing content in Confluence.
3. **Versions**: The Versions API allows you to work with version information related to content in Confluence Cloud. You can retrieve version details, compare versions, and perform actions such as reverting to previous versions or deleting versions.
4. **Search**: The Search API enables you to perform powerful searches within Confluence Cloud. You can search for specific content, spaces, or attachments using various criteria like keywords, labels, authors, and more. The API provides flexibility to refine search results and retrieve relevant information.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.go-atlassian.io/confluence-cloud/introduction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
