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

# Tickets

- [List tickets](https://docs.harmony.io/api-references/tickets/list-tickets.md): Lists tickets with optional filtering and pagination
- [Create a new ticket](https://docs.harmony.io/api-references/tickets/create-ticket.md): Creates a new support ticket in the system
- [Get a ticket by ID](https://docs.harmony.io/api-references/tickets/get-ticket.md): Retrieve details of a specific ticket
- [Update a ticket](https://docs.harmony.io/api-references/tickets/update-ticket.md): Update an existing ticket
- [Query tickets with filters](https://docs.harmony.io/api-references/tickets/query-tickets.md): Query tickets with complex filtering including metadata filters
- [Bulk update tickets](https://docs.harmony.io/api-references/tickets/bulk-update.md): Update multiple tickets with the same values in a single atomic transaction
- [Get ticket activity](https://docs.harmony.io/api-references/tickets/get-activity.md): Get activity log events for a specific ticket
- [List ticket messages](https://docs.harmony.io/api-references/tickets/list-ticket-messages.md): Lists the conversation messages on a ticket, with page-based pagination
- [Add a ticket message](https://docs.harmony.io/api-references/tickets/create-ticket-message.md): Adds a reply or internal note to a ticket
- [Add a watcher](https://docs.harmony.io/api-references/tickets/add-watcher.md): Adds a watcher who is notified about ticket updates
- [Remove a watcher](https://docs.harmony.io/api-references/tickets/remove-watcher.md): Removes a watcher from a ticket
- [Get ticket custom fields](https://docs.harmony.io/api-references/tickets/get-ticket-custom-fields.md): Returns the custom field values set on a ticket
- [Set ticket custom fields](https://docs.harmony.io/api-references/tickets/set-ticket-custom-fields.md): Sets custom field values on a ticket
- [List ticket links](https://docs.harmony.io/api-references/tickets/list-ticket-links.md): Returns the tickets linked to a ticket (related, duplicates, caused by and so on)
- [Add ticket links](https://docs.harmony.io/api-references/tickets/add-ticket-links.md): Links other tickets to a ticket, keeping existing links
- [Remove ticket links](https://docs.harmony.io/api-references/tickets/remove-ticket-links.md): Removes links from a ticket, keeping all other links


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.harmony.io/api-references/tickets.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
