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

# Star/unstar project

> Add or remove the authenticated user from the project's starred list



## OpenAPI

````yaml /api-reference/cx/swagger.json post /todo/project/{project}/_star
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /todo/project/{project}/_star:
    post:
      tags:
        - todo
      summary: Star/unstar project
      description: Add or remove the authenticated user from the project's starred list
      parameters:
        - description: Project ID
          name: project
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pkg_routes_todo_project.StarProjectRequest'
        description: Star status
        required: true
      responses:
        '200':
          description: Star operation result
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_routes_todo_project.StarProjectResponse
        '400':
          description: Bad request - invalid project ID or request body
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: Project not found or no access
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_todo_project.StarProjectRequest:
      type: object
      properties:
        starred:
          type: boolean
    pkg_routes_todo_project.StarProjectResponse:
      type: object
      properties:
        ok:
          type: boolean
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

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