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

# Create task



## OpenAPI

````yaml /openapi.yaml post /tasks
openapi: 3.0.3
info:
  title: Hill90 API
  description: Hill90 platform API — agent management and lifecycle operations.
  version: 0.1.0
servers:
  - url: /
    description: Relative (behind Traefik reverse proxy)
security: []
paths:
  /tasks:
    post:
      tags:
        - Tasks
      summary: Create task
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - agent_id
                - title
              properties:
                agent_id:
                  type: string
                title:
                  type: string
                description:
                  type: string
                status:
                  type: string
                  enum:
                    - backlog
                    - todo
                    - in_progress
                    - review
                    - done
                    - cancelled
                priority:
                  type: integer
                  minimum: 1
                  maximum: 4
                tags:
                  type: array
                  items:
                    type: string
      responses:
        '200':
          description: Created task
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentTask'
      security:
        - bearerAuth: []
components:
  schemas:
    AgentTask:
      type: object
      properties:
        id:
          type: string
          format: uuid
        agent_id:
          type: string
        title:
          type: string
        description:
          type: string
        status:
          type: string
          enum:
            - backlog
            - todo
            - in_progress
            - review
            - done
            - cancelled
        priority:
          type: integer
          minimum: 1
          maximum: 4
        sort_order:
          type: integer
        tags:
          type: array
          items:
            type: string
        created_by:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````