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

# List all projects

> Lists the projects the authenticated client has access to, with optional pagination.



## OpenAPI

````yaml GET /v1/projects
openapi: 3.0.0
info:
  title: Devic.ai Public API
  description: >-
    Devic.ai is an AI platform that allows you to create, manage, and use AI
    agents for various tasks.
  version: 1.0.0
  contact:
    name: Devic.ai Support
    url: https://devic.ai
  x-logo:
    url: https://devic.ai/logo.png
    altText: Devic.ai Logo
  x-summary: Public API for interacting with Devic.ai platform
servers:
  - url: https://api.devic.ai
    description: Production server
  - url: https://staging-api.devic.ai
    description: Staging server
security:
  - bearerAuth: []
tags:
  - name: Projects
    description: Group agents, assistants, documents and costs into projects
  - name: Documents
    description: >-
      Knowledge base documents: create, version, attach and index markdown
      content for RAG
  - name: Document Folders
    description: Organise knowledge base documents into folders and attach them in bulk
  - name: Files
    description: Upload files and obtain shareable download URLs to attach to messages
  - name: Agents
    description: Endpoints related to AI agents and their operations
  - name: Assistants
    description: Endpoints for interacting with assistants and their specializations
  - name: Tool Servers
    description: Endpoints for managing tool servers and their tool definitions
  - name: Health
    description: API health check endpoints
  - name: Documentation
    description: Endpoints for retrieving markdown documentation
paths:
  /v1/projects:
    get:
      tags:
        - Projects
      summary: List all projects
      description: >-
        Lists the projects the authenticated client has access to, with optional
        pagination.
      operationId: listProjects
      parameters:
        - name: archived
          in: query
          required: false
          description: 'Include archived projects (default: false)'
          schema:
            type: boolean
            default: false
        - name: limit
          in: query
          required: false
          description: Maximum number of items to return
          schema:
            type: integer
            default: 20
            maximum: 100
        - name: offset
          in: query
          required: false
          description: Number of items to skip
          schema:
            type: integer
            default: 0
      responses:
        '200':
          description: Projects retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedProjects'
        '401':
          description: Unauthorized - Invalid or missing token
        '429':
          description: Too Many Requests - Rate limit exceeded
        '500':
          description: Internal Server Error
      security:
        - bearerAuth: []
components:
  schemas:
    PaginatedProjects:
      type: object
      properties:
        projects:
          type: array
          items:
            $ref: '#/components/schemas/Project'
        total:
          type: integer
          description: Total number of projects
    Project:
      type: object
      properties:
        _id:
          type: string
          description: Project ID
        clientUID:
          type: string
          description: Client UID
        name:
          type: string
          description: Project name
        identifier:
          type: string
          description: Unique identifier (lowercase alphanumeric with hyphens)
        description:
          type: string
          description: Project description
        imageUrl:
          type: string
          description: Project image URL
        visibility:
          type: string
          enum:
            - public
            - private
          description: Project visibility
        createdByUserUID:
          type: string
          description: UID of the user that created the project
        creationTimestampMs:
          type: integer
          format: int64
          description: Creation timestamp (ms)
        lastEditTimestampMs:
          type: integer
          format: int64
          description: Last edit timestamp (ms)
        archived:
          type: boolean
          description: Whether the project is archived
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use JWT token for authentication

````