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

# Get Projects



## OpenAPI

````yaml GET /user/projects/
openapi: 3.1.0
info:
  title: Onyx API
  description: Onyx API for AI-powered enterprise search and chat
  version: Development
servers:
  - url: https://cloud.onyx.app/api
security: []
paths:
  /user/projects/:
    get:
      tags:
        - public
      summary: Get Projects
      operationId: get_projects
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserProjectSnapshot'
                title: Response Get Projects User Projects  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    UserProjectSnapshot:
      properties:
        id:
          type: integer
          title: Id
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        created_at:
          type: string
          format: date-time
          title: Created At
        user_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: User Id
        instructions:
          anyOf:
            - type: string
            - type: 'null'
          title: Instructions
        chat_sessions:
          items:
            $ref: '#/components/schemas/ChatSessionDetails'
          type: array
          title: Chat Sessions
      type: object
      required:
        - id
        - name
        - description
        - created_at
        - user_id
        - chat_sessions
      title: UserProjectSnapshot
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ChatSessionDetails:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        persona_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Persona Id
        time_created:
          type: string
          title: Time Created
        time_updated:
          type: string
          title: Time Updated
        shared_status:
          $ref: '#/components/schemas/ChatSessionSharedStatus'
        current_alternate_model:
          anyOf:
            - type: string
            - type: 'null'
          title: Current Alternate Model
        current_temperature_override:
          anyOf:
            - type: number
            - type: 'null'
          title: Current Temperature Override
      type: object
      required:
        - id
        - name
        - time_created
        - time_updated
        - shared_status
      title: ChatSessionDetails
    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
    ChatSessionSharedStatus:
      type: string
      enum:
        - public
        - private
      title: ChatSessionSharedStatus
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Authorization header with Bearer token

````