> ## 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.

# Reset project next task and status

> Re-derive the project's next task and status, resolving any leading conditional task group (branch) entry points. Internal system route only - called by the project launch service after inserting tasks.



## OpenAPI

````yaml /api-reference/cx/swagger.json post /todo/project/{project}/_reset
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}/_reset:
    post:
      tags:
        - todo
      summary: Reset project next task and status
      description: >-
        Re-derive the project's next task and status, resolving any leading
        conditional task group (branch) entry points. Internal system route only
        - called by the project launch service after inserting tasks.
      parameters:
        - description: Project ID
          name: project
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Reset result
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_routes_todo_project.ResetProjectResponse
        '400':
          description: Bad request - invalid project ID or missing team ID
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          description: Unauthorized - not an internal system component
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_todo_project.ResetProjectResponse:
      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.