MethodEndpointDescription
GET/v1/ai/workflow/chat/historyGet chat history for a conversation, workflow, or session
POST/v1/ai/workflow/chat/messagesPersist one chat message (caddie records V3 turns in chat history)
GET/v1/ai/workflow/chat/sessionsList chat sessions for the current organization
GET/v1/ai/workflow/chat/snapshotGet the live/pending state of a conversation (refresh-resume): whether a turn is actively running, the pending interrupt card, and the current mode. Excludes the transcript (use /chat/history) and the canvas (use the workflow record).
POST/v1/ai/workflow/chat/streamStream AI chat for workflow generation and updates via SSE
POST/v1/ai/workflow/chat/usageReport one chat turn's LLM usage (caddie V3) for AI-Credit billing
POST/v1/contractCreate a new contract project
DELETE/v1/contract/{id}Delete a contract project by ID
GET/v1/contract/{id}Get a contract project by ID
PUT/v1/contract/{id}Update a contract project
POST/v1/contract/{id}/auditRun audit for a contract project
POST/v1/contract/{id}/deploy/approveApprove and initiate contract deployment to testnet or mainnet
GET/v1/contract/{id}/downloadDownload contract project as Foundry ZIP
POST/v1/contract/{id}/fixTrigger AI auto-fix for a contract with failed tests
POST/v1/contract/{id}/plan/approveApprove a contract plan to proceed with code generation
POST/v1/contract/{id}/testRun tests for a contract project
GET/v1/contract/{id}/verification-statusCheck verification status for all deployments of a contract project
POST/v1/contract/chat/streamStream AI chat for smart contract development via SSE
GET/v1/contract/projects/{id}/streamStream contract project events
GET/v1/contract/session/{sessionId}Get a contract project by session ID
GET/v1/contractsList contract projects for the organization
POST/v1/contracts/{id}/verifyVerify a deployed contract's source code on block explorer (Etherscan, Basescan, etc.)