Casama AI Tasks API

The tasks API from Casama AI, for tasks.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

GET /v1/tasks List tasks #
POST /v1/tasks Create a ticket; assigning a bot starts its work #
PATCH /v1/tasks/{id} Change a ticket (moving, reassigning, editing); a newly assigned bot starts its… #
DELETE /v1/tasks/{id} Delete task #
GET /v1/tasks/{id}/comments List task comments #
POST /v1/tasks/{id}/comments Comment on a ticket; a comment on a bot's ticket wakes that bot #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/casama-ai:casama-ai-tasks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

casama-ai-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Casama Tasks API
  version: 0.1.0
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://api.casama.ai
tags:
- name: Tasks
paths:
  /v1/tasks:
    get:
      operationId: listTasks
      tags:
      - Tasks
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: org_id
        in: query
      - schema:
          type: string
          format: uuid
        required: false
        name: project_id
        in: query
      responses:
        '200':
          description: The shared task board
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskList'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: List tasks
      x-summary-source: derived
    post:
      operationId: createTask
      tags:
      - Tasks
      security:
      - bearerAuth: []
      summary: Create a ticket; assigning a bot starts its work
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTaskRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/tasks/{id}:
    patch:
      operationId: updateTask
      tags:
      - Tasks
      security:
      - bearerAuth: []
      summary: Change a ticket (moving, reassigning, editing); a newly assigned bot starts its…
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTaskRequest'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    delete:
      operationId: deleteTask
      tags:
      - Tasks
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '204':
          description: Deleted
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: Delete task
      x-summary-source: derived
  /v1/tasks/{id}/comments:
    get:
      operationId: listTaskComments
      tags:
      - Tasks
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Comments, oldest first
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskCommentList'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: List task comments
      x-summary-source: derived
    post:
      operationId: createTaskComment
      tags:
      - Tasks
      security:
      - bearerAuth: []
      summary: Comment on a ticket; a comment on a bot's ticket wakes that bot
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTaskCommentRequest'
      responses:
        '201':
          description: Posted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskComment'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    CreateTaskCommentRequest:
      type: object
      properties:
        body_md:
          type: string
          minLength: 1
          maxLength: 20000
      required:
      - body_md
    CreateTaskRequest:
      type: object
      properties:
        org_id:
          type: string
          format: uuid
        title:
          type: string
          minLength: 1
          maxLength: 300
        details_md:
          type: string
          maxLength: 10000
        status:
          $ref: '#/components/schemas/TaskStatus'
        priority:
          $ref: '#/components/schemas/TaskPriority'
        assignee_bot_id:
          type:
          - string
          - 'null'
          format: uuid
          description: The bot starts on it at once
        assignee_user_id:
          type:
          - string
          - 'null'
          format: uuid
        due_at:
          type:
          - string
          - 'null'
          format: date-time
        labels:
          type: array
          items:
            type: string
            minLength: 1
            maxLength: 40
          maxItems: 10
        review_required:
          type: boolean
      required:
      - org_id
      - title
    TaskList:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Task'
      required:
      - items
    TaskPriority:
      type: string
      enum:
      - urgent
      - high
      - medium
      - low
      - none
    Problem:
      type: object
      properties:
        type:
          type: string
          example: https://casama.ai/problems/not_found
        title:
          type: string
        status:
          type: integer
        code:
          type: string
          description: Stable error code
          example: not_found
        detail:
          type: string
        instance:
          type: string
        errors:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
            required:
            - path
            - message
          description: Field errors for validation_failed
      required:
      - type
      - title
      - status
      - code
    TaskComment:
      type: object
      properties:
        id:
          type: string
          format: uuid
        task_id:
          type: string
          format: uuid
        author_type:
          type: string
          enum:
          - user
          - bot
        author_user_id:
          type:
          - string
          - 'null'
          format: uuid
        author_bot_id:
          type:
          - string
          - 'null'
          format: uuid
        body_md:
          type: string
        created_at:
          type: string
          format: date-time
      required:
      - id
      - task_id
      - author_type
      - author_user_id
      - author_bot_id
      - body_md
      - created_at
    TaskStatus:
      type: string
      enum:
      - todo
      - in_progress
      - in_review
      - blocked
      - done
    UpdateTaskRequest:
      type: object
      properties:
        title:
          type: string
          minLength: 1
          maxLength: 300
        details_md:
          type: string
          maxLength: 10000
        status:
          $ref: '#/components/schemas/TaskStatus'
        priority:
          $ref: '#/components/schemas/TaskPriority'
        assignee_bot_id:
          type:
          - string
          - 'null'
          format: uuid
          description: The bot starts on it at once
        assignee_user_id:
          type:
          - string
          - 'null'
          format: uuid
        due_at:
          type:
          - string
          - 'null'
          format: date-time
        labels:
          type: array
          items:
            type: string
            minLength: 1
            maxLength: 40
          maxItems: 10
        review_required:
          type: boolean
        position:
          type: number
    Task:
      type: object
      properties:
        id:
          type: string
          format: uuid
        title:
          type: string
        details_md:
          type: string
        status:
          $ref: '#/components/schemas/TaskStatus'
        priority:
          $ref: '#/components/schemas/TaskPriority'
        assignee_bot_id:
          type:
          - string
          - 'null'
          format: uuid
        assignee_user_id:
          type:
          - string
          - 'null'
          format: uuid
        created_by_bot_id:
          type:
          - string
          - 'null'
          format: uuid
        created_by_user_id:
          type:
          - string
          - 'null'
          format: uuid
        result_md:
          type:
          - string
          - 'null'
        due_at:
          type:
          - string
          - 'null'
          format: date-time
        labels:
          type: array
          items:
            type: string
        position:
          type: number
        review_required:
          type: boolean
        project_id:
          type:
          - string
          - 'null'
          format: uuid
          description: Its project
        milestone_id:
          type:
          - string
          - 'null'
          format: uuid
        parent_task_id:
          type:
          - string
          - 'null'
          format: uuid
        conversation_id:
          type:
          - string
          - 'null'
          format: uuid
        comments:
          type: integer
          description: How many comments the ticket has
        updated_at:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
      required:
      - id
      - title
      - details_md
      - status
      - priority
      - assignee_bot_id
      - assignee_user_id
      - created_by_bot_id
      - created_by_user_id
      - result_md
      - due_at
      - labels
      - position
      - review_required
      - project_id
      - milestone_id
      - parent_task_id
      - conversation_id
      - comments
      - updated_at
      - created_at
    TaskCommentList:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/TaskComment'
      required:
      - items
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase access token