Casama AI Browser API
The browser API from Casama AI, for browser.
The browser API from Casama AI, for browser.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/casama-ai:casama-ai-browser-api"
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.
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: 3.2.0
info:
title: Casama Browser 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: browser
paths:
/v1/me/page-commands:
get:
operationId: listPageCommands
tags:
- browser
security:
- bearerAuth: []
summary: Your saved prompts for the / menu in Casama for Chrome
responses:
'200':
description: Page commands
content:
application/json:
schema:
$ref: '#/components/schemas/PageCommandList'
'401':
description: Not authenticated
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
post:
operationId: createPageCommand
tags:
- browser
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreatePageCommandRequest'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/PageCommand'
'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'
'409':
description: Conflict
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
summary: Create page command
x-summary-source: derived
/v1/me/page-commands/{id}:
patch:
operationId: updatePageCommand
tags:
- browser
security:
- bearerAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: id
in: path
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdatePageCommandRequest'
responses:
'200':
description: Updated
content:
application/json:
schema:
$ref: '#/components/schemas/PageCommand'
'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'
'409':
description: Conflict
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
summary: Update page command
x-summary-source: derived
delete:
operationId: deletePageCommand
tags:
- browser
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/DeletedPageCommand'
'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 page command
x-summary-source: derived
/v1/me/highlights:
get:
operationId: listHighlights
tags:
- browser
security:
- bearerAuth: []
summary: Your highlights in a workspace, newest first; one page's when url is given
parameters:
- schema:
type: string
format: uuid
required: true
name: org_id
in: query
- schema:
type: string
maxLength: 2000
required: false
name: url
in: query
responses:
'200':
description: Highlights
content:
application/json:
schema:
$ref: '#/components/schemas/HighlightList'
'401':
description: Not authenticated
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
post:
operationId: createHighlight
tags:
- browser
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateHighlightRequest'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/Highlight'
'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: Create highlight
x-summary-source: derived
/v1/me/highlights/{id}:
delete:
operationId: deleteHighlight
tags:
- browser
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/DeletedHighlight'
'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 highlight
x-summary-source: derived
/v1/me/page-history:
get:
operationId: getPageHistory
tags:
- browser
security:
- bearerAuth: []
summary: Your past chats that started from this page, and your highlights on it
parameters:
- schema:
type: string
format: uuid
required: true
name: org_id
in: query
- schema:
type: string
minLength: 1
maxLength: 2000
required: true
name: url
in: query
responses:
'200':
description: History
content:
application/json:
schema:
$ref: '#/components/schemas/PageHistory'
'401':
description: Not authenticated
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
components:
schemas:
Highlight:
type: object
properties:
id:
type: string
format: uuid
org_id:
type: string
format: uuid
url:
type: string
url_key:
type: string
title:
type: string
text:
type: string
prefix:
type: string
suffix:
type: string
note:
type: string
created_at:
type: string
format: date-time
required:
- id
- org_id
- url
- url_key
- title
- text
- prefix
- suffix
- note
- created_at
PageCommand:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
prompt:
type: string
position:
type: integer
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
required:
- id
- name
- prompt
- position
- created_at
- updated_at
PageHistory:
type: object
properties:
conversations:
type: array
items:
type: object
properties:
id:
type: string
format: uuid
bot_id:
type: string
format: uuid
title:
type:
- string
- 'null'
created_at:
type: string
format: date-time
required:
- id
- bot_id
- title
- created_at
highlights:
type: array
items:
$ref: '#/components/schemas/Highlight'
required:
- conversations
- highlights
HighlightList:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/Highlight'
required:
- items
UpdatePageCommandRequest:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 60
description: What follows / in the panel
prompt:
type: string
minLength: 1
maxLength: 4000
position:
type: integer
minimum: 0
maximum: 1000
PageCommandList:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/PageCommand'
required:
- items
DeletedPageCommand:
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
CreatePageCommandRequest:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 60
description: What follows / in the panel
prompt:
type: string
minLength: 1
maxLength: 4000
position:
type: integer
minimum: 0
maximum: 1000
required:
- name
- prompt
DeletedHighlight:
type: object
properties:
deleted:
type: string
format: uuid
required:
- deleted
CreateHighlightRequest:
type: object
properties:
org_id:
type: string
format: uuid
url:
type: string
maxLength: 2000
format: uri
title:
type: string
maxLength: 300
text:
type: string
minLength: 1
maxLength: 5000
prefix:
type: string
maxLength: 64
suffix:
type: string
maxLength: 64
note:
type: string
maxLength: 2000
required:
- org_id
- url
- text
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Supabase access token