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.
MCP tool: search_teams
Searches for teams using Thena’s powerful search API with advanced filtering capabilities. This tool allows you to find teams based on various criteria including name, team UID, and other team properties.
Example prompt
Response fields
The response will contain aresult object with the following structure:
| Field | Type | Description |
|---|---|---|
| found | number | Total number of teams found |
| hits | array | Array of team objects matching the search criteria |
| page | number | Current page number |
| facet_counts | array | Facet counts for search results |
| request_params | object | Parameters used for the search request |
| search_cutoff | boolean | Whether the search was cut off due to limits |
Team object fields
Each team in thehits array contains a document object with the following fields:
| Field | Type | Description |
|---|---|---|
| id | string | Team unique identifier |
| name | string | Team name |
| icon | string | Team icon |
| color | string | Team color (RGB format) |
| identifier | string | Team identifier/code |
| description | string | Team description |
| teamOwner | string | Team owner name |
| teamOwnerId | string | Team owner ID |
| isActive | boolean | Whether the team is active |
| isPrivate | boolean | Whether the team is private |
| createdAt | string (ISO8601) | Team creation timestamp |
| updatedAt | string (ISO8601) | Last update timestamp |
| ticketTypes | array | Available ticket types for this team |
| tags | array | Team tags |
| priorities | array | Available ticket priorities |
| sentiments | array | Available ticket sentiments |
| statuses | array | Available ticket statuses |
| forms | array | Team forms |
| subTeams | array | Sub-teams |
| ticketFields | array | Custom ticket fields |
| isDefaultTeam | boolean | Whether this is the default team |
| ticketSources | array | Available ticket sources |
Nested object fields
Ticket Types:id: Ticket type IDname: Ticket type nameicon: Ticket type iconcolor: Ticket type colorautoAssign: Whether tickets auto-assign
id: Priority IDname: Priority namedescription: Priority descriptionisDefault: Whether this is the default priority
id: Sentiment IDname: Sentiment nameisDefault: Whether this is the default sentiment
id: Status IDname: Status namedescription: Status descriptionisDefault: Whether this is the default status
id: Form IDname: Form namedescription: Form descriptionfields: Array of form fields
label: Source labelvalue: Source value
Sample response
Notes
- Only authorized users can access this tool; results are scoped to the user’s organization.
- The search API supports full-text search on team names using ILike pattern matching.
- Team UID searches require exact matches.
- Filters can be combined using AND or OR logic for complex queries.
- Boolean filters use true/false values.
- The search is case-insensitive for text fields.
- Results are paginated with a maximum of 250 items per page.
- Use the
rangeoperator for date ranges (e.g., “[2024-01-01..2024-12-31]”).