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

# Get Team

> Get a team metadata

Retrieve detailed metadata about your team, including team name, member count, subscription information, and team settings. This endpoint provides a comprehensive overview of your team's configuration and current state.

## Response Information

The response includes:

* Team ID and name
* Team owner information
* Member count and list
* Subscription tier and limits
* Team settings and preferences
* Creation and last updated timestamps

<Note>
  You must provide a valid `X-Team-Id` header to retrieve team information. The Team ID can be found at [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team).
</Note>

<Tip>
  This is a read-only operation and can be safely called frequently for dashboard updates or access verification.
</Tip>


## OpenAPI

````yaml get /v1/user/team
openapi: 3.1.0
info:
  title: PDCP API
  version: '1.0'
  summary: ProjectDiscovery Cloud Platform
  description: >-
    For more details, checkout
    https://docs.projectdiscovery.io/api-reference/editor/scan
servers:
  - url: https://api.projectdiscovery.io
    description: Production
  - url: https://api.dev.projectdiscovery.io
    description: Development
  - url: http://localhost:8085
    description: Localhost
security:
  - X-API-Key: []
paths:
  /v1/user/team:
    get:
      tags:
        - internal
      summary: Get Team
      description: Get a team metadata
      operationId: get-v1-user-team
      parameters:
        - schema:
            type: string
          in: header
          description: >-
            Retrieve the Team ID from:
            https://cloud.projectdiscovery.io/settings/team
          name: X-Team-Id
      responses:
        '200':
          $ref: '#/components/responses/GetTeamResponse'
        '401':
          $ref: '#/components/responses/MessageResponse'
        '403':
          $ref: '#/components/responses/MessageResponse'
        '500':
          $ref: '#/components/responses/MessageResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
        - X-API-Key: []
components:
  responses:
    GetTeamResponse:
      description: Get the workspace details
      content:
        application/json:
          schema:
            type: object
            properties:
              workspaces:
                type: array
                items:
                  $ref: '#/components/schemas/WorkspaceItem'
              message:
                type: string
              name:
                type: string
            required:
              - message
    MessageResponse:
      description: Example response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
            required:
              - message
    ErrorResponse:
      description: Example response
      content:
        application/json:
          schema:
            type: object
            required:
              - message
            properties:
              message:
                type: string
              kind:
                type: string
              code:
                type: string
              error:
                type: string
              error_id:
                type: string
              param:
                type: string
              status:
                type: integer
  schemas:
    WorkspaceItem:
      title: TeamMemberItem
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        created_at:
          type: string
        member_count:
          type: integer
        owner_email:
          type: string
      required:
        - id
        - name
        - created_at
        - member_count
        - owner_email
  securitySchemes:
    X-API-Key:
      name: X-API-Key
      type: apiKey
      in: header

````