Casama AI About You API

The about-you API from Casama AI, for about-you.

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 11

PUT /v1/me/photo Set your profile photo #
DELETE /v1/me/photo Remove your profile photo #
POST /v1/me/photo/import Copy the photo your sign-in provider shares (Google) as your profile photo #
GET /v1/me/about What bots call you and what you shared about yourself #
PATCH /v1/me/about Update about you #
GET /v1/me/facts Facts bots learned about you, pinned and newest first #
POST /v1/me/facts Add user facts #
PATCH /v1/me/facts/{id} Update user fact #
DELETE /v1/me/facts/{id} Delete user fact #
GET /v1/me/profile-spaces/{org_id} Whether bots in this workspace use About me and learned facts #
PUT /v1/me/profile-spaces/{org_id} Set profile space #

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-about-you-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-about-you-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Casama About You 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: about-you
paths:
  /v1/me/photo:
    put:
      operationId: setProfilePhoto
      tags:
      - about-you
      security:
      - bearerAuth: []
      summary: Set your profile photo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetProfilePhotoRequest'
      responses:
        '200':
          description: About you
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AboutYou'
        '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'
    delete:
      operationId: deleteProfilePhoto
      tags:
      - about-you
      security:
      - bearerAuth: []
      summary: Remove your profile photo
      responses:
        '200':
          description: About you
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AboutYou'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/me/photo/import:
    post:
      operationId: importProfilePhoto
      tags:
      - about-you
      security:
      - bearerAuth: []
      summary: Copy the photo your sign-in provider shares (Google) as your profile photo
      description: Without replace it only copies once, and only while you have no photo. It finishes quietly when there's nothing to copy or the provider can't be reached.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportProfilePhotoRequest'
      responses:
        '200':
          description: About you
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AboutYou'
        '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/me/about:
    get:
      operationId: getAboutYou
      tags:
      - about-you
      security:
      - bearerAuth: []
      summary: What bots call you and what you shared about yourself
      responses:
        '200':
          description: About you
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AboutYou'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    patch:
      operationId: updateAboutYou
      tags:
      - about-you
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAboutYouRequest'
      responses:
        '200':
          description: About you
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AboutYou'
        '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'
      summary: Update about you
      x-summary-source: derived
  /v1/me/facts:
    get:
      operationId: listUserFacts
      tags:
      - about-you
      security:
      - bearerAuth: []
      summary: Facts bots learned about you, pinned and newest first
      responses:
        '200':
          description: Facts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserFactList'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    post:
      operationId: addUserFacts
      tags:
      - about-you
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddUserFactsRequest'
      responses:
        '200':
          description: Added
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserFactList'
        '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'
      summary: Add user facts
      x-summary-source: derived
  /v1/me/facts/{id}:
    patch:
      operationId: updateUserFact
      tags:
      - about-you
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateUserFactRequest'
      responses:
        '200':
          description: Fact
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserFact'
        '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'
      summary: Update user fact
      x-summary-source: derived
    delete:
      operationId: deleteUserFact
      tags:
      - about-you
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedUserFact'
        '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 user fact
      x-summary-source: derived
  /v1/me/profile-spaces/{org_id}:
    get:
      operationId: getProfileSpace
      tags:
      - about-you
      security:
      - bearerAuth: []
      summary: Whether bots in this workspace use About me and learned facts
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: org_id
        in: path
      responses:
        '200':
          description: Sharing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileSpace'
        '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'
    put:
      operationId: setProfileSpace
      tags:
      - about-you
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: org_id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetProfileSpaceRequest'
      responses:
        '200':
          description: Sharing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileSpace'
        '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'
      summary: Set profile space
      x-summary-source: derived
components:
  schemas:
    AddUserFactsRequest:
      type: object
      properties:
        items:
          type: array
          items:
            type: object
            properties:
              kind:
                type: string
                enum:
                - fact
                - preference
              content:
                type: string
                minLength: 1
                maxLength: 500
            required:
            - content
          minItems: 1
          maxItems: 200
      required:
      - items
    UserFact:
      type: object
      properties:
        id:
          type: string
          format: uuid
        kind:
          type: string
          enum:
          - fact
          - preference
        content:
          type: string
        pinned:
          type: boolean
        updated_at:
          type: string
          format: date-time
      required:
      - id
      - kind
      - content
      - pinned
      - updated_at
    UpdateUserFactRequest:
      type: object
      properties:
        content:
          type: string
          minLength: 1
          maxLength: 500
        pinned:
          type: boolean
    UpdateAboutYouRequest:
      type: object
      properties:
        preferred_name:
          type:
          - string
          - 'null'
          maxLength: 60
        pronouns:
          type:
          - string
          - 'null'
          maxLength: 40
        about:
          type: string
          maxLength: 1500
        reply_style:
          type: string
          maxLength: 600
        learn:
          type: boolean
        name_asked:
          type: boolean
          enum:
          - true
        adult_sites:
          type: boolean
        locale:
          type:
          - string
          - 'null'
          maxLength: 16
          pattern: ^(en|es|pt|fr|de|ja|ko|zh|it|id|tr|vi|ar|hi)(-[A-Za-z]{4})?(-([A-Za-z]{2}|[0-9]{3}))?$
    ProfileSpace:
      type: object
      properties:
        org_id:
          type: string
          format: uuid
        shared:
          type: boolean
      required:
      - org_id
      - shared
    UserFactList:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/UserFact'
      required:
      - items
    DeletedUserFact:
      type: object
      properties:
        deleted:
          type: string
          format: uuid
      required:
      - deleted
    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
    AboutYou:
      type: object
      properties:
        display_name:
          type:
          - string
          - 'null'
        preferred_name:
          type:
          - string
          - 'null'
        pronouns:
          type:
          - string
          - 'null'
        about:
          type: string
        reply_style:
          type: string
        learn:
          type: boolean
        name_asked:
          type: boolean
        photo_id:
          type:
          - string
          - 'null'
          format: uuid
        provider_photo:
          type: boolean
        photo_import_tried:
          type: boolean
        adult_sites:
          type: boolean
      required:
      - display_name
      - preferred_name
      - pronouns
      - about
      - reply_style
      - learn
      - name_asked
    ImportProfilePhotoRequest:
      type: object
      properties:
        replace:
          type: boolean
    SetProfileSpaceRequest:
      type: object
      properties:
        shared:
          type: boolean
      required:
      - shared
    SetProfilePhotoRequest:
      type: object
      properties:
        content_type:
          type: string
          enum:
          - image/jpeg
          - image/png
          - image/webp
        data:
          type: string
          maxLength: 1400000
      required:
      - content_type
      - data
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase access token