casama_api (EXPERIMENTAL)

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.0
  • Generator version: 7.17.0
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen

Requirements

Installation & Usage

pub.dev

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  casama_api: 0.1.0

Github

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  casama_api:
    git:
      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      #ref: main

Local development

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  casama_api:
    path: /path/to/casama_api

Getting Started

Please follow the installation procedure and then run the following:

import 'package:casama_api/casama_api.dart';


final api = CasamaApi().getA2aApi();
final String id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | 

try {
    final response = await api.getBotA2a(id);
    print(response);
} catch on DioException (e) {
    print("Exception when calling A2aApi->getBotA2a: $e\n");
}

Documentation for API Endpoints

All URIs are relative to http://localhost:8787

Class Method HTTP request Description
A2aApi getBotA2a GET /v1/bots/{id}/a2a
A2aApi setBotA2a PUT /v1/bots/{id}/a2a Publish a bot as an A2A agent (the workspace must have A2A on)
AboutYouApi addUserFacts POST /v1/me/facts
AboutYouApi deleteProfilePhoto DELETE /v1/me/photo Remove your profile photo
AboutYouApi deleteUserFact DELETE /v1/me/facts/{id}
AboutYouApi getAboutYou GET /v1/me/about What bots call you and what you shared about yourself
AboutYouApi getProfilePhoto GET /v1/photos/{id} A profile photo (no token: the id is random and changes with every new photo; cached for good)
AboutYouApi getProfileSpace GET /v1/me/profile-spaces/{org_id} Whether bots in this workspace use About me and learned facts
AboutYouApi importProfilePhoto POST /v1/me/photo/import Copy the photo your sign-in provider shares (Google) as your profile photo
AboutYouApi listUserFacts GET /v1/me/facts Facts bots learned about you, pinned and newest first
AboutYouApi setProfilePhoto PUT /v1/me/photo Set your profile photo
AboutYouApi setProfileSpace PUT /v1/me/profile-spaces/{org_id}
AboutYouApi updateAboutYou PATCH /v1/me/about
AboutYouApi updateUserFact PATCH /v1/me/facts/{id}
AccountApi getEmailPreferences GET /v1/me/email-preferences
AccountApi getNewsletter GET /v1/me/newsletter Whether you get Casama's monthly email, and whether this server sends it
AccountApi setEmailPreferences PUT /v1/me/email-preferences
AccountApi setNewsletter PUT /v1/me/newsletter Turn Casama's monthly email on or off (only on servers that send it)
ActionRulesApi createActionRule POST /v1/action-rules
ActionRulesApi deleteActionRule DELETE /v1/action-rules/{id}
ActionRulesApi listActionRules GET /v1/action-rules A bot's rules plus the workspace's (or only the workspace's without bot_id)
AdminApi addAdminDeviceKey POST /v1/admin/devices Add this device's key (owner only; a fresh passkey, Face ID or sign-in, not the PIN)
AdminApi adminAbuseEvents GET /v1/admin/abuse Recent abuse signals and actions (owner only)
AdminApi adminAddWaitlistEntries POST /v1/admin/waitlist/entries Let addresses in by hand (owner only)
AdminApi adminAdmitWaitlist POST /v1/admin/waitlist/admit Let people in: chosen entries, or the next N (owner only)
AdminApi adminAppBrowser GET /v1/admin/app-browser The phone browser's stage and the numbers its stage rules read (owner only)
AdminApi adminAppConfig GET /v1/admin/app-config Remote app settings (owner only)
AdminApi adminApproveDomainOrder POST /v1/admin/domain-orders/{id}/approve Approve a new workspace's first purchase so it registers (instance owners)
AdminApi adminAttention GET /v1/admin/attention What waits for the owner in each admin section, as counts (owner only)
AdminApi adminBot GET /v1/admin/admin-bot The admin bot: which bot may propose admin actions in the owner's chat (owner only)
AdminApi adminBrowserGuard GET /v1/admin/browser-guard The browser guard's added sites and its built-in ones (owner only; D-374)
AdminApi adminCallLimits GET /v1/admin/call-limits Live-call and ring limits: saved values, defaults and what's in use (owner only; D-426)
AdminApi adminCapacity GET /v1/admin/capacity Server capacity: host memory, computers' share of their budget, 30-day peaks and a forecast (owner only)
AdminApi adminCloudModels GET /v1/admin/models The models Casama Cloud runs (owner only)
AdminApi adminConnectionSettings GET /v1/admin/connections How apps without their own sign-in connect (owner only)
AdminApi adminCostKeys GET /v1/admin/costs/keys The server's own paid credentials by name, with what each spent (owner only)
AdminApi adminCosts GET /v1/admin/costs What the server spent, by service, key, app, feature, model or workspace (owner only)
AdminApi adminCostsExport GET /v1/admin/costs/export The same view as CSV (owner only)
AdminApi adminCreateInviteCampaign POST /v1/admin/invite-campaigns Make a campaign invite code with a total (owner only)
AdminApi adminDecisionResults GET /v1/admin/decisions/results Shadow and live decision results against what really happened (owner only)
AdminApi adminDecisions GET /v1/admin/decisions Decision model settings (owner only)
AdminApi adminDeviceChallenge POST /v1/admin/checks/device/challenge A one-time challenge for this device's key (owner only)
AdminApi adminDeviceCheck POST /v1/admin/checks/device Check the device's signature and record it on this sign-in session (owner only)
AdminApi adminDeviceKeys GET /v1/admin/devices Devices that confirm the owner with the screen lock (owner only)
AdminApi adminDomains GET /v1/admin/domains Every domain, the registrar balance and orders that need attention (instance owners)
AdminApi adminEmailCopy GET /v1/admin/email-copy The words of the welcome emails and gallery digest, and the defaults (owner only)
AdminApi adminGrowth GET /v1/admin/growth Signups, active people, first steps, coming back, money and failures (owner only)
AdminApi adminInactivity GET /v1/admin/inactivity Inactive-account steps and the last daily run (owner only)
AdminApi adminInviteCampaigns GET /v1/admin/invite-campaigns Campaign invite codes (owner only)
AdminApi adminLinkServers GET /v1/admin/link/servers Every linked server on this cloud (owner only)
AdminApi adminLiveGa4 GET /v1/admin/live/ga4 Google Analytics 4 realtime active users over the last 30 minutes (owner only)
AdminApi adminLiveOnline GET /v1/admin/live/online Signed-in users currently online from our own presence table (owner only)
AdminApi adminMailAddresses GET /v1/admin/mail Hosted bot addresses with recent sending health (owner only)
AdminApi adminMailReservedNames GET /v1/admin/mail-reserved-names Instance-added reserved mail names (owner only)
AdminApi adminMargin GET /v1/admin/margin Usage charged against what it cost the server (owner only)
AdminApi adminModelAccess GET /v1/admin/model-access Whether Cloud workspaces may use their own model providers and whether Casama's models are on per plan (owner only)
AdminApi adminModelCatalog GET /v1/admin/model-catalog The model catalog: saved values and the ones in code (owner only; D-373)
AdminApi adminOrgs GET /v1/admin/orgs Workspaces with their limits and spend
AdminApi adminOverview GET /v1/admin/overview Instance totals (owner only)
AdminApi adminPasskeyCheck POST /v1/admin/checks/passkey Record a passkey check on this sign-in session (owner only)
AdminApi adminPin GET /v1/admin/pin Whether the owner has an admin PIN (owner only)
AdminApi adminPinCheck POST /v1/admin/checks/pin Check the admin PIN and record it on this sign-in session (owner only)
AdminApi adminPriceTables GET /v1/admin/price-tables Cost tables and domain sale settings (owner only; D-373)
AdminApi adminPricing GET /v1/admin/pricing Plans, credit packs and the usage markup (owner only)
AdminApi adminRemoteAccess GET /v1/admin/remote-access This server's public address through Casama Link, and whether it works (owner only)
AdminApi adminRemoveWaitlistEntry DELETE /v1/admin/waitlist/entries/{id} Remove an entry; a removed address can no longer sign up (owner only)
AdminApi adminReplaceDataKeys POST /v1/admin/encryption/replace-keys Replace every data key on this server (instance owner), after a database leak; rows are resealed in the background
AdminApi adminRetryDomainOrder POST /v1/admin/domain-orders/{id}/retry Try a stuck order again: its registration, or its refund (instance owners)
AdminApi adminServices GET /v1/admin/services Configured providers and system health
AdminApi adminSetAppConfig PUT /v1/admin/app-config Replace the remote app settings (owner only)
AdminApi adminSetEmailCopy PUT /v1/admin/email-copy Replace the words of the welcome emails and gallery digest (owner only)
AdminApi adminSetSignupGate PUT /v1/admin/signup-gate Turn the gate on or off, set its opening time and numbers (owner only)
AdminApi adminSignupGate GET /v1/admin/signup-gate The sign-up gate (owner only)
AdminApi adminSuspendDomain POST /v1/admin/domains/{id}/suspend Suspend a domain for abuse: its sites stop and its records are removed (instance owners)
AdminApi adminUnsuspendDomain POST /v1/admin/domains/{id}/unsuspend Lift a domain's suspension (instance owners)
AdminApi adminUpdateInviteCampaign PATCH /v1/admin/invite-campaigns/{code} Change a campaign code's total, dates or name, or turn it off (owner only)
AdminApi adminUpdates GET /v1/admin/updates Whether a newer Casama release exists
AdminApi adminUsers GET /v1/admin/users Everyone on this instance
AdminApi adminVendors GET /v1/admin/vendors Vendor usage (owner only)
AdminApi adminWaitlist GET /v1/admin/waitlist The waitlist: numbers, the gate and a page of entries (owner only)
AdminApi announceInactivity POST /v1/admin/inactivity/announce Email every account the inactive-account rule, once (owner only)
AdminApi approveHeldCreation POST /v1/admin/creations/{id}/approve Approve a public page the phishing and malware check held: visitors see it again (owner only; D-550)
AdminApi checkAdminVendor POST /v1/admin/vendors/{vendor}/check
AdminApi checkRemoteAccess POST /v1/admin/remote-access/check Check the address now: Casama Cloud, the connector, and the address from outside
AdminApi createBusinessLicense POST /v1/admin/selfhost/licenses Make a business license key (instance owner); the key is shown once and emailed
AdminApi getSupportWebStats GET /v1/admin/support-web Today's use of the website assistant and the questions it couldn't answer (instance owners)
AdminApi listContentReports GET /v1/admin/content-reports Reports from inside the app, open first (instance owners)
AdminApi listFeedback GET /v1/admin/feedback Feedback sent from the app, newest first (instance owners)
AdminApi listReportedCreations GET /v1/admin/reports Public links people reported, most reported first (owner only; D-281)
AdminApi listSelfhostLicenses GET /v1/admin/selfhost/licenses Self-hosted licenses Casama Cloud has issued (instance owner); keys aren't shown
AdminApi listSupportTickets GET /v1/admin/support-tickets Messages sent to support from the app, newest first (instance owners)
AdminApi publishFeedback POST /v1/admin/feedback/{id}/publish Post feedback to the public ideas board and mark it done (instance owners)
AdminApi removeAdminDeviceKey DELETE /v1/admin/devices/{id} Remove a device's key (owner only)
AdminApi removeAdminPin DELETE /v1/admin/pin Remove the admin PIN (owner only; a fresh passkey or sign-in, not the PIN)
AdminApi resumeWorkspaceMail POST /v1/admin/mail/workspaces/{org_id}/resume Resume a workspace's bot email after an automatic pause for bounces or spam reports, lifting its automatically paused addresses (owner only)
AdminApi reviewContentReport POST /v1/admin/content-reports/{id} Close a report: acted on (optionally suspending the workspace) or dismissed
AdminApi revokeSelfhostLicense POST /v1/admin/selfhost/licenses/{id}/revoke Revoke a license (instance owner): its next renewal answers 403 license_revoked
AdminApi saveAppBrowser PUT /v1/admin/app-browser Change who has the phone browser and for which reasons (owner only)
AdminApi saveBrowserGuard PUT /v1/admin/browser-guard Replace the added sites; the built-in lists can't be shortened (owner only)
AdminApi saveCallLimits PUT /v1/admin/call-limits Replace the saved call limits; refused when a value is unknown or out of range
AdminApi saveCreditPack PUT /v1/admin/credit-packs/{code} Create or change a credit pack
AdminApi saveModelCatalog PUT /v1/admin/model-catalog Replace the model catalog; refused when any part fails its check (owner only)
AdminApi savePlan PUT /v1/admin/plans/{code} Create or change a plan; workspaces on it get the new limits right away
AdminApi savePriceTables PUT /v1/admin/price-tables Change cost tables or domain sale settings; fields left out keep their value
AdminApi selfhostLicenseStats GET /v1/admin/selfhost/stats Self-hosted servers at a glance for Admin Growth (instance owner)
AdminApi setAdminBot PUT /v1/admin/admin-bot Turn the admin bot on or off, or choose its bot (owner only)
AdminApi setAdminCloudModels PUT /v1/admin/models Change the models Casama Cloud runs (owner only)
AdminApi setAdminConnectionSettings PUT /v1/admin/connections Choose how apps without their own sign-in connect (owner only)
AdminApi setAdminDecisions PUT /v1/admin/decisions Change decision model settings (owner only)
AdminApi setAdminInactivity PUT /v1/admin/inactivity Set the inactive-account steps' modes (owner only)
AdminApi setAdminModelAccess PUT /v1/admin/model-access Change own-provider access and the per-plan Casama models switch (owner only)
AdminApi setAdminPin PUT /v1/admin/pin Set or change the admin PIN (owner only; a fresh passkey or sign-in, not the PIN)
AdminApi setAdminVendor PUT /v1/admin/vendors/{vendor}
AdminApi setBillingSettings PATCH /v1/admin/billing-settings Change the markup on usage paid with Casama's keys
AdminApi setFeedbackStatus POST /v1/admin/feedback/{id} Mark feedback new, read or done
AdminApi setMailAddressStatus PATCH /v1/admin/mail/addresses/{id} Pause an address, or lift a pause including an automatic one (owner only)
AdminApi setMailReservedNames PUT /v1/admin/mail-reserved-names Replace the instance-added reserved mail names (owner only)
AdminApi setOrgLimits PATCH /v1/admin/orgs/{id}/limits Set a workspace's quotas
AdminApi setRemoteAccessSettings PUT /v1/admin/remote-access/settings Casama Link settings on this server: private notifications (owner only)
AdminApi setSupportTicketStatus POST /v1/admin/support-tickets/{reference} Mark a support message closed or open again
AdminApi setUserKeep PUT /v1/admin/users/{id}/keep Keep an account whatever the inactive-account steps say (owner only)
AdminApi setUserTeam PUT /v1/admin/users/{id}/team Count an account as team, leaving it out of Growth (owner only)
AdminApi suspendLinkServer POST /v1/admin/link/servers/{id}/suspend Take a server's address down until the suspension is lifted (owner only)
AdminApi suspendOrg POST /v1/admin/orgs/{id}/suspend Suspend a workspace: stops its computers and runs, keeps its data
AdminApi takeDownCreation POST /v1/admin/creations/{id}/takedown Stop a creation's public link at once, or lift that (owner only; D-281)
AdminApi unsuspendLinkServer DELETE /v1/admin/link/servers/{id}/suspend Lift a server's suspension; it gets its tunnel back when it next checks in
AdminApi unsuspendOrg DELETE /v1/admin/orgs/{id}/suspend Lift a workspace's suspension
AppearanceApi searchWallpapers GET /v1/wallpapers Search wallpaper photos. Only when the server has a photo source configured (config.wallpapers_enabled); 404 otherwise
AppearanceApi trackWallpaperDownload POST /v1/wallpapers/download Tell the photo source a photo was chosen (Unsplash requires this)
ApprovalsApi decideApproval POST /v1/approvals/{id}/decision Approve or deny; denying cancels that step only. A watch key is refused an allow it may not give (403 watch_allow_refused, watch_always_allow) and is held to its minute (429)
ApprovalsApi listApprovals GET /v1/approvals
AttributionApi getAttributionStatus GET /v1/attribution/status Whether ad measurement is offered and on here, and the person's credited source
AttributionApi postAttributionInstall POST /v1/attribution/install Record this install (or browser) and where it came from, after sign-in
AttributionApi postCheckoutIntent POST /v1/attribution/checkout The person and install that pressed Buy, so the next charge is credited to them
AttributionApi postHeardFrom POST /v1/attribution/heard-from The answer to "How did you hear about us?" (or a skip)
AttributionApi setAdsMeasurement PUT /v1/me/ads-measurement Turn "Help measure our ads" on or off
AuthApi createSignInCode POST /v1/auth/pairing-codes A one-time code that signs another device in to this account (shown as a QR code)
AuthApi redeemSignInCode POST /v1/auth/pairing-codes/redeem Trade a scanned code for a one-time sign-in token (no sign-in needed)
BillingApi billingPortal POST /v1/orgs/{id}/billing/portal Open the customer portal for a web subscription
BillingApi billingUsage GET /v1/orgs/{id}/billing/usage This month's bill: billable usage by kind and instance, and recent credit entries
BillingApi createCheckout POST /v1/orgs/{id}/billing/checkout Start a web checkout (Dodo Payments) for a plan or credit pack
BillingApi createLinkKey POST /v1/orgs/{id}/link/keys Create a Casama Link key (shown once)
BillingApi getBilling GET /v1/orgs/{id}/billing The workspace's plan, entitlement, subscriptions and credits
BillingApi listLinkKeys GET /v1/orgs/{id}/link/keys Casama Link keys for self-hosted instances
BillingApi listPlans GET /v1/billing/plans Plans and credit packs on this server
BillingApi previewPlanChange POST /v1/orgs/{id}/billing/preview Preview the immediate charge and renewal price for changing an active web subscription
BillingApi revokeLinkKey DELETE /v1/orgs/{id}/link/keys/{key_id}
BillingApi setBillingSeats PUT /v1/orgs/{id}/billing/seats Pay for more or fewer people than the plan includes (web subscriptions on Pro or Max)
BillingApi verifyPurchase POST /v1/orgs/{id}/billing/purchases Verify an App Store or Google Play purchase (also used by Restore Purchases)
BotsApi createBot POST /v1/bots
BotsApi createBotShare POST /v1/bots/{id}/share Make a share link for a bot template (a snapshot; anyone signed in with the link can import it)
BotsApi exportBot GET /v1/bots/{id}/export A bot as a shareable template file (no secrets; memories only when asked)
BotsApi generateBotPictures POST /v1/bots/{id}/images/generate Draw pictures for a bot with AI
BotsApi getBotAccess GET /v1/bots/{id}/access Who can chat with, edit or administer this bot
BotsApi getBotImage GET /v1/bot-images/{id} A bot's picture (no token; cached for good)
BotsApi getBotPictureOriginal GET /v1/bots/{id}/images/{image_id}/original The picture before it was cropped, for Re-crop
BotsApi getBotPlaces GET /v1/bots/{id}/places Where this bot can work for you: its own computer and each of your computers that lets it in, with your choice
BotsApi getBotShare GET /v1/bot-shares/{token} Read a shared bot template, to preview before importing
BotsApi getBotStarters GET /v1/bots/{id}/starters Starter requests for an empty chat with this bot, written for you
BotsApi importBot POST /v1/bots/import Create a bot from a template file
BotsApi listBotPictures GET /v1/bots/{id}/images A bot's recent pictures, the one in use first, then by when they were last used
BotsApi listBots GET /v1/bots
BotsApi listTemplates GET /v1/templates
BotsApi removeBotPicture DELETE /v1/bots/{id}/image Stop using a picture: back to the mascot it had before, or its initials
BotsApi setBotAccess PUT /v1/bots/{id}/access Replace the bot's visibility and access list
BotsApi setBotPicture PUT /v1/bots/{id}/image Give a bot a picture of its own
BotsApi setBotPlacePreference PUT /v1/bots/{id}/places/preference Choose where this bot works for you (Works on), and which of your computers it uses
BotsApi startBotSetup POST /v1/bots/{id}/setup Start (or rerun) the bot's setup interview in a new conversation
BotsApi startWelcome POST /v1/welcome A new person's personal workspace, bot and welcome chat; the same chat again if it exists
BotsApi useBotPicture POST /v1/bots/{id}/images/{image_id}/use Switch to one of the bot's recent or drawn pictures (also how Undo works)
BrowserApi createHighlight POST /v1/me/highlights
BrowserApi createPageCommand POST /v1/me/page-commands
BrowserApi deleteHighlight DELETE /v1/me/highlights/{id}
BrowserApi deletePageCommand DELETE /v1/me/page-commands/{id}
BrowserApi getPageHistory GET /v1/me/page-history Your past chats that started from this page, and your highlights on it
BrowserApi listHighlights GET /v1/me/highlights Your highlights in a workspace, newest first; one page's when url is given
BrowserApi listPageCommands GET /v1/me/page-commands Your saved prompts for the / menu in Casama for Chrome
BrowserApi updatePageCommand PATCH /v1/me/page-commands/{id}
CardsApi getCardPrefs GET /v1/me/card-prefs The person's home city and units for cards
CardsApi getLiveCards GET /v1/live-cards The latest data of the live cards on screen (up to 20 ids, comma separated)
CardsApi listFareWatches GET /v1/me/fare-watches The person's active price watches
CardsApi pinLiveCard POST /v1/live-cards/{id}/pin Pin a card to the person's widgets: a Canvas the server keeps fresh without the bot (the bot's widget permission applies)
CardsApi refreshLiveCard POST /v1/live-cards/{id}/refresh Fetch a card's data again (through the shared cache), or another of its views. No model call; a failed fetch returns the last card marked stale with the reason
CardsApi reportLiveCard POST /v1/live-cards/{id}/report Report wrong data on a card (its provider and data are kept, no words)
CardsApi searchAirports GET /v1/airports Cities and airports matching what was typed, for a flight search's place fields (from the server's own airport list)
CardsApi searchPlaces GET /v1/places Cities matching a name, for picking a home city
CardsApi unpinLiveCard DELETE /v1/live-cards/{id}/pin Take a pinned card off the widgets
CardsApi unwatchLiveCard DELETE /v1/live-cards/{id}/watch Stop watching a Fares card's price
CardsApi updateCardPrefs PUT /v1/me/card-prefs Set the person's home city (a city, never a street) and units for cards
CardsApi watchLiveCard POST /v1/live-cards/{id}/watch Watch a Fares card's price: the server checks it every few hours (free providers only) and pushes when it drops. Up to 5 watches per workspace
CasamaLinkApi approveLinkSignIn POST /v1/orgs/{id}/link/sign-ins/approve Link the server that shows this code to the workspace (admins)
CasamaLinkApi getLinkSignIn GET /v1/link/sign-ins/{user_code} The server a link code belongs to, shown before approving
CasamaLinkApi listLinkServers GET /v1/orgs/{id}/link/servers Servers linked to the workspace and their addresses (admins)
CasamaLinkApi removeLinkServer DELETE /v1/orgs/{id}/link/servers/{server_id} Remove a server's address, also when the server is offline or gone
ChannelsApi createChannel POST /v1/channels Connect a chat app to a bot
ChannelsApi deleteChannel DELETE /v1/channels/{id}
ChannelsApi deleteChatLink DELETE /v1/chat-links/{id} Disconnect a Telegram or Discord account
ChannelsApi listChannelEvents GET /v1/channels/{id}/events Recent messages in and out, including ignored senders
ChannelsApi listChannels GET /v1/channels A bot's chat apps
ChannelsApi listChatLinks GET /v1/chat-links Your Telegram and Discord accounts connected to Casama's own bots
ChannelsApi startDiscordLink POST /v1/chat-links/discord/start Discord's sign-in, which connects your Discord to Casama's Discord app
ChannelsApi startSlackInstall GET /v1/channels/slack/install Add Casama's Slack app to a Slack workspace for this bot (D-277)
ChannelsApi startTelegramLink POST /v1/chat-links/telegram/start A one-time link that connects your Telegram to Casama's Telegram bot
ChannelsApi updateChannel PATCH /v1/channels/{id}
ChannelsApi updateChatLink PATCH /v1/chat-links/{id} Choose which bot your messages go to
ChatApi createConversation POST /v1/conversations
ChatApi deleteBotConversations DELETE /v1/bots/{id}/conversations Delete every direct conversation with a bot that you may delete
ChatApi deleteConversation DELETE /v1/conversations/{id} Delete a conversation and its messages
ChatApi deleteMessage DELETE /v1/conversations/{id}/messages/{message_id} Delete one message from a conversation
ChatApi editMessage POST /v1/conversations/{id}/messages/{message_id}/edit Edit a sent message: forks the conversation there and reruns it (the old branch stays)
ChatApi exportConversation GET /v1/conversations/{id}/export Download a chat as Markdown or JSON (D-282)
ChatApi getChatMedia GET /v1/media/{id} A chat file's bytes, in its own content type; one byte range honoured (cached for good)
ChatApi getChatMediaPoster GET /v1/media/{id}/poster A video's poster (a JPEG still) for its chat card; 404 for other files (cached for good)
ChatApi getConversationThread GET /v1/conversations/{id}/thread The branch being shown, oldest first (what conversation_thread returns, with content opened)
ChatApi listConversations GET /v1/bots/{id}/conversations
ChatApi listGroupChats GET /v1/group-chats Group chats in a workspace that you can see
ChatApi listMessageReactions GET /v1/conversations/{id}/messages/{message_id}/reactions Who reacted to a message, and with what
ChatApi removeReaction DELETE /v1/conversations/{id}/messages/{message_id}/reaction Take back your reaction to a message
ChatApi sendMessage POST /v1/conversations/{id}/messages Send a message; starts a run
ChatApi setReaction PUT /v1/conversations/{id}/messages/{message_id}/reaction React to a message with an emoji
ChatApi shareConversation POST /v1/conversations/{id}/share Make or stop a public read-only link to a chat (D-282)
ChatApi switchBranch POST /v1/conversations/{id}/branch Show another branch of the conversation (its newest message under the given one)
ChatApi updateConversation PATCH /v1/conversations/{id} Rename or pin a conversation
ChatApi uploadMedia POST /v1/media Upload a picture or file for a message (media:<id>), or save one to the Library; the body is the raw bytes
CheckinsApi acceptSuggestion POST /v1/suggestions/{id}/accept Have the bot do it, through normal approvals
CheckinsApi dismissSuggestion POST /v1/suggestions/{id}/dismiss
CheckinsApi getBotCheckins GET /v1/bots/{id}/checkins
CheckinsApi getForYou GET /v1/for-you Your feed in a workspace: the latest briefs, pending suggestions and approvals
CheckinsApi setBotCheckins PUT /v1/bots/{id}/checkins Turn a bot's morning brief and scans on or off, and set their times and daily cap
CommunityApi getStarAsk GET /v1/me/star-ask Whether the app may ask you once to star Casama on GitHub, and whether you're a developer
CompsApi adminCompSettings GET /v1/admin/comp-settings Free plan settings (instance owner)
CompsApi createAdminCompCode POST /v1/admin/comp-codes Make a gift code for one plan and length; the code is shown only once (instance owner)
CompsApi grantAdminComp POST /v1/admin/comps Give someone a plan free for some months (instance owner)
CompsApi listAdminCompCodes GET /v1/admin/comp-codes Gift codes and how often they were used (instance owner)
CompsApi listAdminComps GET /v1/admin/comps Free plans, running first (instance owner)
CompsApi previewCompCode GET /v1/comp/preview What a gift code gives (no sign-in)
CompsApi redeemCompCode POST /v1/me/comp/redeem Redeem a gift code into a workspace you own (web and desktop only)
CompsApi setAdminCompSettings PUT /v1/admin/comp-settings Change free plan settings (instance owner)
CompsApi updateAdminComp PATCH /v1/admin/comps/{id} Extend or end a free plan (instance owner)
CompsApi updateAdminCompCode PATCH /v1/admin/comp-codes/{id} Disable a gift code or change its limits (instance owner)
ComputersApi applyComputerUpdate POST /v1/computers/{id}/apply-update Restart the computer on the newer system now (D-360): files are kept, open windows and programs close. 409 no_update when it's already up to date, computer_busy while a command runs (unless force).
ComputersApi cleanComputerStorage POST /v1/computers/{id}/storage/clean Free up space: removes caches and temporary files (never files in ~/workspace)
ComputersApi computerBots GET /v1/computers/{id}/bots The bots that use this computer
ComputersApi computerFilePdfPreview GET /v1/computers/{id}/files/pdf-preview A document (Word, Excel, PowerPoint, OpenDocument, RTF) as a PDF, for previewing
ComputersApi computerFileThumbnail GET /v1/computers/{id}/files/thumbnail A small JPEG or PNG of a video's first frame, an image or a PDF's first page
ComputersApi computerHistory GET /v1/computers/{id}/history What happened to the computer, newest first
ComputersApi computerScreenshot GET /v1/computers/{id}/screenshot PNG of the desktop, or of the bot's browser page on headless computers
ComputersApi computerStorage GET /v1/computers/{id}/storage What takes up the home folder. Never wakes the computer.
ComputersApi computerStream GET /v1/computers/{id}/stream WebSocket live-view signaling (Neko protocol). Authenticated by the stream-session token; input is accepted only in control mode while you hold the lease.
ComputersApi computerTerminal GET /v1/computers/{id}/terminal WebSocket terminal. Binary frames carry terminal bytes both ways. Browsers may pass the access token as ?access_token=.
ComputersApi computerUsage GET /v1/computers/{id}/usage Time on and its cost this month, by day
ComputersApi computerVitals GET /v1/computers/{id}/vitals CPU, memory and disk right now. Never wakes the computer or counts as activity.
ComputersApi createCheckpoint POST /v1/computers/{id}/checkpoints
ComputersApi createComputer POST /v1/computers Create a private computer for a bot (or the team computer if it was removed)
ComputersApi createStreamSession POST /v1/computers/{id}/stream-session Get a 5-minute live-view session (signaling URL, token, TURN credentials)
ComputersApi deleteComputer DELETE /v1/computers/{id} Delete a computer and its files, snapshots and checkpoints
ComputersApi deleteComputerFile DELETE /v1/computers/{id}/files
ComputersApi dismissTakeover POST /v1/takeovers/{id}/dismiss Decline a takeover request; the bot continues without help
ComputersApi downloadComputerArchive GET /v1/computers/{id}/files/archive Download every file in ~/workspace as one .zip (up to 1 GB)
ComputersApi downloadComputerFile GET /v1/computers/{id}/files Download a file
ComputersApi downloadSavedFiles GET /v1/computers/{id}/saved-files Download a sleeping computer's saved files as a .tar.gz
ComputersApi getComputer GET /v1/computers/{id}
ComputersApi getLease GET /v1/computers/{id}/lease Who controls the screen (the bot unless a person took over)
ComputersApi listCheckpoints GET /v1/computers/{id}/checkpoints
ComputersApi listComputerFiles GET /v1/computers/{id}/files/list List a directory (default ~/workspace)
ComputersApi listComputerProcesses GET /v1/computers/{id}/processes Programs running now, busiest first. Never wakes the computer.
ComputersApi listComputers GET /v1/computers
ComputersApi listTakeovers GET /v1/takeovers Open requests from bots for a person to take over a screen
ComputersApi releaseLease DELETE /v1/computers/{id}/lease Hand control back to the bot, optionally with a note
ComputersApi resetComputer POST /v1/computers/{id}/reset Reset the computer in the background: a restore point, then a fresh system (and, to erase, an empty home folder). Follow `operation` on the computer.
ComputersApi restartComputer POST /v1/computers/{id}/restart Sleep and start again with the same files
ComputersApi restoreCheckpoint POST /v1/computers/{id}/checkpoints/{cid}/restore Undo to a checkpoint (replaces the home directory)
ComputersApi shareTakeoverLogin POST /v1/takeovers/{id}/login Answer a takeover with a login instead: saved to Vault for that bot and site only, then the bot signs in itself
ComputersApi startComputer POST /v1/computers/{id}/start Start or restore the computer
ComputersApi stopComputer POST /v1/computers/{id}/stop Save the home directory to storage and stop (sleep)
ComputersApi stopComputerProcess POST /v1/computers/{id}/processes/{pid}/stop Stop a program (asks it to quit, then forces it after 3 seconds)
ComputersApi takeLease POST /v1/computers/{id}/lease Take control (or renew it). The bot pauses screen actions; control returns after 15 minutes without renewal.
ComputersApi updateComputer PATCH /v1/computers/{id}
ComputersApi uploadComputerFile PUT /v1/computers/{id}/files Upload a file (request body is the raw contents, up to 100 MB)
CreationsApi deleteCreation DELETE /v1/creations/{id} Hides it now; the bytes go after 30 days unless it's restored
CreationsApi duplicateCreation POST /v1/creations/{id}/duplicate A private copy to change while the original stays as it is (D-291)
CreationsApi getCreation GET /v1/creations/{id}
CreationsApi getCreationContent GET /v1/creations/{id}/content The bytes (pictures, videos, sound; one byte range honoured). Pages open by view link
CreationsApi getCreationCover GET /v1/creations/{id}/cover The picture for its card, when it has one (has_cover). Also takes `Authorization: Widget <key>` for a creation in the key's workspace (D-405)
CreationsApi getCreationPreview GET /v1/creations/{id}/preview A PDF of a document, made when it was kept, so it opens without its computer (D-280)
CreationsApi listCreations GET /v1/creations The Library: things bots made that you can open, newest first (D-274)
CreationsApi restoreCreation POST /v1/creations/{id}/restore
CreationsApi updateCreation PATCH /v1/creations/{id} Rename, relabel, pin or mark opened
CredentialsApi completeChatGptSignIn POST /v1/credentials/chatgpt/complete Finish ChatGPT sign-in; the server exchanges the code and keeps the tokens in Vault
CredentialsApi createCredential POST /v1/credentials Store a model key in Vault; returns metadata only
CredentialsApi deleteCredential DELETE /v1/credentials/{id} Delete a credential and its Vault secret (a ChatGPT sign-in is revoked first)
CredentialsApi listCredentialModels GET /v1/credentials/{id}/models Models this key can use, recommended ones first
CredentialsApi listCredentials GET /v1/credentials
CredentialsApi startChatGptSignIn POST /v1/credentials/chatgpt/start Begin ChatGPT sign-in; returns the authorize URL for a loopback callback
CredentialsApi testCredential POST /v1/credentials/{id}/test Validate a key with a 1-token call
CredentialsApi updateCredential PATCH /v1/credentials/{id} Rename a credential or change its settings
DevicesApi answerDeviceRequest POST /v1/device-requests/{id}/result
DevicesApi askDevicePermission POST /v1/device-permissions/{type}/{id}/ask Ask one of your devices to show a permission's prompt, open its settings or restart Casama
DevicesApi createDeviceRequest POST /v1/device-requests Ask your own browser for its current tab (the desktop app's quick ask on Windows and Linux)
DevicesApi deleteDevicePlace DELETE /v1/device-places/{id}
DevicesApi deleteDeviceSource DELETE /v1/device-sources/{key} Forget this device and everything it shared
DevicesApi getBotModelPrivacy GET /v1/bots/{id}/model-privacy Whether every model a bot uses runs on a private server
DevicesApi listBrowserTriggers GET /v1/device-triggers/browser What your routines start on in the browser
DevicesApi listDeviceGrants GET /v1/device-grants Which bots may read which kinds of your device data
DevicesApi listDevicePermissions GET /v1/device-permissions System permissions on each of your own devices, as they last reported them
DevicesApi listDevicePlaces GET /v1/device-places Your named places
DevicesApi listDeviceReadings GET /v1/device-readings What your devices have shared
DevicesApi listDeviceRequests GET /v1/device-sources/{key}/requests Work waiting for this device
DevicesApi listDeviceSources GET /v1/device-sources Your devices that share data
DevicesApi reportDeviceEvents POST /v1/device-sources/{key}/events Report events that start device-triggered routines
DevicesApi reportDevicePermissions PUT /v1/device-permissions/{type}/{id} This device's system permissions as they are now (checked without prompting)
DevicesApi saveDevicePlace POST /v1/device-places Add or update a named place (up to 20)
DevicesApi saveDeviceSource PUT /v1/device-sources/{key} Register this device and the kinds it shares; kinds turned off lose their data
DevicesApi setDeviceGrant PUT /v1/device-grants Allow or stop a bot reading one kind of your device data
DevicesApi snoozeDevicePermissions POST /v1/device-permissions/{type}/{id}/snooze Not now: this bot doesn't ask for these permissions on this device for 24 hours
DevicesApi updateDeviceQuiet PATCH /v1/devices/{id} Hold proactive check-ins for a device while a Focus filter is active
DevicesApi uploadDeviceReadings POST /v1/device-sources/{key}/readings Upload summaries (re-uploading the same external_id replaces it)
DomainsApi addDomainRecord POST /v1/domains/{id}/records Add a DNS record to a bought domain (admins)
DomainsApi checkDomain POST /v1/domains/{id}/check Check a domain's DNS now (admins; at most once every 10 seconds)
DomainsApi connectDomain POST /v1/orgs/{id}/domains Connect a domain the workspace owns (admins); answers the records to add
DomainsApi deleteDomain DELETE /v1/domains/{id} Disconnect a domain (admins). A bought domain stays registered; only its site link goes
DomainsApi deleteDomainRecord DELETE /v1/domains/{id}/records/{record_id} Delete a DNS record of a bought domain (admins); the site's own records are locked
DomainsApi domainCheckout POST /v1/orgs/{id}/domains/checkout Buy a domain (admins): a checkout for exactly its price, or a charge on the saved method
DomainsApi getDomain GET /v1/domains/{id} A domain: its hosts, the records to add with what DNS shows now, and its history
DomainsApi getDomainContact GET /v1/orgs/{id}/domain-contact The registrant's details for the workspace's domains (admins)
DomainsApi getDomainOrder GET /v1/domain-orders/{id} A domain order and where it is (admins of its workspace)
DomainsApi listDomainRecords GET /v1/domains/{id}/records A bought domain's DNS records, read live from the registrar (admins)
DomainsApi listDomains GET /v1/orgs/{id}/domains The workspace's connected and bought domains
DomainsApi putDomainContact PUT /v1/orgs/{id}/domain-contact Save the registrant's details (admins); bought domains are updated at the registrar too
DomainsApi renewDomain POST /v1/domains/{id}/renew Renew Now (admins): a checkout for one more year at today's price
DomainsApi resendDomainVerification POST /v1/domains/{id}/verify-email Send the registrant verification email again (admins)
DomainsApi searchDomains GET /v1/domains/search Names, whether they're free, and their prices (admins; 30 a minute)
DomainsApi transferOutDomain POST /v1/domains/{id}/transfer-out Move to Another Registrar (the workspace owner, signed in within 10 minutes): unlocks and returns the transfer code once
DomainsApi updateDomain PATCH /v1/domains/{id} Point a domain at a site, choose its primary host, or turn renewal on or off (admins)
DomainsApi updateDomainRecord PATCH /v1/domains/{id}/records/{record_id} Change a DNS record of a bought domain (admins); the site's own records are locked
EncryptionApi adminReplaceDataKeys POST /v1/admin/encryption/replace-keys Replace every data key on this server (instance owner), after a database leak; rows are resealed in the background
EncryptionApi getEncryption GET /v1/orgs/{id}/encryption Encryption at rest for a workspace
EncryptionApi replaceEncryptionKey POST /v1/orgs/{id}/encryption/replace-key Replace the workspace's data key (owners); rows are resealed onto the new key in the background
EncryptionApi rotateEncryptionKey POST /v1/orgs/{id}/encryption/rotate Rewrap the workspace's data key with the server's current key (rows are not rewritten)
EncryptionApi setEncryption PUT /v1/orgs/{id}/encryption Turn encryption at rest on or off (owners); existing rows are sealed or opened in the background
FilesApi createFileKey POST /v1/file-keys Create a read-only File Provider key (cfk_…) shown once, for browsing and downloading computer files in Files and Finder
FilesApi deleteFileKey DELETE /v1/file-keys/{id} Revoke a read-only File Provider key (sign-out)
FilesApi deleteGitSync DELETE /v1/orgs/{id}/git-sync
FilesApi exportWorkspaceFiles POST /v1/orgs/{id}/files/export Routines and skills as Markdown files, zipped
FilesApi getGitSync GET /v1/orgs/{id}/git-sync
FilesApi importWorkspaceFiles POST /v1/orgs/{id}/files/import Create and update routines and skills from files (dry_run shows what would change)
FilesApi listFileKeys GET /v1/file-keys List your read-only File Provider keys
FilesApi runGitSync POST /v1/orgs/{id}/git-sync/run Sync on the worker's next minute
FilesApi setGitSync PUT /v1/orgs/{id}/git-sync
GalleryApi createGalleryRequest POST /v1/gallery/requests Ask for something the gallery doesn't have (a similar request is returned instead)
GalleryApi createGallerySubmission POST /v1/gallery/submissions Submit a look, skill, routine or bot to the gallery (opens a pull request for review)
GalleryApi decideGalleryApproval POST /v1/gallery-approvals/{id}/decision Approve (which adds the item) or deny a gallery request (owners and admins)
GalleryApi getGalleryItem GET /v1/gallery/{type}/{id} One gallery item, including the document the app applies
GalleryApi getGalleryPolicy GET /v1/orgs/{id}/gallery-policy What members may add from the gallery
GalleryApi getGalleryStats GET /v1/gallery/stats How many people use each gallery item, aggregate only (no sign-in)
GalleryApi installGalleryItem POST /v1/gallery/install Add a gallery item with its install questions; needed skills come along, needed apps come back in missing
GalleryApi installGallerySet POST /v1/gallery/sets/{id}/install Add every workspace item of a starter set
GalleryApi listGallery GET /v1/gallery Themes, color schemes, wallpapers and skills from the open gallery (D-184)
GalleryApi listGalleryApprovals GET /v1/orgs/{id}/gallery-approvals Gallery items members asked to add (admins see all, members their own)
GalleryApi listGalleryAuthors GET /v1/gallery/authors The gallery's authors and what each made
GalleryApi listGalleryInstalled GET /v1/gallery/installed What this workspace added from the gallery, with updates and retired items
GalleryApi listGalleryLists GET /v1/gallery/lists Content lists from the gallery: search words and empty-state starters (D-372)
GalleryApi listGalleryRequests GET /v1/gallery/requests What people asked the gallery to have
GalleryApi listGallerySets GET /v1/gallery/sets Starter sets: a few gallery items that go well together
GalleryApi listGallerySubmissions GET /v1/gallery/submissions My gallery submissions and their review status
GalleryApi listMyGalleryItems GET /v1/gallery/me/items Gallery items I made (from merged submissions), with their full stats
GalleryApi markGalleryItemUsed POST /v1/gallery/{type}/{id}/used Count a look as used on this device (counted once per person, aggregate only)
GalleryApi removeGalleryInstalled DELETE /v1/gallery/installed/{type}/{id} Remove what this workspace added from a gallery item
GalleryApi setGalleryPolicy PUT /v1/orgs/{id}/gallery-policy Change what members may add from the gallery (owners and admins)
GalleryApi unvoteGalleryRequest DELETE /v1/gallery/requests/{id}/vote Take back a vote
GalleryApi updateGalleryInstalled POST /v1/gallery/installed/update Update an installed item to the gallery's latest (409 access_changed when it can touch more or is breaking)
GalleryApi updateGalleryRequest PATCH /v1/gallery/requests/{id} Set a request's status (instance owners)
GalleryApi voteGalleryRequest POST /v1/gallery/requests/{id}/vote Vote for a request
ImportApi getMemoryImportPrompt GET /v1/memory-import/prompt The prompt to paste into ChatGPT or Claude to get your saved memories
ImportApi getPasteImportPrompt GET /v1/bot-imports/paste/prompt The prompt to send a Grok Bot, Muse, Dots, Duet, Hark or Instinct so it describes its own setup
ImportApi parseMemoryImport POST /v1/memory-import/parse
ImportApi pasteBotImport POST /v1/bot-imports/paste Read a pasted bot setup into a bot template for review
ImportApi saveImportedMemories POST /v1/bots/{id}/memories/import Add the memories the person kept
ImportApi startAgentImport POST /v1/agent-imports Read an OpenClaw or Hermes Agent folder into a bot template for review
ImportApi writeAgentImportFiles POST /v1/agent-imports/{id}/files Copy the files nothing mapped to into ~/imported/ on the bot's computer
IntegrationsApi answerMcpQuestion POST /v1/mcp-questions/{id}/answer Answer a connected MCP server's question (or decline it); the bot's call continues with it
IntegrationsApi attachIntegration POST /v1/bots/{id}/integrations Let a bot use an integration's tools (optionally only some)
IntegrationsApi connectApp POST /v1/apps/connect Connect a built-in app: with an API key at once, or start an OAuth sign-in
IntegrationsApi connectProviderApp POST /v1/integrations/{id}/provider/connect Add an app to a Composio or Pipedream connection and start signing in to it
IntegrationsApi connectServer POST /v1/apps/connect-server Connect an MCP server by address: at once, with a key, or start a browser sign-in
IntegrationsApi connectStatus GET /v1/apps/connect/{id} Whether an OAuth sign-in has finished
IntegrationsApi createIntegration POST /v1/integrations Add an MCP server, OpenAPI source, Composio or Pipedream Connect
IntegrationsApi deleteIntegration DELETE /v1/integrations/{id} Disconnect: removes it from every bot and deletes its stored credential
IntegrationsApi listApps GET /v1/apps Built-in apps (vendors' hosted MCP servers) people can connect in one step
IntegrationsApi listIntegrations GET /v1/integrations
IntegrationsApi listProviderAccounts GET /v1/integrations/{id}/provider/accounts Accounts signed in through a Composio or Pipedream connection
IntegrationsApi listProviderApps GET /v1/integrations/{id}/provider/apps Search a Composio or Pipedream connection's app directory
IntegrationsApi probeServer POST /v1/apps/probe How an MCP server at an address lets people in: nothing, a browser sign-in, or a key
IntegrationsApi testIntegration POST /v1/integrations/{id}/test List tools to prove the connection works (refreshes the tool cache)
IntegrationsApi updateIntegration PATCH /v1/integrations/{id}
KnowledgeApi createKnowledgeSource POST /v1/knowledge-sources Add files, a website, a GitHub repository or documents from a connection; the worker reads it within a minute
KnowledgeApi deleteKnowledgeSource DELETE /v1/knowledge-sources/{id}
KnowledgeApi listKnowledgeSources GET /v1/knowledge-sources A bot's knowledge sources and the workspace's shared ones
KnowledgeApi resyncKnowledgeSource POST /v1/knowledge-sources/{id}/sync
LimitResetsApi actionAdminLimitResetCampaign POST /v1/admin/limit-resets/{id}/action Schedule, pause, resume, cancel or delete a draft (instance owner)
LimitResetsApi actionAdminWorkspaceLimitReset POST /v1/admin/limit-resets/resets/{id}/action Revoke an unused reset or undo unspent refill credit (instance owner)
LimitResetsApi adminLimitResetCampaigns GET /v1/admin/limit-resets List reset campaigns (instance owner)
LimitResetsApi adminLimitResetEvents GET /v1/admin/limit-resets/events Append-only reset log (instance owner)
LimitResetsApi adminLimitResetSettings GET /v1/admin/limit-resets/settings Saved reset settings (instance owner)
LimitResetsApi adminWorkspaceLimitResets GET /v1/admin/limit-resets/workspaces/{id} Workspace reset history (instance owner)
LimitResetsApi createAdminLimitResetCampaign POST /v1/admin/limit-resets Create a draft reset campaign (instance owner)
LimitResetsApi exportAdminLimitResetEvents GET /v1/admin/limit-resets/events.csv Export the full saved-reset audit log as CSV (instance owner)
LimitResetsApi giveAdminWorkspaceLimitReset POST /v1/admin/limit-resets/workspaces/{id} Give a one-off reset (instance owner)
LimitResetsApi listSavedLimitResets GET /v1/orgs/{id}/billing/resets Saved resets for a workspace
LimitResetsApi previewAdminLimitResetCampaign POST /v1/admin/limit-resets/preview Preview audience and maximum refill cost (instance owner)
LimitResetsApi redeemSavedLimitReset POST /v1/orgs/{id}/billing/resets/redeem Use the first expiring reset as the workspace owner
LimitResetsApi setAdminLimitResetSettings PUT /v1/admin/limit-resets/settings Change saved reset settings (instance owner)
LimitResetsApi updateAdminLimitResetCampaign PUT /v1/admin/limit-resets/{id} Edit a reset campaign (instance owner)
LinksApi acceptBotLink POST /v1/links/accept Accept a contact's invite with one of your bots (works across Casama servers)
LinksApi createBotLink POST /v1/bots/{id}/links Invite a trusted contact's bot to link with this one
LinksApi listBotLinks GET /v1/bots/{id}/links
LinksApi listLinkExchanges GET /v1/links/{id}/exchanges
LinksApi revokeBotLink DELETE /v1/links/{id}
LocalComputerApi answerBrowserChoice POST /v1/browser-choices/{id}/answer Answer a browser choice card (this device, Chrome, or the bot's computer), optionally remembering for this site
LocalComputerApi createLocalDevice POST /v1/local-devices Pair this machine as a bot computer (desktop companion); returns a device token once
LocalComputerApi deleteLocalDevice DELETE /v1/local-devices/{id}
LocalComputerApi getAppBrowser GET /v1/app-browser Whether this person may let bots use the browser inside the phone app in this workspace, and this install's browser when it is paired
LocalComputerApi listCodingAgents GET /v1/coding-agents The coding agents this server's bots can hand tasks to (D-370): the signed gallery's list over the built-in one
LocalComputerApi listLocalDevices GET /v1/local-devices
LocalComputerApi listOwnCodingAgents GET /v1/local-devices/{id}/coding-agents Your own coding agents on this computer (D-371); only the device's owner sees them
LocalComputerApi localComputerConnect GET /v1/local-computer/connect WebSocket for the desktop companion (authorization: Device <token>, or ?token=). The API sends tool requests; the app answers from its embedded computerd.
LocalComputerApi setLocalMcpServers PUT /v1/local-devices/{id}/mcp-servers Register the local MCP servers on this computer (no secrets); each becomes a local_mcp integration
LocalComputerApi setOwnCodingAgents PUT /v1/local-devices/{id}/coding-agents Replace your own coding agents on this computer (D-371); only the device's owner can, admins included
LocalComputerApi testOwnCodingAgent POST /v1/local-devices/{id}/coding-agents/test Run an agent on this computer with a tiny task (&quot;Reply with just the word pong&quot;) and return what it printed
LocalComputerApi updateLocalDevice PATCH /v1/local-devices/{id} Change capabilities, shared folders, allowed bots or turn the device off
MailApi blockMailSender POST /v1/bots/{id}/email/block Refuse a sender's mail at the door
MailApi checkMailName GET /v1/bots/{id}/email/availability Whether a mail name is free, with alternatives
MailApi claimMailAddress POST /v1/bots/{id}/email Claim a hosted email address for a bot
MailApi deleteMailMessage DELETE /v1/bots/{id}/email/messages/{messageId} Delete one kept mail, its text and its files
MailApi deleteMailMessages POST /v1/bots/{id}/email/messages/delete Delete several kept mails, or every mail older than a date
MailApi downloadMailFile GET /v1/bots/{id}/email/messages/{messageId}/files/{index} A kept mail's attachment
MailApi getMailAddress GET /v1/bots/{id}/email A bot's hosted email address
MailApi getMailMessage GET /v1/bots/{id}/email/messages/{messageId} One kept mail with its whole text
MailApi listMailMessages GET /v1/bots/{id}/email/messages A bot's kept mail, newest first
MailApi moveMailAddress POST /v1/bots/{id}/email/move Move a hosted email address to another bot in the workspace
MailApi releaseMailAddress DELETE /v1/bots/{id}/email Release a hosted email address for good (its name is never reissued)
MailApi unblockMailSender DELETE /v1/bots/{id}/email/block Let a blocked sender's mail through again
MailApi updateMailAddress PATCH /v1/bots/{id}/email Pause or resume a bot's hosted email address
McpApi createMcpKey POST /v1/orgs/{id}/mcp-keys A workspace API key for the hosted MCP endpoint (admins); it acts as you in this workspace
McpApi decideMcpAuthRequest POST /v1/oauth/requests/{id}/consent Allow or refuse an AI app's access to one workspace; returns where to send the browser
McpApi getMcpAuthRequest GET /v1/oauth/requests/{id} An AI app asking to connect, for the consent screen
McpApi listMcpConnections GET /v1/orgs/{id}/mcp-connections AI apps connected to this workspace with OAuth: your own, or everyone's for admins
McpApi listMcpKeys GET /v1/orgs/{id}/mcp-keys
McpApi revokeMcpConnection DELETE /v1/orgs/{id}/mcp-connections/{client_id} Disconnect an AI app at once: its access and refresh tokens stop working. Admins can disconnect anyone's.
McpApi revokeMcpKey DELETE /v1/orgs/{id}/mcp-keys/{key_id}
MemoryApi deleteMemory DELETE /v1/bots/{id}/memories/{memoryId}
MemoryApi deleteMemoryBackend DELETE /v1/orgs/{id}/memory-backend Go back to the built-in memory (memories in the provider stay there)
MemoryApi getMemoryBackend GET /v1/orgs/{id}/memory-backend
MemoryApi listMemories GET /v1/bots/{id}/memories
MemoryApi setMemoryBackend PUT /v1/orgs/{id}/memory-backend Keep bot memory in Honcho or Supermemory with the workspace's own key (admins)
MemoryApi updateMemory PATCH /v1/bots/{id}/memories/{memoryId}
ModerationApi blockPerson POST /v1/me/blocks Block someone: no invites or agent links from them, and their messages hidden
ModerationApi createReport POST /v1/reports Report something or someone to the people who run this server
ModerationApi listBlocks GET /v1/me/blocks People you blocked
ModerationApi unblockPerson DELETE /v1/me/blocks/{user_id}
MovesApi abortMove POST /v1/moves/{id}/abort Give up a move: the parts and anything half brought in are removed (move token)
MovesApi checkOrgMove POST /v1/orgs/{id}/move/check Check a move before it starts: size, time, what fits, what needs you after (owner)
MovesApi createMove POST /v1/moves Get a one-time move token for receiving a workspace into this one (admin)
MovesApi finishMove POST /v1/moves/{id}/finish Check the bundle and bring it in; progress at GET /v1/moves/{id} (move token)
MovesApi getMove GET /v1/moves/{id} A move's progress (move token, or an admin of the receiving workspace)
MovesApi getMoveFit GET /v1/moves/{id}/fit Whether a workspace of this size fits the receiving workspace's plan (move token)
MovesApi getOrgMove GET /v1/orgs/{id}/move The workspace's latest move: progress, step and error, or where it moved (member)
MovesApi putMovePart PUT /v1/moves/{id}/parts/{n} One part of the move bundle, with its sha256 in X-Move-Sha256 (move token)
MovesApi startOrgMove POST /v1/orgs/{id}/move/start Start (or resume) moving this workspace to the server that gave the token (owner)
NotificationsApi lessLikeThis POST /v1/notifications/{id}/less-like-this Tell the bot to send fewer messages like this one
OwnerApi ownerActivity GET /v1/owner/activity What's happening on this server, newest first (owner only)
OwnerApi ownerAlertSettings GET /v1/owner/alerts Which kinds of activity push to this owner's devices (owner only)
OwnerApi ownerJourney GET /v1/owner/journeys/{id} One person's path from click to paying, with every event and what they have now (owner only)
OwnerApi postInstallEvent POST /v1/install-events The app's first open or first sign-in attempt on an install (D-537)
OwnerApi postSiteEvent POST /v1/site-events A website event from casama.ai's Worker (needs the site events key)
OwnerApi setOwnerAlertSettings PUT /v1/owner/alerts Switch kinds of alerts on or off, or pause them all (owner only)
OwnerApi testOwnerAlert POST /v1/owner/alerts/test Send a test alert to this owner's devices (owner only)
PacksApi exportPack POST /v1/orgs/{id}/packs/export Turn bots, skills, routines and a look into a pack's files (nothing private)
PacksApi getPack GET /v1/packs/{id} One installed pack and what it made
PacksApi getPackShare GET /v1/pack-shares/{token} A shared pack, for its preview
PacksApi getPackUpdate GET /v1/packs/{id}/update What a newer version of the pack changes, item by item
PacksApi installPack POST /v1/packs Install a pack for a workspace, pinned to the previewed commit
PacksApi listGalleryPacks GET /v1/gallery/packs The Packs shelf: reviewed packs from the plugin directory and starter sets
PacksApi listPacks GET /v1/packs The packs a workspace installed
PacksApi previewPack POST /v1/packs/preview Everything a pack would add, before anything is created
PacksApi removePack DELETE /v1/packs/{id} Remove a pack: its tools and untouched items go; edited items and (by default) bots stay
PacksApi revokePackShare DELETE /v1/pack-shares/{token} End a pack share link (whoever made it, or a workspace admin)
PacksApi sharePack POST /v1/orgs/{id}/packs/share Share a pack made from this workspace as a link (signed-in viewers, 30 days)
PacksApi updatePack POST /v1/packs/{id}/update Update a pack; items the person edited stay theirs
PagesApi createPageViewLink POST /v1/pages/{id}/view-link A single-use link (60 s) that opens the page in a browser
PagesApi deletePage DELETE /v1/pages/{id}
PagesApi getPage GET /v1/pages/{id}
PagesApi listPages GET /v1/pages Pages you can open in a workspace
PagesApi revertPage POST /v1/pages/{id}/revert Bring back an earlier version (as a new version)
PagesApi updatePage PATCH /v1/pages/{id} Change who can open a page; making it public returns a new link
PartnersApi claimPartner POST /v1/me/partner/claim Enter a creator's code (new accounts, before the first payment)
PartnersApi createAdminPartner POST /v1/admin/partners Add a partner by hand (instance owner)
PartnersApi createAdminPartnerCode POST /v1/admin/partners/{id}/codes Give a partner a code (instance owner)
PartnersApi getPartnerMe GET /v1/me/partner The creator who sent you, whether you can still enter a code, and your own partner code
PartnersApi listAdminPartnerCommissions GET /v1/admin/partner-commissions Commissions, newest first (instance owner)
PartnersApi listAdminPartners GET /v1/admin/partners Partners, their codes and earnings (instance owner)
PartnersApi previewPartner GET /v1/partner/preview Who a creator code belongs to (no sign-in)
PartnersApi syncAdminPartners POST /v1/admin/partners/sync Sync with the partner portal now (instance owner)
PartnersApi updateAdminPartner PATCH /v1/admin/partners/{id} Approve, pause, ban or change a partner (instance owner)
PartnersApi updateAdminPartnerCode PATCH /v1/admin/partner-codes/{code} Pause, retire or change a partner code (instance owner)
PartnersApi updateAdminPartnerCommission PATCH /v1/admin/partner-commissions/{id} Hold, release or void a commission (instance owner)
PasswordManagersApi createPasswordManager POST /v1/password-managers Connect 1Password or Bitwarden; then choose which vaults bots may use
PasswordManagersApi deletePasswordManager DELETE /v1/password-managers/{id}
PasswordManagersApi listPasswordManagerVaults GET /v1/password-managers/{id}/vaults
PasswordManagersApi listPasswordManagers GET /v1/password-managers The workspace's password managers and your own
PasswordManagersApi updatePasswordManager PATCH /v1/password-managers/{id}
PaymentsApi deletePaymentSettings DELETE /v1/orgs/{id}/payments
PaymentsApi getPaymentSettings GET /v1/orgs/{id}/payments
PaymentsApi listPaymentRequests GET /v1/orgs/{id}/payments/requests Cards bots asked for (owners see all; others their own)
PaymentsApi setPaymentSettings PUT /v1/orgs/{id}/payments Connect the workspace's card issuing account for single-use cards (owners)
PluginsApi getPluginUpdate GET /v1/plugins/{id}/update The latest commit of the plugin's source and what changes
PluginsApi installPlugin POST /v1/plugins Install a plugin for a bot, pinned to the previewed commit
PluginsApi listPluginDirectory GET /v1/plugin-directory Reviewed plugins from the gallery, each pinned to the commit that was reviewed
PluginsApi listPlugins GET /v1/plugins
PluginsApi previewPlugin POST /v1/plugins/preview What an Agent Plugins 1.0 package from GitHub would add
PluginsApi uninstallPlugin DELETE /v1/plugins/{id} Remove the plugin and everything it added
PluginsApi updatePlugin POST /v1/plugins/{id}/update
PluginsApi updatePluginSettings PATCH /v1/plugins/{id}/settings Change a plugin's plain settings (not its secrets)
PrivacyApi deleteMyAccount DELETE /v1/me Delete your account: you are signed out now, and your data, workspaces you solely own and their computer snapshots are purged after the grace period
PrivacyApi exportMyData GET /v1/me/export Download everything you can see as a ZIP of JSON files
PrivacyApi getOrgSettings GET /v1/orgs/{id}/settings
PrivacyApi relayAnalytics POST /v1/analytics/events Relay desktop or extension product events to Google Analytics 4
PrivacyApi renameTwoStepFactor PATCH /v1/me/two-step/{id} Rename one of your authenticator apps (two-step sign-in)
PrivacyApi saveAppleSignInToken POST /v1/me/apple-sign-in Hand over what Sign in with Apple returned, so deleting the account can revoke it
PrivacyApi setAnalyticsOptOut POST /v1/me/analytics-opt-out Update the user's analytics opt-out preference
PrivacyApi setAttribution POST /v1/me/attribution Record first-touch signup platform and acquisition source once per account
PrivacyApi setMyAgeBand PUT /v1/me/age-band Save the account's declared age band (no birth date; docs/APPLE-INTEGRATIONS-PLAN.md §5.2)
PrivacyApi updateOrgSettings PATCH /v1/orgs/{id}/settings Change workspace settings such as run event retention (admins)
ProjectsApi approveProjectPlan POST /v1/projects/{id}/plan/approve Approve the proposed plan; sessions start
ProjectsApi createProject POST /v1/projects Start a project: one you work on together in its chat, or one its lead bot plans for your approval and then works on by itself
ProjectsApi getProject GET /v1/projects/{id}
ProjectsApi listProjects GET /v1/projects
ProjectsApi signOffMilestone POST /v1/projects/{id}/milestones/{milestone_id}/signoff Sign off a finished milestone so the next one begins
ProjectsApi updateProject PATCH /v1/projects/{id} Pause, resume, cancel or finish a project, change its goal, budget, deadline or plan, or switch working by itself on or off
ReferralsApi getReferral GET /v1/me/referral Your invite code and link, what you've earned, and who invited you
ReferralsApi previewReferral GET /v1/referral/preview Who an invite code is from (no sign-in)
ReferralsApi redeemReferral POST /v1/me/referral/redeem Enter a friend's invite code (a few days after signing up)
ReplaysApi deleteReplay DELETE /v1/replays/{id}
ReplaysApi listReplays GET /v1/replays A bot's saved replays
ReplaysApi replayFromTeach POST /v1/teach/{id}/replay Save a teach recording as a replay
ReplaysApi runReplay POST /v1/replays/{id}/run Run a replay without the model; the bot takes over if a step fails
RoutinesApi createRoutine POST /v1/routines Schedule a routine (cron in a timezone) or create a GitHub/custom webhook trigger
RoutinesApi deleteRoutine DELETE /v1/routines/{id} Delete a routine (its past runs and conversation are kept)
RoutinesApi listRoutineIdeas GET /v1/routine-ideas Routine ideas from the gallery, to fill in a new routine
RoutinesApi listRoutines GET /v1/bots/{id}/routines
RoutinesApi runRoutine POST /v1/routines/{id}/run Run a routine now
RoutinesApi updateRoutine PATCH /v1/routines/{id}
RunsApi cancelRun POST /v1/runs/{id}/cancel Cancel a run and its subruns
RunsApi getRun GET /v1/runs/{id}
RunsApi getRunUsage GET /v1/runs/{id}/usage What a run and its subruns cost, broken down by what was metered
RunsApi listRunEvents GET /v1/runs/{id}/events Events after a seq. Send Accept: text/event-stream to keep streaming live events (SSE).
SearchApi search GET /v1/search Search messages, chats, memories, skills, routines, tickets and files in a workspace
SecretsApi createSecret POST /v1/secrets Create a named secret with allowed hosts (value stored in Vault)
SecretsApi declineSecretRequest POST /v1/secrets/requests/{id}/decline Decline a bot's request for a secret; the bot continues without it
SecretsApi deleteSecret DELETE /v1/secrets/{id}
SecretsApi deleteSecretStore DELETE /v1/orgs/{id}/secret-store Go back to Vault (secrets kept in Infisical are copied back first)
SecretsApi fulfillSecretRequest POST /v1/secrets/requests/{id}/fulfill Save the value a bot asked for (into Vault, for that bot and those hosts only)
SecretsApi getSecretStore GET /v1/orgs/{id}/secret-store
SecretsApi listSecretRequests GET /v1/secrets/requests Bots waiting for a secret (pending requests you can see)
SecretsApi listSecrets GET /v1/secrets
SecretsApi setSecretStore PUT /v1/orgs/{id}/secret-store Keep bots' named secrets in the workspace's Infisical project (admins)
SecretsApi shareSecretRequestLogin POST /v1/secrets/requests/{id}/login Answer a sign-in card with a login: saved to Vault for that bot and site only, then the bot signs in itself (D-511)
SecretsApi signInOnPage POST /v1/secrets/requests/{id}/on-page Answer a sign-in card by signing in on the page yourself, in the browser inside the app; the bot waits for Hand Back (D-511)
SelfhostApi admitForSelfhost POST /v1/selfhost/licenses/admit Let an email address past the sign-up waitlist to get a personal license
SelfhostApi applySelfhostCloudModels POST /v1/selfhost/cloud-models/apply Move the chosen bots onto Casama Cloud models and save the settings (server admin)
SelfhostApi connectSelfhostCloudModels POST /v1/selfhost/cloud-models/connect Connect this server to Casama Cloud with a one-time code (server admin)
SelfhostApi createCloudConnectCode POST /v1/selfhost/cloud/connect-codes A one-time code that connects a self-hosted server to Casama Cloud models (admins)
SelfhostApi getSelfhostCloudModels GET /v1/selfhost/cloud-models Casama Cloud models on this server: state, who pays, limits and your own use
SelfhostApi getSelfhostStatus GET /v1/selfhost/status This server's license state (no sign-in)
SelfhostApi issuePersonalLicense POST /v1/selfhost/licenses/personal Get the free personal license for a self-hosted server (signed in)
SelfhostApi previewSelfhostCloudModels GET /v1/selfhost/cloud-models/preview What turning Casama Cloud models on would change, bot by bot (server admin)
SelfhostApi renewLicense POST /v1/selfhost/licenses/renew Renew a self-hosted server's license key (no sign-in)
SelfhostApi requestTrialLicense POST /v1/selfhost/licenses/trial Email a 30-day business trial key (no sign-in, rate limited)
SelfhostApi setSelfhostLicense PUT /v1/selfhost/license Set this server's license key
SelfhostApi turnOffSelfhostCloudModels POST /v1/selfhost/cloud-models/off Turn Casama Cloud models off; each bot goes back to its previous key (server admin)
SelfhostApi updateSelfhostCloudModels PATCH /v1/selfhost/cloud-models Change who may use Casama Cloud, the daily limit per person and the fallbacks (server admin)
SitesApi checkSiteAddress GET /v1/sites/address Whether an address name is free, and why not when it isn't
SitesApi createSiteReport POST /v1/site-reports Report a site by its address (no sign-in; from the sites zone's own page)
SitesApi listSites GET /v1/orgs/{id}/sites The workspace's published sites with their hosts and states
SitesApi publishSite PUT /v1/pages/{id}/site Publish a page to the web at its own address (makes the page public)
SitesApi unpublishSite DELETE /v1/pages/{id}/site Take a site off the web: the page goes private, its address is kept
SkillsApi acceptSkillProposal POST /v1/skill-proposals/{id}/accept Save the proposed skill or edit, optionally changed first
SkillsApi applySkillUpdate POST /v1/skills/{id}/update Update a GitHub skill to a newer commit (after reviewing the diff)
SkillsApi checkSkillUpdate GET /v1/skills/{id}/update Compare a GitHub skill with its source's latest commit (diff before updating)
SkillsApi dismissSkillProposal POST /v1/skill-proposals/{id}/dismiss
SkillsApi getSkillCatalog GET /v1/skills/catalog The curated skills that ship with this server
SkillsApi getSkillStats GET /v1/skills/{id}/stats Uses, success rate, last failure and history of a skill
SkillsApi installCatalogSkill POST /v1/skills/install Install a catalog skill to the workspace (admins) or one bot (its managers)
SkillsApi installGitHubSkill POST /v1/skills/github/install Install a GitHub skill pinned to the previewed commit
SkillsApi listSkillProposals GET /v1/skill-proposals Skills and skill edits bots proposed from their runs
SkillsApi previewGitHubSkill POST /v1/skills/github/preview Read a skill folder from GitHub at its latest commit and show its files before installing
SupportApi createSupportTicket POST /v1/support/tickets Send a message to the support team
SupportApi createSupportWebSession POST /v1/support/web/session Pass the Turnstile check and get a short website assistant session
SupportApi getSupportConfig GET /v1/support What help this server offers
SupportApi getSupportWebConfig GET /v1/support/web/config Whether the website assistant answers, and the Turnstile site key
SupportApi sendFeedback POST /v1/support/feedback Send feedback about Casama (an idea, a like, a dislike, something confusing)
SupportApi supportChat POST /v1/support/chat Ask the support assistant
SupportApi supportWebChat POST /v1/support/web/chat Ask the website assistant (answers from the docs; sees no account)
SystemApi getAppConfig GET /v1/app-config Remote app settings: minimum versions, maintenance, announcements, flags (no auth)
SystemApi getBrowserGuardSites GET /v1/browser-guard Sites the browser guard keeps out on top of its own lists (no auth; D-374)
SystemApi getConfig GET /v1/config Public client configuration (no auth)
SystemApi getSignupChallenge GET /v1/signup/challenge A proof-of-work puzzle for signing up when the server asks for one (no auth)
SystemApi healthz GET /healthz
SystemApi readyz GET /readyz
TasksApi createTask POST /v1/tasks Create a ticket; assigning a bot starts its work
TasksApi createTaskComment POST /v1/tasks/{id}/comments Comment on a ticket; a comment on a bot's ticket wakes that bot
TasksApi deleteTask DELETE /v1/tasks/{id}
TasksApi listTaskComments GET /v1/tasks/{id}/comments
TasksApi listTasks GET /v1/tasks
TasksApi updateTask PATCH /v1/tasks/{id} Change a ticket (moving, reassigning, editing); a newly assigned bot starts its work
TeachApi addTeachStep POST /v1/teach/{id}/steps Record a step; the server captures the screen's state after it
TeachApi cancelTeach DELETE /v1/teach/{id} Discard a recording and everything it captured
TeachApi getTeach GET /v1/teach/{id}
TeachApi markTeachSecret POST /v1/teach/{id}/steps/{seq}/secret Mark a typed value as a secret: its text is deleted and it becomes a {{secret:NAME}} input
TeachApi saveTeach POST /v1/teach/{id}/save Save the (edited) draft as one of the bot's skills, and optionally try it now
TeachApi startTeach POST /v1/teach Start recording a task while you have control of a computer
TeachApi stopTeach POST /v1/teach/{id}/stop Stop recording; the bot drafts a skill from it
TelephonyApi deleteTelephony DELETE /v1/orgs/{id}/telephony
TelephonyApi endOutboundCall POST /v1/outbound-calls/{id}/end
TelephonyApi getOutboundCall GET /v1/outbound-calls/{id} A call a bot placed, with its live transcript
TelephonyApi getTelephony GET /v1/orgs/{id}/telephony
TelephonyApi setTelephony PUT /v1/orgs/{id}/telephony Connect the workspace's Twilio account for calls bots place
TelephonyApi takeOverOutboundCall POST /v1/outbound-calls/{id}/take-over Move the call to your own phone (saves the number to your profile)
TestimonialsApi createAdminTestimonial POST /v1/admin/testimonials Add a testimonial (instance owner)
TestimonialsApi deleteAdminTestimonial DELETE /v1/admin/testimonials/{id} Delete a testimonial for good (instance owner)
TestimonialsApi getTestimonialAsk GET /v1/me/testimonial Whether you can send a quote now, and the name it would show
TestimonialsApi listAdminTestimonials GET /v1/admin/testimonials Every testimonial with its consent record (instance owner)
TestimonialsApi listTestimonials GET /v1/testimonials Live quotes about Casama (no sign-in; cached for an hour)
TestimonialsApi reorderAdminTestimonials POST /v1/admin/testimonials/order Put testimonials in a new order (instance owner)
TestimonialsApi submitTestimonial POST /v1/me/testimonial Send a sentence about Casama (kept as a draft for the owner; one per 90 days)
TestimonialsApi updateAdminTestimonial PATCH /v1/admin/testimonials/{id} Edit, show, hide or withdraw a testimonial (instance owner)
UsageApi getUsage GET /v1/usage
VoiceApi answerVoiceCall POST /v1/calls/{id}/answer Answer a call; then start a voice session with its call_id
VoiceApi createVoiceSession POST /v1/voice/session Start a live call: mints an ephemeral realtime key with the bot's persona and tools
VoiceApi declineVoiceCall POST /v1/calls/{id}/decline Decline a call; the reason arrives as a normal notification
VoiceApi deleteLiveCall DELETE /v1/voice/live/{id} Delete a call from its chat: its card and every turn of its transcript
VoiceApi getVoiceCall GET /v1/calls/{id}
VoiceApi listRingingCalls GET /v1/calls/ringing Calls ringing for you now (the in-app banner on desktop and web)
VoiceApi messageSpeech GET /v1/messages/{id}/speech Read aloud: MP3 audio of an assistant message (cached per voice)
VoiceApi saveVoiceTranscript POST /v1/voice/transcript Save a call's transcript to the conversation and record its duration
VoiceApi saveVoiceTurns POST /v1/voice/transcript/turns Save finished turns of a live call as they happen (idempotent by turn id)
VoiceApi transcribeAudio POST /v1/voice/transcribe Dictation: send recorded audio (raw body, audio/_* content type, up to 10 MB)
VoiceApi updateCallStep POST /v1/voice/live/{id}/steps/{step_id} Start a next step from a call's card as a chat run, or dismiss it
VoiceApi voiceHeartbeat POST /v1/voice/live/{id}/heartbeat Keep a live call's server record open; calls silent for 2 minutes are ended and billed
VoiceApi voiceTool POST /v1/voice/tool Run a tool call from a live call as an agent run (same approvals); waits up to 25 s
WaitlistApi joinWaitlist POST /v1/waitlist Join the waitlist (no sign-in; needs a solved sign-up puzzle)
WaitlistApi leaveWaitlist POST /v1/waitlist/leave Take an address off the waitlist, with the token from its email (no sign-in)
WaitlistApi previewInviteCode GET /v1/invites/preview What an invite code is, and whether it has an invite left (no sign-in)
WaitlistApi redeemInvite POST /v1/waitlist/redeem Claim an invite code for an email address (no sign-in; needs a solved puzzle)
WatchApi claimWatchCode POST /v1/watch-codes/{code}/claim Allow the watch showing this code: it is signed in to this workspace as the caller
WatchApi deleteAllWatchKeys DELETE /v1/watch-keys Remove every watch the person signed in, in every workspace (Sign Out Everywhere): their keys stop working at once
WatchApi deleteWatchKey DELETE /v1/watch-keys/{id} Remove a watch: its key stops working at once
WatchApi getWatchApproval GET /v1/watch/approvals/{id} A request in everyday words, and whether this watch may allow it (tap, hold, phone)
WatchApi getWatchChat GET /v1/watch/chats/{bot_id} A bot's latest chat as plain text, cut to fit a watch; cards, pages and files as one line
WatchApi getWatchCode GET /v1/watch-codes/{code} Which watch shows this code, before allowing it. Looking a code up doesn't use it up; after five wrong codes in an hour the person waits
WatchApi getWatchPrefs GET /v1/watch-prefs The person's watch settings: what a watch may allow, details, quick replies
WatchApi getWatchRun GET /v1/watch/runs/{id} A run's whole state. With `stream=1` (or `Accept: text/event-stream`): server-sent `run` events, each a whole WatchRun, ended by the server after 110 seconds or when the run ends; ask again to go on
WatchApi getWatchSelf GET /v1/watch/me Who this watch is signed in as, its settings and what the server can do for it
WatchApi listWatchKeys GET /v1/watch-keys The person's signed-in watches in a workspace
WatchApi registerWatchKey POST /v1/watch-keys Sign a watch in from the phone: register the fingerprint of the key the watch made. Registering the same fingerprint again updates it
WatchApi requestWatchCode POST /v1/watch/codes A watch with no phone app at hand asks for a code to show (signed out; five an hour per address). It then tries GET /v1/watch/me with its key until the code is allowed
WatchApi signOutWatch DELETE /v1/watch-keys/current Sign out of this watch: its key is deleted
WatchApi updateWatchPrefs PATCH /v1/watch-prefs Change the person's watch settings
WatchApi updateWatchSelf PUT /v1/watch-keys/current A watch describes itself: its push token, app and system versions
WatchApi watchAsk POST /v1/watch/ask Ask a bot or reply in a chat, with text or a recording (transcribed and sent in one step). Without conversation_id it starts a new chat
WatchApi watchEvents POST /v1/watch/events Screens the watch app showed, for usage counts (D-535)
WatchApi watchHandoff POST /v1/watch/handoff Open on iPhone / phone: the person's phones get a notification that opens the link
WatchersApi createPageWatcher POST /v1/watchers Watch part of a public page; the bot is woken when it changes
WatchersApi deleteWatcher DELETE /v1/watchers/{id}
WatchersApi listWatchers GET /v1/watchers
WatchersApi updateWatcher PATCH /v1/watchers/{id} Pause or resume a watcher
WebhooksApi customWebhook POST /hooks/custom/{routine_id} Custom webhook for a routine (X-Casama-Signature: sha256=HMAC-SHA256 of the body)
WebhooksApi githubWebhook POST /hooks/github/{routine_id} GitHub webhook for a routine (X-Hub-Signature-256)
WidgetsApi createWidgetKey POST /v1/widget-keys A key this device's widgets fetch the glance with, shown once. It reads the glance and creation covers and nothing else
WidgetsApi deleteCanvas DELETE /v1/canvases/{id} Clear a canvas (also Not now on a bot's first preview)
WidgetsApi deleteWidgetKey DELETE /v1/widget-keys/{id} Forget a widget key (sign-out): its widgets stop fetching
WidgetsApi getCanvasPicture GET /v1/canvases/{id}/pictures/{hash} A canvas's picture or built-in painting as a JPEG; cached for good (the hash is in the path)
WidgetsApi getCanvases GET /v1/canvases What bots keep on the person's Canvas widgets: each canvas with the entry showing now and up to 13 planned. Takes the session or `Authorization: Widget <key>`; send `If-None-Match` with the last `version` to get 304
WidgetsApi getGlance GET /v1/glance What the person's widgets show, in one small document (D-405). Takes the session or `Authorization: Widget <key>`; send `If-None-Match` with the last `version` to get 304 when nothing changed
WidgetsApi setCanvasGrant PUT /v1/canvas-grants Let a bot show things on the person's widgets (Show on my widgets), or stop it. Allowing shows what it left waiting; stopping clears what it showed
WidgetsApi setWidgetPushToken PUT /v1/widget-keys/current/push-token Where to send refresh pushes for a key's widgets: the widget extension calls it with `Authorization: Widget <key>`, the app with the session and `?key_id=`
WidgetsApi updateCanvas PATCH /v1/canvases/{id} Pause a canvas or show it again; hide it on a locked phone, or not
WidgetsApi updateWidgetKey PATCH /v1/widget-keys/{id} Make the glance this key reads private (counts and general words only), or not
WorkspacesApi acceptInvite POST /v1/invites/{token}/accept Join an organization with an invite token
WorkspacesApi acceptInviteLink POST /v1/invite-links/{token}/accept Join a workspace with an invite link
WorkspacesApi createInvite POST /v1/orgs/{id}/invites Invite someone by email (owners and admins)
WorkspacesApi createInviteCode POST /v1/orgs/{id}/invite-codes A short invite code to read out or type, valid for 48 hours (admins)
WorkspacesApi createInviteLink POST /v1/orgs/{id}/invite-links Create a shareable invite link (admins); the token is shown once
WorkspacesApi createInvites POST /v1/orgs/{id}/invites/batch Invite several people by email at once (admins)
WorkspacesApi createOrg POST /v1/orgs Create an organization; the caller becomes its owner
WorkspacesApi decideJoinRequest POST /v1/orgs/{id}/join-requests/{request_id} Approve or decline a request to join (admins)
WorkspacesApi generateWorkspacePictures POST /v1/orgs/{id}/images/generate Draw emblem pictures for a workspace with AI
WorkspacesApi getDefaultInvite GET /v1/orgs/{id}/default-invite The workspace's standing invite link (admins); made on first use
WorkspacesApi getJoinDomains GET /v1/orgs/{id}/join-domains Email domains whose verified addresses can join without an invite (admins)
WorkspacesApi getMe GET /v1/me The signed-in user and their organizations
WorkspacesApi getWorkspaceImage GET /v1/workspace-images/{id} A workspace's picture (no token; cached for good)
WorkspacesApi getWorkspacePictureOriginal GET /v1/orgs/{id}/images/{image_id}/original The picture before it was cropped, for Re-crop
WorkspacesApi joinByDomain POST /v1/orgs/{id}/join Join a workspace open to your verified email domain
WorkspacesApi joinWithInvite POST /v1/join Join with an invite link, code or email invite (or ask to join)
WorkspacesApi listInviteLinks GET /v1/orgs/{id}/invite-links
WorkspacesApi listInvites GET /v1/orgs/{id}/invites Email invites not yet accepted (admins)
WorkspacesApi listJoinRequests GET /v1/orgs/{id}/join-requests People waiting to join (admins)
WorkspacesApi listJoinableWorkspaces GET /v1/me/joinable-workspaces Workspaces open to the signed-in person's verified email domain
WorkspacesApi listMembers GET /v1/orgs/{id}/members The people in a workspace
WorkspacesApi listOrgs GET /v1/orgs
WorkspacesApi listWorkspacePictures GET /v1/orgs/{id}/images A workspace's recent pictures, the one in use first, then by when they were last used
WorkspacesApi previewInvite GET /v1/join/preview What an invite link, code or email invite opens, before joining (no sign-in needed)
WorkspacesApi removeWorkspacePicture DELETE /v1/orgs/{id}/image Stop using a picture: back to the workspace's icon and colour
WorkspacesApi resendInvite POST /v1/orgs/{id}/invites/{invite_id}/resend Send an email invite again with a new link, valid 7 more days (admins)
WorkspacesApi revokeInvite DELETE /v1/orgs/{id}/invites/{invite_id}
WorkspacesApi revokeInviteLink DELETE /v1/orgs/{id}/invite-links/{link_id}
WorkspacesApi setJoinDomain PUT /v1/orgs/{id}/join-domains Let people with a verified address at your own email domain join (admins)
WorkspacesApi setWorkspacePicture PUT /v1/orgs/{id}/image Give a workspace a picture of its own
WorkspacesApi updateDefaultInvite PATCH /v1/orgs/{id}/default-invite Make the standing link ask an admin first, or reset it (admins)
WorkspacesApi updateOrg PATCH /v1/orgs/{id} Rename a workspace or change its icon and color (admins)
WorkspacesApi useWorkspacePicture POST /v1/orgs/{id}/images/{image_id}/use Switch to one of the workspace's recent or drawn pictures (also how Undo works)
WorkspacesApi workspaceBadges GET /v1/me/badges Pending approvals and unread notifications per workspace

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: HTTP Bearer Token authentication (JWT)

Author

Libraries

casama_api