> For the complete documentation index, see [llms.txt](https://help.swarmia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.swarmia.com/data-model/entities/organization/team.md).

# Team

Teams represent your organization structure and are the owners of other entities like issues and pull requests.

Teams represent your organization structure and are the owners of other entities like issues and pull requests.

## Properties

### ID

`id` - [uuid](https://help.swarmia.com/data-model/types/uuid.md)

ID of the team.

### Is leaf team

`isLeafTeam` - [boolean](https://help.swarmia.com/data-model/types/boolean.md)

Whether the team is a leaf team (has no child teams in the hierarchy).

### Name

`name` - [text](https://help.swarmia.com/data-model/types/text.md)

Name of the team.

### Timestamp

`timestamp` - [timestamp](https://help.swarmia.com/data-model/types/timestamp.md)

Creation time of the team.

## Relations

### AI assistant activities

`aiAssistantWeeklySnapshots` - [AI assistant usage weekly snapshot](https://help.swarmia.com/data-model/entities/ai-tools/author-ai-assistant-weekly-snapshot.md) (many)

AI assistant activities, snapshotted over time, for members of this team.

### AI daily costs

`aiDailyCosts` - [AI daily cost](https://help.swarmia.com/data-model/entities/ai-tools/ai-daily-cost.md) (many)

Daily cost records for AI tools, for members of this team.

### Claude Code daily metrics

`claudeCodeMetricsDailySnapshots` - [Claude Code daily metrics](https://help.swarmia.com/data-model/entities/ai-tools/claude-code-metrics-daily-snapshot.md) (many)

Daily Claude Code usage metrics for members of this team.

### Cursor daily metrics

`cursorMetricsDailySnapshots` - [Cursor daily metrics](https://help.swarmia.com/data-model/entities/ai-tools/cursor-metrics-daily-snapshot.md) (many)

Daily Cursor usage metrics for members of this team.

### Daily effort total

`effortDailyTotals` - [Daily effort total](https://help.swarmia.com/data-model/entities/investment-and-effort/effort-daily-total.md) (many)

Daily full-time-equivalent values for team members, one per member per day.

### GitHub Copilot daily metrics

`githubCopilotUserMetricsDailySnapshots` - [GitHub Copilot daily metrics](https://help.swarmia.com/data-model/entities/ai-tools/github-copilot-user-metrics-daily-snapshot.md) (many)

GitHub Copilot per-user metrics, snapshotted over time, for members of this team.

### GitHub Copilot daily metrics by IDE

`githubCopilotUserIdeMetricsDailySnapshots` - [GitHub Copilot daily metrics by IDE](https://help.swarmia.com/data-model/entities/ai-tools/github-copilot-user-ide-metrics-daily-snapshot.md) (many)

GitHub Copilot per-user IDE metrics, snapshotted over time, for members of this team.

### Members

`members` - [Author](https://help.swarmia.com/data-model/entities/organization/author.md) (many)

Members of the team.

### Memberships

`memberships` - [Team membership](https://help.swarmia.com/data-model/entities/organization/team-membership.md) (many)

Author membership periods for this team, including memberships inherited from descendant teams.

### Monthly effort

`effortMonthlies` - [Monthly effort](https://help.swarmia.com/data-model/entities/investment-and-effort/effort-monthly.md) (many)

Monthly effort estimates for team members, representing the distribution of effort across issues and pull requests per month.

### Owned agent reviews

`ownedAgentReviews` - [Pull request agent review](https://help.swarmia.com/data-model/entities/ai-tools/pull-request-agent-review.md) (many)

AI review agent reviews on pull requests owned by the team.

### Owned deployments

`ownedDeployments` - [Deployment](https://help.swarmia.com/data-model/entities/deployments-and-ci/deployment.md) (many)

Deployments that include pull requests owned by this team.

### Owned enrichments

`ownedEnrichments` - [Enrichment](https://help.swarmia.com/data-model/entities/other/enrichment.md) (many)

Enrichments attached to the issues and pull requests owned by the team.

### Owned initiatives

`ownedInitiatives` - [Initiative](https://help.swarmia.com/data-model/entities/issues/initiative.md) (many)

Initiatives containing issues owned by the team or its child teams.

### Owned issue sprint periods

`ownedIssueSprintPeriods` - [Issue sprint period](https://help.swarmia.com/data-model/entities/issues/issue-sprint-period.md) (many)

Issue sprint periods in sprints owned by this team.

### Owned issues

`ownedIssues` - [Issue](https://help.swarmia.com/data-model/entities/issues/issue.md) (many)

Issues owned by the team.

### Owned pull requests

`ownedPullRequests` - [Pull request](https://help.swarmia.com/data-model/entities/code/pull-request.md) (many)

Pull requests owned by the team.

### Owned sprints

`ownedSprints` - [Sprint](https://help.swarmia.com/data-model/entities/issues/sprint.md) (many)

Sprints owned by the team.

### Parent team

`parentTeam` - [Team](https://help.swarmia.com/data-model/entities/organization/team.md) (zero or one)

Direct parent in the team hierarchy.

### Pull request deployments

`pullRequestDeployments` - [Pull request deployment](https://help.swarmia.com/data-model/entities/deployments-and-ci/pull-request-deployment.md) (many)

Pull request deployments for the team.

### Pull request reviews by members

`pullRequestReviewsGiven` - [Pull request review](https://help.swarmia.com/data-model/entities/code/pull-request-review.md) (many)

Pull request reviews submitted by members of the team. Respects team membership histories.

### Signal episodes

`signalEpisodes` - [Signal episode](https://help.swarmia.com/data-model/entities/agreements-and-signals/signal-episode.md) (many)

Signal episodes associated with this team.

{% hint style="info" %}
This page is automatically generated
{% endhint %}


---

# 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://help.swarmia.com/data-model/entities/organization/team.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.
