Documentation Index
Fetch the complete documentation index at: https://docs.thena.ai/llms.txt
Use this file to discover all available pages before exploring further.
Retrieves all possible statuses for tickets in the Thena platform, optionally filtered by team. Useful for building status dropdowns, validating ticket state transitions, or analytics.
Example prompt
Show me all ticket statuses for team T88WCYYHPS
Example prompt (all statuses, no teamId)
Show me all ticket statuses
| Name | Type | Required | Description |
|---|
| teamId | string | No | The team ID to fetch ticket statuses for |
Response fields
Below are the fields you may see in a ticket status result:
| Field | Type | Description |
|---|
| id | string | Unique status ID |
| name | string | Status name (e.g., “Open”) |
| displayName | string | Display name for the status |
| description | string | Description of the status |
| isDefault | boolean | Whether this is the default status |
| teamId | string | Team ID this status belongs to |
| organizationId | string | Organization ID this status belongs to |
| createdAt | string (ISO8601) | Creation timestamp |
| updatedAt | string (ISO8601) | Last update timestamp |
Other top-level fields in the response:
| Field | Type | Description |
|---|
| data | array | List of ticket status objects |
| status | boolean | Whether the request was successful |
| message | string | Status message |
| timestamp | string | Time the response was generated (ISO8601) |
Sample response
{
"data": [
{
"id": "XKNKDHSJ1058098FSEG2NHBSD19BT",
"name": "Open",
"displayName": "Open",
"description": "Tickets that are open and awaiting prioritization.",
"isDefault": true,
"teamId": "T88WCYYHPS",
"organizationId": "EYYYXCC853",
"createdAt": "2025-04-23T13:32:45.551Z",
"updatedAt": "2025-04-23T13:32:45.551Z"
},
{
"id": "XKNKDHSJ10YZXC0EMG11F7TQWZRQS",
"name": "In progress",
"displayName": "In progress",
"description": "Tickets that are currently in progress and being worked on.",
"isDefault": false,
"teamId": "T88WCYYHPS",
"organizationId": "EYYYXCC853",
"createdAt": "2025-04-23T13:32:45.551Z",
"updatedAt": "2025-04-23T13:32:45.551Z"
},
{
"id": "XKNKDHSJ10MD9M1JQTKJGXFJK836Q",
"name": "On hold",
"displayName": "On hold",
"description": "Tickets that are currently on hold.",
"isDefault": false,
"teamId": "T88WCYYHPS",
"organizationId": "EYYYXCC853",
"createdAt": "2025-04-23T13:32:45.551Z",
"updatedAt": "2025-04-23T13:32:45.551Z"
},
{
"id": "XKNKDHSJ10ZXBHEXAEPG2KZZSX8JN",
"name": "Closed",
"displayName": "Closed",
"description": "Tickets that are closed or resolved.",
"isDefault": false,
"teamId": "T88WCYYHPS",
"organizationId": "EYYYXCC853",
"createdAt": "2025-04-23T13:32:45.551Z",
"updatedAt": "2025-04-23T13:32:45.551Z"
}
],
"status": true,
"message": "Ticket statuses fetched successfully!",
"timestamp": "2025-07-24T07:13:55.252Z"
}