Casama AI Checkins API

The checkins API from Casama AI, for checkins.

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 9

GET /v1/bots/{id}/checkins Get bot checkins #
PUT /v1/bots/{id}/checkins Turn a bot's morning brief and scans on or off, and set their times and daily… #
GET /v1/for-you Your feed in a workspace: the latest briefs, pending suggestions and approvals #
POST /v1/suggestions/{id}/accept Have the bot do it, answer it, turn it on, or set a reminder #
POST /v1/suggestions/{id}/dismiss Dismiss suggestion #
POST /v1/suggestions/{id}/snooze Hide a suggestion until the next morning brief or a picked time (expires on 2nd… #
POST /v1/suggestions/{id}/done Mark a look suggestion as seen/done (Got it / Open) without starting a run #
POST /v1/suggestions/put-away Put away multiple pending suggestions at once (counts as Not now, not Don't… #
POST /v1/inbox/seen Mark an Updates item (e.g. a page) as seen by this user across devices #

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-checkins-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-checkins-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Casama Checkins 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: checkins
paths:
  /v1/bots/{id}/checkins:
    get:
      operationId: getBotCheckins
      tags:
      - checkins
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Check-in settings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BotCheckins'
        '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: Get bot checkins
      x-summary-source: derived
    put:
      operationId: setBotCheckins
      tags:
      - checkins
      security:
      - bearerAuth: []
      summary: Turn a bot's morning brief and scans on or off, and set their times and daily…
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BotCheckins'
      responses:
        '200':
          description: Check-in settings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BotCheckins'
        '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'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/for-you:
    get:
      operationId: getForYou
      tags:
      - checkins
      security:
      - bearerAuth: []
      summary: 'Your feed in a workspace: the latest briefs, pending suggestions and approvals'
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: org_id
        in: query
      responses:
        '200':
          description: Feed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForYou'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/suggestions/{id}/accept:
    post:
      operationId: acceptSuggestion
      tags:
      - checkins
      security:
      - bearerAuth: []
      summary: Have the bot do it, answer it, turn it on, or set a reminder
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptSuggestionRequest'
      responses:
        '202':
          description: Started
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptedSuggestion'
        '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'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/suggestions/{id}/dismiss:
    post:
      operationId: dismissSuggestion
      tags:
      - checkins
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DismissSuggestionRequest'
      responses:
        '200':
          description: Dismissed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Ok'
        '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'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: Dismiss suggestion
      x-summary-source: derived
  /v1/suggestions/{id}/snooze:
    post:
      operationId: snoozeSuggestion
      tags:
      - checkins
      security:
      - bearerAuth: []
      summary: Hide a suggestion until the next morning brief or a picked time (expires on 2nd…
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SnoozeSuggestionRequest'
      responses:
        '200':
          description: Snoozed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SnoozedSuggestion'
        '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'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/suggestions/{id}/done:
    post:
      operationId: doneSuggestion
      tags:
      - checkins
      security:
      - bearerAuth: []
      summary: Mark a look suggestion as seen/done (Got it / Open) without starting a run
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Done
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Ok'
        '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'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/suggestions/put-away:
    post:
      operationId: putAwaySuggestions
      tags:
      - checkins
      security:
      - bearerAuth: []
      summary: Put away multiple pending suggestions at once (counts as Not now, not Don't…
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutAwaySuggestionsRequest'
      responses:
        '200':
          description: Put away
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutAwaySuggestionsResponse'
        '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'
  /v1/inbox/seen:
    post:
      operationId: markInboxSeen
      tags:
      - checkins
      security:
      - bearerAuth: []
      summary: Mark an Updates item (e.g. a page) as seen by this user across devices
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboxSeenRequest'
      responses:
        '200':
          description: Seen
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Ok'
        '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'
components:
  schemas:
    AcceptSuggestionRequest:
      type: object
      properties:
        said:
          type: string
          maxLength: 400
        choice:
          type: string
          maxLength: 400
        remind_at:
          type: string
          format: date-time
    SuggestionKind:
      type: string
      enum:
      - do
      - answer
      - turn_on
      - remind
      - look
      default: do
    SnoozedSuggestion:
      type: object
      properties:
        ok:
          type: boolean
        snoozed_until:
          type:
          - string
          - 'null'
          format: date-time
        expired:
          type: boolean
          default: false
      required:
      - ok
      - snoozed_until
    ForYouBrief:
      type: object
      properties:
        bot_id:
          type: string
          format: uuid
        conversation_id:
          type: string
          format: uuid
        text:
          type: string
        created_at:
          type: string
          format: date-time
      required:
      - bot_id
      - conversation_id
      - text
      - created_at
    PutAwaySuggestionsRequest:
      type: object
      properties:
        ids:
          type: array
          items:
            type: string
            format: uuid
          minItems: 1
          maxItems: 100
      required:
      - ids
    ForYou:
      type: object
      properties:
        briefs:
          type: array
          items:
            $ref: '#/components/schemas/ForYouBrief'
        suggestions:
          type: array
          items:
            $ref: '#/components/schemas/Suggestion'
        approvals:
          type: array
          items:
            $ref: '#/components/schemas/ForYouApproval'
        seen_page_ids:
          type: array
          items:
            type: string
            format: uuid
      required:
      - briefs
      - suggestions
      - approvals
    DismissSuggestionRequest:
      type: object
      properties:
        dont_suggest_again:
          type: boolean
          default: false
    Suggestion:
      type: object
      properties:
        id:
          type: string
          format: uuid
        bot_id:
          type: string
          format: uuid
        title:
          type: string
        body_md:
          type: string
        push_text:
          type:
          - string
          - 'null'
        kind:
          $ref: '#/components/schemas/SuggestionKind'
        label:
          type:
          - string
          - 'null'
        choices:
          type:
          - array
          - 'null'
          items:
            type: string
        url:
          type:
          - string
          - 'null'
        remind_at:
          type:
          - string
          - 'null'
          format: date-time
        snoozed_until:
          type:
          - string
          - 'null'
          format: date-time
        snooze_count:
          type: integer
          minimum: 0
          default: 0
        proposed_action:
          type:
          - object
          - 'null'
          properties:
            tool:
              type: string
            args:
              type: object
              additionalProperties: {}
          required:
          - tool
        sources:
          type: array
          items:
            type: string
        urgency:
          type: string
          enum:
          - low
          - normal
          - urgent
        expires_at:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
      required:
      - id
      - bot_id
      - title
      - body_md
      - proposed_action
      - sources
      - urgency
      - expires_at
      - created_at
    SnoozeSuggestionRequest:
      type: object
      properties:
        until:
          type: string
          format: date-time
    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
    BotCheckins:
      type: object
      properties:
        enabled:
          type: boolean
        brief_time:
          type: string
          pattern: ^([01]\d|2[0-3]):[0-5]\d$
          description: Local time, HH:MM
        scan_every_hours:
          type: integer
          minimum: 1
          maximum: 24
        daily_cap_usd:
          type: number
          exclusiveMinimum: 0
          maximum: 100
      required:
      - enabled
      - brief_time
      - scan_every_hours
      - daily_cap_usd
    InboxSeenRequest:
      type: object
      properties:
        item_kind:
          type: string
          enum:
          - page
          - brief
          - notification
        item_id:
          type: string
          format: uuid
      required:
      - item_kind
      - item_id
    AcceptedSuggestion:
      type: object
      properties:
        conversation_id:
          type:
          - string
          - 'null'
          format: uuid
        run_id:
          type:
          - string
          - 'null'
          format: uuid
        routine_id:
          type:
          - string
          - 'null'
          format: uuid
        direct:
          type: boolean
    ForYouApproval:
      type: object
      properties:
        id:
          type: string
          format: uuid
        bot_id:
          type: string
          format: uuid
        summary:
          type: string
        risk:
          type: string
        created_at:
          type: string
          format: date-time
      required:
      - id
      - bot_id
      - summary
      - risk
      - created_at
    PutAwaySuggestionsResponse:
      type: object
      properties:
        ok:
          type: boolean
        count:
          type: integer
          minimum: 0
      required:
      - ok
      - count
    Ok:
      type: object
      properties:
        ok:
          type: boolean
      required:
      - ok
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase access token