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

# List Canvases In Team

> List the canvases you can view in a team, newest first. Without `parent_id`, lists every canvas in the team outside the trash.



## OpenAPI

````yaml /api-reference/openapi.json get /canvases
openapi: 3.1.0
info:
  title: Aspect API
  description: Manage and search media in Aspect.
  version: 1.0.0
servers:
  - url: https://api.aspect.inc
security:
  - ApiKeyAuth: []
tags:
  - name: Users
  - name: API Keys
  - name: Workspaces
  - name: Teams
  - name: Directories
  - name: Assets
  - name: Attachments
  - name: Filesystem Items
  - name: Collections
  - name: Canvases
  - name: Comments
  - name: Search
  - name: Transcription
  - name: Metadata
  - name: Shares
  - name: Share Templates
  - name: Watermarks
paths:
  /canvases:
    get:
      tags:
        - Canvases
      summary: List Canvases In Team
      description: >-
        List the canvases you can view in a team, newest first. Without
        `parent_id`, lists every canvas in the team outside the trash.
      operationId: list_canvases_in_team
      parameters:
        - name: team_id
          in: query
          required: true
          schema:
            type: string
            format: uuid
            title: Team Id
            description: Team ID
          description: Team ID
        - name: parent_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            description: Directory ID; lists only the canvases directly in it
            title: Parent Id
          description: Directory ID; lists only the canvases directly in it
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CanvasResponse'
                title: Response List Canvases In Team Canvases Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CanvasResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: Canvas ID
        name:
          type: string
          title: Name
          description: Canvas name
        created_by_user_id:
          type: string
          format: uuid
          title: Created By User Id
          description: User who created this canvas
        team_id:
          type: string
          format: uuid
          title: Team Id
          description: Team ID
        parent_id:
          type: string
          format: uuid
          title: Parent Id
          description: ID of the directory the canvas is in
        created:
          type: string
          format: date-time
          title: Created
          description: Creation timestamp
        updated:
          type: string
          format: date-time
          title: Updated
          description: Last update timestamp
      type: object
      required:
        - id
        - name
        - created_by_user_id
        - team_id
        - parent_id
        - created
        - updated
      title: CanvasResponse
      description: API response schema for a canvas
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Aspect API key (sk_...) in Authorization header. 'Bearer ' optional.

````

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