tickets/get-ticket reads a single ticket: price, sale window, which provider sells it, and the whole capacity model rather than a headline number.
It is the confirmation read before changing anything about that ticket.
At a glance
| Ability | tickets/get-ticket |
| Toolset | Event Tickets — toolset/event-tickets |
| Group | Event Tickets › Tickets |
| Requires | Event Tickets, active on the site |
| Capability | manage_options |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
How it works
The provider matters when you intend to write. A ticket sold through WooCommerce behaves differently from one sold through Tickets Commerce, and some fields belong to the provider rather than to Event Tickets.
The sale window is two dates, and a ticket outside its window is simply not purchasable — which is the answer to a surprising share of “the ticket is not showing” reports.
Capacity here is the ticket’s own view. If the mode is global or capped, the number that actually governs sales lives on the event.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
ticket_id | integer | Yes | The ticket ID. |
What comes back
| Name | Type | What it is |
|---|---|---|
ticket | object | Name, description, price, provider, sale window, capacity, mode, stock, sold and pending. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation. |
Example
Ask your assistant:
What’s the price and sale window on ticket 980?
It resolves to one call:
{
"ability": "tickets/get-ticket",
"parameters": {
"ticket_id": 980
}
}Worth knowing
- A ticket outside its sale window does not appear to buyers. Check the dates before debugging anything else.
- Capacity here is the ticket’s own. Shared-pool tickets are governed at event level.
- Read this before
tickets/update-ticketso the write is idempotent.
Related abilities
- Update Ticket — change it
- List Tickets — every ticket on the post
- Set Ticket Capacity — change capacity alone
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category