Casama AI Projects API
The projects API from Casama AI, for projects.
The projects API from Casama AI, for projects.
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-projects-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 Projects 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: Projects
paths:
/v1/projects:
get:
operationId: listProjects
tags:
- Projects
security:
- bearerAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: org_id
in: query
responses:
'200':
description: Projects
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectList'
'401':
description: Not authenticated
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
summary: List projects
x-summary-source: derived
post:
operationId: createProject
tags:
- Projects
security:
- bearerAuth: []
summary: 'Start a project: one you work on together in its chat, or one its lead bot…'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateProjectRequest'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
'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'
/v1/projects/{id}:
get:
operationId: getProject
tags:
- Projects
security:
- bearerAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: id
in: path
responses:
'200':
description: Project
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectDetail'
'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 project
x-summary-source: derived
patch:
operationId: updateProject
tags:
- Projects
security:
- bearerAuth: []
summary: Pause, resume, cancel or finish a project, change its goal, budget, deadline or…
parameters:
- schema:
type: string
format: uuid
required: true
name: id
in: path
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateProjectRequest'
responses:
'200':
description: Project
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
'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'
'409':
description: Conflict
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/projects/{id}/plan/approve:
post:
operationId: approveProjectPlan
tags:
- Projects
security:
- bearerAuth: []
summary: Approve the proposed plan; sessions start
parameters:
- schema:
type: string
format: uuid
required: true
name: id
in: path
responses:
'200':
description: Project
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
'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'
'409':
description: Conflict
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/projects/{id}/milestones/{milestone_id}/signoff:
post:
operationId: signOffMilestone
tags:
- Projects
security:
- bearerAuth: []
summary: Sign off a finished milestone so the next one begins
parameters:
- schema:
type: string
format: uuid
required: true
name: id
in: path
- schema:
type: string
format: uuid
required: true
name: milestone_id
in: path
responses:
'200':
description: Project
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
'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'
'409':
description: Conflict
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
components:
schemas:
ProjectMilestone:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
position:
type: integer
requires_signoff:
type: boolean
status:
type: string
enum:
- open
- awaiting_signoff
- done
tickets_done:
type: integer
tickets_total:
type: integer
required:
- id
- name
- position
- requires_signoff
- status
- tickets_done
- tickets_total
UpdateProjectRequest:
type: object
properties:
title:
type: string
minLength: 1
maxLength: 200
status:
type: string
enum:
- active
- paused
- cancelled
- done
description: Resume, pause, cancel or finish. A finished project you work on together can be made active again
budget_usd:
type:
- number
- 'null'
exclusiveMinimum: 0
maximum: 10000
deadline_at:
type:
- string
- 'null'
format: date-time
plan_md:
type: string
maxLength: 20000
goal_md:
type: string
maxLength: 20000
done_criteria_md:
type: string
maxLength: 10000
autonomous:
type: boolean
description: 'true: the lead bot drafts a plan for you to approve, then works by itself (needs a goal). false: back to working on it together; nothing more starts by itself'
cover:
type:
- string
- 'null'
pattern: ^[a-z][a-z0-9-]{0,39}$
description: A painted cover the project picked (an app art name such as sailboat); null for none
Creation:
type: object
properties:
id:
type: string
format: uuid
org_id:
type: string
format: uuid
bot_id:
type:
- string
- 'null'
format: uuid
bot_name:
type:
- string
- 'null'
made_for:
type:
- string
- 'null'
format: uuid
conversation_id:
type:
- string
- 'null'
format: uuid
run_id:
type:
- string
- 'null'
format: uuid
project_id:
type:
- string
- 'null'
format: uuid
description: The project it's filed under (D-295), when you can see that project
project_title:
type:
- string
- 'null'
kind:
$ref: '#/components/schemas/CreationKind'
label:
type:
- string
- 'null'
description: 'The bot''s word for it: Site, Game, Report…'
title:
type: string
page_id:
type:
- string
- 'null'
format: uuid
media_id:
type:
- string
- 'null'
format: uuid
mime:
type:
- string
- 'null'
size:
type: integer
width:
type:
- integer
- 'null'
height:
type:
- integer
- 'null'
duration_s:
type:
- number
- 'null'
has_cover:
type: boolean
description: GET /v1/creations/{id}/cover returns a picture; otherwise the app draws one
has_preview:
type: boolean
description: GET /v1/creations/{id}/preview returns a PDF of it (documents; D-280)
version:
type: integer
visibility:
type: string
enum:
- private
- workspace
- public
description: Who can open it (D-281); a page's follows the page
pinned:
type: boolean
description: Pinned by the person asking
last_opened_at:
type:
- string
- 'null'
format: date-time
can_change:
type: boolean
public_url:
type:
- string
- 'null'
description: The public link, only in the answer that made it public (D-281)
deleted_at:
type:
- string
- 'null'
format: date-time
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
required:
- id
- org_id
- bot_id
- bot_name
- made_for
- conversation_id
- run_id
- kind
- label
- title
- page_id
- media_id
- mime
- size
- width
- height
- duration_s
- has_cover
- has_preview
- version
- visibility
- pinned
- last_opened_at
- can_change
- deleted_at
- created_at
- updated_at
ProjectList:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/Project'
required:
- items
ProjectStatus:
type: string
enum:
- planning
- active
- paused
- blocked
- done
- cancelled
CreationKind:
type: string
enum:
- page
- image
- video
- audio
- document
- file
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
ProjectRun:
type: object
properties:
id:
type: string
format: uuid
bot_id:
type: string
format: uuid
trigger:
type: string
status:
type: string
cost_usd:
type: number
created_at:
type: string
format: date-time
required:
- id
- bot_id
- trigger
- status
- cost_usd
- created_at
CreateProjectRequest:
type: object
properties:
org_id:
type: string
format: uuid
title:
type: string
minLength: 1
maxLength: 200
goal_md:
type: string
maxLength: 20000
description: Needed when the project works by itself
done_criteria_md:
type: string
maxLength: 10000
lead_bot_id:
type: string
format: uuid
budget_usd:
type:
- number
- 'null'
exclusiveMinimum: 0
maximum: 10000
deadline_at:
type:
- string
- 'null'
format: date-time
autonomous:
type: boolean
description: 'true (the default, as before D-295): the lead bot drafts a plan for you to approve, then works by itself. false: a project you work on together in its chat'
conversation_id:
type: string
format: uuid
description: 'With autonomous false: make this topic of yours the project''s chat, and file what was made in it under the project. Without it the project gets a new topic'
cover:
type:
- string
- 'null'
pattern: ^[a-z][a-z0-9-]{0,39}$
description: A painted cover the project picked (an app art name such as sailboat); null for none
required:
- org_id
- title
- lead_bot_id
ProjectDetail:
allOf:
- $ref: '#/components/schemas/Project'
- type: object
properties:
milestones:
type: array
items:
$ref: '#/components/schemas/ProjectMilestone'
runs:
type: array
items:
$ref: '#/components/schemas/ProjectRun'
required:
- milestones
- runs
Project:
type: object
properties:
id:
type: string
format: uuid
org_id:
type: string
format: uuid
slug:
type: string
title:
type: string
goal_md:
type: string
done_criteria_md:
type: string
status:
$ref: '#/components/schemas/ProjectStatus'
plan_status:
type: string
enum:
- draft
- proposed
- approved
status_reason:
type:
- string
- 'null'
lead_bot_id:
type: string
format: uuid
owner_user_id:
type:
- string
- 'null'
format: uuid
conversation_id:
type:
- string
- 'null'
format: uuid
budget_usd:
type:
- number
- 'null'
spent_usd:
type: number
deadline_at:
type:
- string
- 'null'
format: date-time
plan_md:
type: string
sessions:
type: integer
created_at:
type: string
format: date-time
autonomous:
type: boolean
description: 'Plans for your approval, then works by itself in sessions (D-113). False: worked on together in its chat (D-295). Absent on older servers, where every project is autonomous'
personal:
type: boolean
description: 'Grew out of a person''s own chat: seen by them and by whoever can open its chat, not the whole workspace'
folder:
type: string
description: Where its files live on the lead bot's computer, under the home folder (the folder is made when the bot first saves something there)
creations_count:
type: integer
description: How many things in the Library are filed under it, that you can see
latest_creation:
$ref: '#/components/schemas/Creation'
cover:
type:
- string
- 'null'
pattern: ^[a-z][a-z0-9-]{0,39}$
description: A painted cover the project picked (an app art name such as sailboat); null for none
can_steer:
type: boolean
description: 'Whether you may change it: its owner, an admin or the lead bot''s managers'
required:
- id
- org_id
- slug
- title
- goal_md
- done_criteria_md
- status
- plan_status
- status_reason
- lead_bot_id
- owner_user_id
- conversation_id
- budget_usd
- spent_usd
- deadline_at
- plan_md
- sessions
- created_at
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Supabase access token