> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Outreach: Get Team

> Get one Outreach team and its details by team ID. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Get one Outreach team and its details by team ID.

> [!NOTE]
>
> Tool ID: `outreach_get_team`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'outreach_get_team',
  {
    "id": 123
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute outreach_get_team --input '{
  "id": 123
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "data": {
      "attributes": {
        "color": "example",
        "createdAt": "2026-01-15T12:00:00Z",
        "name": "Example"
      },
      "id": 123,
      "relationships": {
        "batches": {
          "links": {}
        },
        "contentCategories": {
          "links": {}
        },
        "creator": {
          "data": {},
          "links": {}
        }
      }
    }
  }
}
```

Use `deepline describe outreach_get_team --json` for the latest machine-readable contract.

## Input reference

Get a Team by ID

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.id` | `integer` | Yes | — | — |
| `payload.include` | `string` | No | — | Comma-separated related resources to include. |
| `payload.fields` | `object` | No | — | Sparse fieldsets keyed by JSON:API resource type, sent as fields\[resource]. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Get a Team by ID",
    "properties": {
      "id": {
        "type": "integer"
      },
      "include": {
        "type": "string",
        "description": "Comma-separated related resources to include."
      },
      "fields": {
        "type": "object",
        "description": "Sparse fieldsets keyed by JSON:API resource type, sent as fields[resource].",
        "properties": {
          "account": {
            "type": "string"
          },
          "accountNote": {
            "type": "string"
          },
          "auditLog": {
            "type": "string"
          },
          "batch": {
            "type": "string"
          },
          "batchItem": {
            "type": "string"
          },
          "call": {
            "type": "string"
          },
          "callDisposition": {
            "type": "string"
          },
          "callPurpose": {
            "type": "string"
          },
          "complianceRequest": {
            "type": "string"
          },
          "contentCategory": {
            "type": "string"
          },
          "contentCategoryMembership": {
            "type": "string"
          },
          "contentCategoryOwnership": {
            "type": "string"
          },
          "customDuty": {
            "type": "string"
          },
          "duty": {
            "type": "string"
          },
          "emailAddress": {
            "type": "string"
          },
          "event": {
            "type": "string"
          },
          "favorite": {
            "type": "string"
          },
          "import": {
            "type": "string"
          },
          "kaiaRecording": {
            "type": "string"
          },
          "kaiaVoiceImport": {
            "type": "string"
          },
          "mailAlias": {
            "type": "string"
          },
          "mailbox": {
            "type": "string"
          },
          "mailing": {
            "type": "string"
          },
          "opportunity": {
            "type": "string"
          },
          "opportunityProspectRole": {
            "type": "string"
          },
          "opportunityStage": {
            "type": "string"
          },
          "orgSetting": {
            "type": "string"
          },
          "persona": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "profile": {
            "type": "string"
          },
          "prospect": {
            "type": "string"
          },
          "prospectNote": {
            "type": "string"
          },
          "purchase": {
            "type": "string"
          },
          "recipient": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "ruleset": {
            "type": "string"
          },
          "sequence": {
            "type": "string"
          },
          "sequenceState": {
            "type": "string"
          },
          "sequenceStep": {
            "type": "string"
          },
          "sequenceTemplate": {
            "type": "string"
          },
          "snippet": {
            "type": "string"
          },
          "stage": {
            "type": "string"
          },
          "task": {
            "type": "string"
          },
          "taskDisposition": {
            "type": "string"
          },
          "taskPriority": {
            "type": "string"
          },
          "taskPurpose": {
            "type": "string"
          },
          "team": {
            "type": "string"
          },
          "template": {
            "type": "string"
          },
          "user": {
            "type": "string"
          },
          "webhook": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.data` | `object` | No | — | — |
| `result.data.data.attributes` | `object` | No | — | A descriptor of a group of users. |
| `result.data.data.attributes.color` | `string \| null` | No | — | The color used to label and highlight the team. Maximum length: 255. |
| `result.data.data.attributes.createdAt` | `string \| null` | No | — | The date and time the team was created. Format: `date-time`. |
| `result.data.data.attributes.name` | `string \| null` | No | — | The name of the team (e.g. "SDRs"). Maximum length: 255. |
| `result.data.data.attributes.scimExternalId` | `string \| null` | No | — | The ID from the SCIM provisioning service used to create the team. Maximum length: 255. |
| `result.data.data.attributes.scimSource` | `string \| null` | No | — | The name of the SCIM provisioning source used to create the team. Maximum length: 255. |
| `result.data.data.attributes.updatedAt` | `string \| null` | No | — | The date and time the team was last updated. Format: `date-time`. |
| `result.data.data.id` | `integer` | No | — | — |
| `result.data.data.relationships` | `object` | No | — | — |
| `result.data.data.relationships.batches` | `object` | No | — | — |
| `result.data.data.relationships.batches.links` | `object` | No | — | — |
| `result.data.data.relationships.batches.links.related` | `string` | No | — | Format: `uri`. |
| `result.data.data.relationships.contentCategories` | `object` | No | — | The content categories that are assigned to the team. Relationship contentCategories cannot be used as a filter. |
| `result.data.data.relationships.contentCategories.data` | `array` | No | — | — |
| `result.data.data.relationships.contentCategories.data[].id` | `integer` | No | — | — |
| `result.data.data.relationships.contentCategories.data[].type` | `"contentCategory"` | No | — | Allowed: `contentCategory`. |
| `result.data.data.relationships.contentCategories.links` | `object` | No | — | — |
| `result.data.data.relationships.contentCategories.links.related` | `string` | No | — | Format: `uri`. |
| `result.data.data.relationships.creator` | `object` | No | — | The creator of the team. Relationship creator cannot be used as a filter. |
| `result.data.data.relationships.creator.data` | `object \| null` | No | — | — |
| `result.data.data.relationships.creator.data.id` | `integer` | No | — | — |
| `result.data.data.relationships.creator.data.type` | `"user"` | No | — | Allowed: `user`. |
| `result.data.data.relationships.creator.links` | `object` | No | — | — |
| `result.data.data.relationships.creator.links.related` | `string` | No | — | Format: `uri`. |
| `result.data.data.relationships.favorites` | `object` | No | — | The team favorited by the user. |
| `result.data.data.relationships.favorites.data` | `array` | No | — | — |
| `result.data.data.relationships.favorites.data[].id` | `integer` | No | — | — |
| `result.data.data.relationships.favorites.data[].type` | `"favorite"` | No | — | Allowed: `favorite`. |
| `result.data.data.relationships.favorites.links` | `object` | No | — | — |
| `result.data.data.relationships.favorites.links.related` | `string` | No | — | Format: `uri`. |
| `result.data.data.relationships.roleAssignedUsers` | `object` | No | — | — |
| `result.data.data.relationships.roleAssignedUsers.data` | `array` | No | — | — |
| `result.data.data.relationships.roleAssignedUsers.data[].id` | `integer` | No | — | — |
| `result.data.data.relationships.roleAssignedUsers.data[].type` | `"user"` | No | — | Allowed: `user`. |
| `result.data.data.relationships.roleAssignedUsers.links` | `object` | No | — | — |
| `result.data.data.relationships.roleAssignedUsers.links.related` | `string` | No | — | Format: `uri`. |
| `result.data.data.relationships.teamMemberships` | `object` | No | — | The membership info of users to the team |
| `result.data.data.relationships.teamMemberships.data` | `array` | No | — | — |
| `result.data.data.relationships.teamMemberships.data[].id` | `integer` | No | — | — |
| `result.data.data.relationships.teamMemberships.data[].type` | `"teamMembership"` | No | — | Allowed: `teamMembership`. |
| `result.data.data.relationships.teamMemberships.links` | `object` | No | — | — |
| `result.data.data.relationships.teamMemberships.links.related` | `string` | No | — | Format: `uri`. |
| `result.data.data.relationships.teamRecords` | `object` | No | — | Data records that are associated with the team. |
| `result.data.data.relationships.teamRecords.data` | `array` | No | — | — |
| `result.data.data.relationships.teamRecords.data[].id` | `integer` | No | — | — |
| `result.data.data.relationships.teamRecords.data[].type` | `"teamRecord"` | No | — | Allowed: `teamRecord`. |
| `result.data.data.relationships.teamRecords.links` | `object` | No | — | — |
| `result.data.data.relationships.teamRecords.links.related` | `string` | No | — | Format: `uri`. |

The table shows the first 50 fields. Expand the raw schema below for every field.

> [!NOTE]
>
> This output schema is too large for an inline display. Read the complete live contract with `deepline describe outreach_get_team --json`.

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Outreach provider guide](https://deepline.com/docs/providers/outreach/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.