Skip to main content

casama_api 0.8.0 copy "casama_api: ^0.8.0" to clipboard
casama_api: ^0.8.0 copied to clipboard

retracted

Generated REST client for the Casama API (dio + json_serializable), used by casama_sdk. Do not edit by hand.

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.8.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.8.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 deleteUserFact DELETE /v1/me/facts/{id}
AboutYouApi getAboutYou GET /v1/me/about What bots call you and what you shared about yourself
AboutYouApi getProfileSpace GET /v1/me/profile-spaces/{org_id} Whether bots in this workspace use About me and learned facts
AboutYouApi listUserFacts GET /v1/me/facts Facts bots learned about you, pinned and newest first
AboutYouApi setProfileSpace PUT /v1/me/profile-spaces/{org_id}
AboutYouApi updateAboutYou PATCH /v1/me/about
AboutYouApi updateUserFact PATCH /v1/me/facts/{id}
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 adminAbuseEvents GET /v1/admin/abuse Recent abuse signals and actions (owner only)
AdminApi adminConnectionSettings GET /v1/admin/connections How apps without their own sign-in connect (owner only)
AdminApi adminOrgs GET /v1/admin/orgs Workspaces with their limits and spend
AdminApi adminOverview GET /v1/admin/overview Instance totals (owner only)
AdminApi adminServices GET /v1/admin/services Configured providers and system health
AdminApi adminUpdates GET /v1/admin/updates Whether a newer Casama release exists
AdminApi adminUsers GET /v1/admin/users Everyone on this instance
AdminApi setAdminConnectionSettings PUT /v1/admin/connections Choose how apps without their own sign-in connect (owner only)
AdminApi setOrgLimits PATCH /v1/admin/orgs/{id}/limits Set a workspace's quotas
AdminApi suspendOrg POST /v1/admin/orgs/{id}/suspend Suspend a workspace: stops its computers and runs, keeps its data
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
ApprovalsApi listApprovals GET /v1/approvals
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 createConnectKey POST /v1/orgs/{id}/cloud-connect/keys Create a Cloud Connect key (shown once)
BillingApi getBilling GET /v1/orgs/{id}/billing The workspace's plan, entitlement, subscriptions and credits
BillingApi listConnectKeys GET /v1/orgs/{id}/cloud-connect/keys Cloud Connect keys for self-hosted instances
BillingApi listPlans GET /v1/billing/plans Plans and credit packs on this server
BillingApi revokeConnectKey DELETE /v1/orgs/{id}/cloud-connect/keys/{key_id}
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 getBotAccess GET /v1/bots/{id}/access Who can chat with, edit or administer this bot
BotsApi getBotShare GET /v1/bot-shares/{token} Read a shared bot template, to preview before importing
BotsApi importBot POST /v1/bots/import Create a bot from a template file
BotsApi listBots GET /v1/bots
BotsApi listTemplates GET /v1/templates
BotsApi setBotAccess PUT /v1/bots/{id}/access Replace the bot's visibility and access list
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
ChannelsApi createChannel POST /v1/channels Connect a chat app to a bot
ChannelsApi deleteChannel DELETE /v1/channels/{id}
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 updateChannel PATCH /v1/channels/{id}
ChatApi createConversation POST /v1/conversations
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 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 sendMessage POST /v1/conversations/{id}/messages Send a message; starts a run
ChatApi switchBranch POST /v1/conversations/{id}/branch Show another branch of the conversation (its newest message under the given one)
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
ComputersApi computerScreenshot GET /v1/computers/{id}/screenshot PNG of the desktop, or of the bot's browser page on headless computers
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 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 downloadComputerFile GET /v1/computers/{id}/files Download a file
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 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 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 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 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)
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 deleteDevicePlace DELETE /v1/device-places/{id}
DevicesApi deleteDeviceSource DELETE /v1/device-sources/{key} Forget this device and everything it shared
DevicesApi listDeviceGrants GET /v1/device-grants Which bots may read which kinds of your device data
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 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 uploadDeviceReadings POST /v1/device-sources/{key}/readings Upload summaries (re-uploading the same external_id replaces it)
EncryptionApi getEncryption GET /v1/orgs/{id}/encryption Encryption at rest for a workspace
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 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 runGitSync POST /v1/orgs/{id}/git-sync/run Sync on the worker's next minute
FilesApi setGitSync PUT /v1/orgs/{id}/git-sync
ImportApi getMemoryImportPrompt GET /v1/memory-import/prompt The prompt to paste into ChatGPT or Claude to get your saved memories
ImportApi parseMemoryImport POST /v1/memory-import/parse
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 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 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 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
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 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 listLocalDevices GET /v1/local-devices
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 updateLocalDevice PATCH /v1/local-devices/{id} Change capabilities, shared folders, allowed bots or turn the device off
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 listMcpKeys GET /v1/orgs/{id}/mcp-keys
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}
NotificationsApi lessLikeThis POST /v1/notifications/{id}/less-like-this Tell the bot to send fewer messages like this one
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
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 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
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 renameTwoStepFactor PATCH /v1/me/two-step/{id} Rename one of your authenticator apps (two-step sign-in)
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; its lead bot drafts a plan for you to approve
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 or cancel a project, or change its budget, deadline or plan
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 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 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)
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
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)
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 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 transcribeAudio POST /v1/voice/transcribe Dictation: send recorded audio (raw body, audio/_* content type, up to 10 MB)
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
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)
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 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 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 previewInvite GET /v1/join/preview What an invite link, code or email invite opens, before joining (no sign-in needed)
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 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 workspaceBadges GET /v1/me/badges Pending approvals and unread notifications per workspace

Documentation For Models #

  • AboutYou
  • AbuseEvent
  • AbuseEventList
  • AcceptBotLinkRequest
  • AcceptSkillProposalRequest
  • Accepted
  • AcceptedSuggestion
  • AccountDeletion
  • ActionRule
  • ActionRuleList
  • ActionRuleTarget
  • AddTeachStepRequest
  • AddUserFactsRequest
  • AddUserFactsRequestItemsInner
  • AdminOrg
  • AdminOrgList
  • AdminOverview
  • AdminService
  • AdminServiceList
  • AdminUser
  • AdminUserList
  • AgentImportPlan
  • AgentImportPlanLeftoversInner
  • AgentImportPlanSkippedInner
  • AgentImportPlanSources
  • AppCatalog
  • ApplySkillUpdateRequest
  • Approval
  • ApprovalDecisionRequest
  • ApprovalList
  • ApprovalRequestedEvent
  • ApprovalRequestedEventPayload
  • ApprovalResolvedEvent
  • ApprovalResolvedEventPayload
  • AttachIntegrationRequest
  • Autonomy
  • BillingSource
  • BillingSummary
  • BillingUsage
  • BillingUsageItem
  • Bot
  • BotA2a
  • BotAccess
  • BotAccessEntry
  • BotBudget
  • BotCheckins
  • BotLink
  • BotLinkList
  • BotList
  • BotPage
  • BotPageDetail
  • BotSecretRequest
  • BotSecretRequestList
  • BotShareLink
  • BotTemplateFile
  • BotTemplateFileConnectionsInner
  • BotTemplateFileMemoriesInner
  • BotTemplateFileRoutinesInner
  • BotTemplateFileSkillsInner
  • BotTemplateFileSkillsInnerFilesInner
  • CalendarTriggerConfig
  • CatalogApp
  • CatalogAppApiKey
  • CatalogSkill
  • Channel
  • ChannelEvent
  • ChannelEventList
  • ChannelKind
  • ChannelList
  • ChatGptSignInCompleteRequest
  • ChatGptSignInStart
  • ChatGptSignInStartRequest
  • CheckoutRequest
  • Checkpoint
  • CheckpointCreatedEvent
  • CheckpointCreatedEventPayload
  • CheckpointList
  • Computer
  • ComputerFileEntry
  • ComputerFileList
  • ComputerList
  • ComputerSize
  • ComputerState
  • ComputerStateEvent
  • ComputerStateEventPayload
  • ConnectAppRequest
  • ConnectAppResponse
  • ConnectFlowStatus
  • ConnectKey
  • ConnectKeyList
  • ConnectionSettings
  • Conversation
  • ConversationList
  • ConversationThread
  • CreateActionRuleRequest
  • CreateBotLinkRequest
  • CreateBotRequest
  • CreateBotShareRequest
  • CreateChannelRequest
  • CreateCheckpointRequest
  • CreateComputerRequest
  • CreateConnectKeyRequest
  • CreateConversationRequest
  • CreateCredentialRequest
  • CreateIntegrationRequest
  • CreateInviteCodeRequest
  • CreateInviteLinkRequest
  • CreateInviteRequest
  • CreateInvitesRequest
  • CreateKnowledgeSourceRequest
  • CreateKnowledgeSourceRequestDocumentsInner
  • CreateKnowledgeSourceRequestFilesInner
  • CreateLocalDeviceRequest
  • CreateMcpKeyRequest
  • CreateOrganizationRequest
  • CreatePasswordManagerRequest
  • CreateProjectRequest
  • CreateRoutineRequest
  • CreateSecretRequest
  • CreateTaskCommentRequest
  • CreateTaskRequest
  • CreatedBotLink
  • CreatedConnectKey
  • CreatedInviteLink
  • CreatedLocalDevice
  • CreatedMcpKey
  • CreatedRoutine
  • Credential
  • CredentialList
  • CredentialStatus
  • CredentialTestResult
  • CreditEntry
  • CreditPack
  • DecideJoinRequest
  • DeleteAccountRequest
  • DeleteIntegration200Response
  • DeleteResult
  • DeletedChannel
  • DeletedComputer
  • DeletedDevice
  • DeletedId
  • DeletedKnowledgeSource
  • DeletedMemory
  • DeletedPage
  • DeletedPasswordManager
  • DeletedPlugin
  • DeletedReplay
  • DeletedRoutine
  • DeletedRule
  • DeletedTeach
  • DeletedUserFact
  • DeletedWatcher
  • DeviceAccessRequestedEvent
  • DeviceAccessRequestedEventPayload
  • DeviceDataUsedEvent
  • DeviceDataUsedEventPayload
  • DeviceEventInput
  • DeviceGrant
  • DeviceKind
  • DeviceKindSettings
  • DevicePlace
  • DeviceReading
  • DeviceReadingInput
  • DeviceRequest
  • DeviceRequestResult
  • DeviceSource
  • DeviceTriggerConfig
  • DismissSuggestionRequest
  • EditMessageRequest
  • EncryptionStatus
  • FileSearchResult
  • ForYou
  • ForYouApproval
  • ForYouBrief
  • FulfillSecretRequestBody
  • GitHubSkillPreview
  • GitHubSkillPreviewRequest
  • GitSyncStatus
  • GroupChatList
  • Health
  • IceServer
  • ImportBotRequest
  • ImportBotResponse
  • ImportBotResponseConnectionsToAddInner
  • ImportWorkspaceFilesRequest
  • ImportedMemoryItem
  • InstallCatalogSkillRequest
  • InstallGitHubSkillRequest
  • InstallPluginRequest
  • InstalledPluginServer
  • InstalledPluginServerAllOfTools
  • InstalledSkill
  • Integration
  • IntegrationDevice
  • IntegrationKind
  • IntegrationList
  • IntegrationTestResult
  • IntegrationToolsInner
  • Invite
  • InviteLink
  • InviteLinkList
  • InviteList
  • InvitePreview
  • InvitePreviewWorkspace
  • InviteRole
  • JoinDomains
  • JoinRequest
  • JoinRequestBody
  • JoinRequestList
  • JoinResult
  • JoinableWorkspace
  • JoinableWorkspaceList
  • KnowledgeSource
  • KnowledgeSourceList
  • Lease
  • LeaseChangedEvent
  • LeaseChangedEventPayload
  • LinkExchange
  • LinkExchangeList
  • ListDeviceGrants200Response
  • ListDevicePlaces200Response
  • ListDeviceReadings200Response
  • ListDeviceRequests200Response
  • ListDeviceSources200Response
  • LocalCapabilities
  • LocalDevice
  • LocalDeviceList
  • LocalMcpIntegrationList
  • LocalMcpServerInfo
  • MarkTeachSecretRequest
  • McpAuthRequestInfo
  • McpConsentRequest
  • McpConsentResult
  • McpKey
  • McpKeyList
  • Me
  • Membership
  • Memory
  • MemoryBackend
  • MemoryImportPrompt
  • MemoryList
  • MemoryWrittenEvent
  • MemoryWrittenEventPayload
  • MessageAttachment
  • MessageCompletedEvent
  • MessageCompletedEventPayload
  • MessageDeltaEvent
  • MessageDeltaEventPayload
  • MessageTriggerConfig
  • ModelChoice
  • ModelFallbackEvent
  • ModelFallbackEventPayload
  • ModelOption
  • ModelOptionList
  • ModelPolicy
  • NoticeEvent
  • NoticeEventPayload
  • Ok
  • OrgRole
  • OrgSettings
  • Organization
  • OrganizationList
  • OrganizationWithRole
  • OutboundCall
  • OutboundCallTranscriptInner
  • PageList
  • PageVersion
  • PageViewLink
  • PageViewLinkRequest
  • ParseMemoryImportRequest
  • ParsedMemoryImport
  • PasswordManager
  • PasswordManagerList
  • PasswordManagerVault
  • PasswordManagerVaultList
  • PaymentRequest
  • PaymentRequestList
  • PaymentSettings
  • PendingInvite
  • PendingInviteList
  • PhoneCall
  • PhoneCallList
  • Plan
  • PlanCatalog
  • Plugin
  • PluginList
  • PluginPreview
  • PluginPreviewSkillsInner
  • PluginSecretInfo
  • PluginServerInfo
  • PluginSkillsInner
  • PluginUpdatePreview
  • PortalRequest
  • PreviewPluginRequest
  • Problem
  • ProblemErrorsInner
  • ProfileSpace
  • Project
  • ProjectDetail
  • ProjectList
  • ProjectMilestone
  • ProjectRun
  • ProjectStatus
  • ProviderAccount
  • ProviderAccountList
  • ProviderApp
  • ProviderAppList
  • ProviderConnectRequest
  • ProviderConnectResponse
  • ProviderId
  • PublicConfig
  • PurchaseRequest
  • ReasoningEffort
  • RedirectUrl
  • ReleaseLeaseRequest
  • RenameTwoStepFactorRequest
  • Replay
  • ReplayFromTeachRequest
  • ReplayList
  • ReplayParamInfo
  • ReplayStepsInner
  • ReportDeviceEvents200Response
  • ReportDeviceEventsRequest
  • RevertPageRequest
  • RevokedConnectKey
  • RevokedKey
  • Risk
  • Routine
  • RoutineList
  • RoutineTrigger
  • Run
  • RunCancelledEvent
  • RunCancelledEventPayload
  • RunCompletedEvent
  • RunCompletedEventPayload
  • RunError
  • RunEventEnvelope
  • RunEventsPage
  • RunFailedEvent
  • RunFailedEventPayload
  • RunReplayRequest
  • RunReplayResponse
  • RunStarted
  • RunStartedEvent
  • RunStartedEventPayload
  • RunStatus
  • SaveDevicePlaceRequest
  • SaveDeviceSourceRequest
  • SaveDeviceSourceRequestKinds
  • SaveImportedMemoriesRequest
  • SaveTeachRequest
  • SaveTeachResponse
  • SavedCount
  • SavedImportedMemories
  • SearchKind
  • SearchResponse
  • SearchResult
  • Secret
  • SecretKind
  • SecretList
  • SecretRequestedEvent
  • SecretRequestedEventPayload
  • SecretResolvedEvent
  • SecretResolvedEventPayload
  • SecretStoreSettings
  • SendMessageRequest
  • SendMessageResponse
  • SetBotA2aRequest
  • SetBotAccessRequest
  • SetBotAccessRequestEntriesInner
  • SetConnectionSettingsRequest
  • SetDeviceGrantRequest
  • SetEncryptionRequest
  • SetGitSyncRequest
  • SetJoinDomainRequest
  • SetLocalMcpServersRequest
  • SetMemoryBackendRequest
  • SetOrgLimitsRequest
  • SetPaymentSettingsRequest
  • SetPaymentSettingsRequestCardholder
  • SetProfileSpaceRequest
  • SetSecretStoreRequest
  • SetTelephonyRequest
  • SignupChallenge
  • SkillCatalog
  • SkillLoadedEvent
  • SkillLoadedEventPayload
  • SkillPreviewFile
  • SkillProposal
  • SkillProposalList
  • SkillStats
  • SkillStatsRevisionsInner
  • SkillUpdateCheck
  • StartAgentImportRequest
  • StartAgentImportRequestFilesInner
  • StartSetupResponse
  • StartTeachRequest
  • StartWelcomeRequest
  • StreamMode
  • StreamSession
  • StreamSessionRequest
  • SubrunCompletedEvent
  • SubrunCompletedEventPayload
  • SubrunStartedEvent
  • SubrunStartedEventPayload
  • Subscription
  • Suggestion
  • SuggestionProposedAction
  • SuspendOrgRequest
  • SwitchBranchRequest
  • SwitchBranchResponse
  • TakeLeaseRequest
  • TakeOverCallRequest
  • TakeoverRequest
  • TakeoverRequestList
  • TakeoverRequestedEvent
  • TakeoverRequestedEventPayload
  • TakeoverResolvedEvent
  • TakeoverResolvedEventPayload
  • Task
  • TaskComment
  • TaskCommentList
  • TaskList
  • TaskPriority
  • TaskStatus
  • TeachDraft
  • TeachDraftInputsInner
  • TeachSession
  • TeachStep
  • TelephonySettings
  • Template
  • TemplateList
  • TemplateRoutinesInner
  • TestCredentialRequest
  • ToolCompletedEvent
  • ToolCompletedEventPayload
  • ToolFailedEvent
  • ToolFailedEventPayload
  • ToolOutputEvent
  • ToolOutputEventPayload
  • ToolStartedEvent
  • ToolStartedEventPayload
  • Transcription
  • UiActionPart
  • UiShownEvent
  • UiShownEventPayload
  • UpdateAboutYouRequest
  • UpdateChannelRequest
  • UpdateComputerRequest
  • UpdateCredentialRequest
  • UpdateDefaultInviteRequest
  • UpdateIntegrationRequest
  • UpdateLocalDeviceRequest
  • UpdateMemoryRequest
  • UpdateNotice
  • UpdateOrgSettingsRequest
  • UpdateOrganizationRequest
  • UpdatePageRequest
  • UpdatePageResponse
  • UpdatePasswordManagerRequest
  • UpdatePluginRequest
  • UpdateProjectRequest
  • UpdateRoutineRequest
  • UpdateTaskRequest
  • UpdateUserFactRequest
  • UpdateWatcherRequest
  • UploadDeviceReadings200Response
  • UploadDeviceReadingsRequest
  • UploadResult
  • UsageEvent
  • UsageEventPayload
  • UsageReport
  • UsageReportByBotInner
  • UsageReportByDayInner
  • UsageReportByKindInner
  • UsageReportByModelInner
  • UserFact
  • UserFactList
  • Visibility
  • VoiceSession
  • VoiceSessionRequest
  • VoiceToolRequest
  • VoiceToolResult
  • VoiceTranscriptRequest
  • VoiceTranscriptRequestTurnsInner
  • VoiceTranscriptRequestUsage
  • WallpaperDownloadRequest
  • WallpaperPhoto
  • WallpaperPhotoList
  • Watcher
  • WatcherList
  • WelcomeChat
  • WorkspaceBadge
  • WorkspaceBadgeList
  • WorkspaceFilesExport
  • WorkspaceFilesExportFilesInner
  • WorkspaceFilesResult
  • WorkspaceMember
  • WorkspaceMemberList
  • WriteAgentImportFilesRequest
  • WriteAgentImportFilesResponse

Documentation For Authorization #

Authentication schemes defined for the API:

bearerAuth #

  • Type: HTTP Bearer Token authentication (JWT)

Author #

0
likes
0
points
174
downloads

Publisher

verified publishercasama.ai

Weekly Downloads

Generated REST client for the Casama API (dio + json_serializable), used by casama_sdk. Do not edit by hand.

Homepage
View/report issues

License

unknown (license)

Dependencies

copy_with_extension, dio, json_annotation

More

Packages that depend on casama_api