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

# Create Task Group

> Creates a new task group in the system.



## OpenAPI

````yaml /api/swagger.json put /tasks/
openapi: 3.0.1
info:
  title: BLOOD-V3 API
  contact: {}
  version: 0.0.1
servers:
  - url: //localhost:50000/api/v1
security: []
paths:
  /tasks/:
    put:
      tags:
        - Task
      summary: Create Task Group
      description: Creates a new task group in the system.
      requestBody:
        description: Create Task Request
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/handlers.createTaskRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/handlers.createTaskResponse'
        '400':
          description: Bad request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
        '500':
          description: Internal server error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
components:
  schemas:
    handlers.createTaskRequest:
      type: object
      properties:
        data:
          type: array
          description: slice of task models depends on the module
          items:
            type: integer
        id:
          type: string
        module:
          type: string
    handlers.createTaskResponse:
      type: object
      properties:
        id:
          type: string
    handlers.ErrorResponse:
      type: object
      properties:
        error:
          type: string

````