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

# Get Team

> Retrieve a single team by its ID.



## OpenAPI

````yaml /api/openapi.json get /teams/{id}/
openapi: 3.1.0
info:
  title: Craft API
  description: Public API for programmatic access to your Craft data.
  version: 1.0.0
servers:
  - url: https://data.craftflow.co/api/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /teams/{id}/:
    get:
      tags:
        - Teams
      summary: Get Team
      description: Retrieve a single team by its ID.
      operationId: getTeam
      parameters:
        - name: id
          in: path
          description: The unique identifier of the team.
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: A single team.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Team'
                required:
                  - data
              example:
                data:
                  id: c3d4e5f6-a7b8-9012-cdef-123456789012
                  name: Sales
                  description: Field sales team
                  created_at: '2025-03-01T10:00:00Z'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Team not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  detail: Not found.
components:
  schemas:
    Team:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the team.
        name:
          type: string
          description: The team's name.
        description:
          type: string
          description: A description of the team.
        created_at:
          type: string
          format: date-time
          description: When the team was created (ISO 8601).
      required:
        - id
        - name
        - description
        - created_at
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            detail:
              type: string
              description: Human-readable error message.
          required:
            - detail
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your API key, prefixed with `cf_live_`.

````