WDocs
WDocs
Open AppSign inGet Started

Getting Started

IntroductionPersonal SetupUse with LLM

Authentication

Public REST API

REST ConventionsMe & UsersNotes APIProjects APIAgent House API

Model Context Protocol (MCP)

Integrations

W© 2026 Weave
PrivacyTermsDataSupportllms.txtOpen App
Public REST API

Agent House API

Public chat, agents, models, and sandbox endpoints under /api/public/v1/agent-house.

Agent House API

Base: https://<APP_HOST>/api/public/v1/agent-house

Requires Authorization: Bearer wn_… and X-Workspace-Id.

Chat

MethodPathScopes
POST/chatai_chat:write
GET/chat/historyai_chat:read
POST/chat/sessionsai_chat:write
GET / PATCH / DELETE/chat/sessions/:sessionIdai_chat:read / write / delete

Send a message

curl -X POST "https://<APP_HOST>/api/public/v1/agent-house/chat" \
  -H "Authorization: Bearer wn_live_..." \
  -H "X-Workspace-Id: <WORKSPACE_ID>" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "Summarize open tasks in the relaunch project.",
    "model": {
      "name": "claude-sonnet-4-5",
      "version": "latest",
      "reasoningLevel": "medium"
    },
    "allowEdit": true,
    "allowWebSearch": false,
    "noteIds": [],
    "projectIds": ["proj_01..."],
    "sessionId": null,
    "agentId": null
  }'
FieldTypeRequiredNotes
messagestringyesUser prompt
modelobjectyes{ name, version?, reasoningLevel? }
allowEditbooleannoDefault true
allowWebSearchbooleanno
noteIdsstring[]noContext notes
projectIdsstring[]noContext projects
agentIdstringnoOptional agent
sessionIdstringnoContinue a session
streamTransportsocket | ssenoStreaming transport

Multipart: field name files for uploads (images/docs per product limits).

List history

curl "https://<APP_HOST>/api/public/v1/agent-house/chat/history?sessionId=ses_01...&limit=50" \
  -H "Authorization: Bearer wn_live_..." \
  -H "X-Workspace-Id: <WORKSPACE_ID>"

Models & tools

curl "https://<APP_HOST>/api/public/v1/agent-house/models" \
  -H "Authorization: Bearer wn_live_..." \
  -H "X-Workspace-Id: <WORKSPACE_ID>"

curl "https://<APP_HOST>/api/public/v1/agent-house/tools" \
  -H "Authorization: Bearer wn_live_..." \
  -H "X-Workspace-Id: <WORKSPACE_ID>"

Agents

MethodPathScopes
GET/agentsai_agents:read
POST/agentsai_agents:write
GET / PUT / PATCH / DELETE/agents/:idread / write / delete
POST/agents/:id/publishai_agents:write
POST/agents/delegateai_agents:execute

Create agent

curl -X POST "https://<APP_HOST>/api/public/v1/agent-house/agents" \
  -H "Authorization: Bearer wn_live_..." \
  -H "X-Workspace-Id: <WORKSPACE_ID>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Docs assistant",
    "instructions": "Help with Weave API and MCP setup. Prefer curl examples.",
    "model_name": "claude-sonnet-4-5",
    "model_provider": "anthropic",
    "reasoning_level": "medium",
    "mcp_allowed_tools": ["list_notes", "get_note", "list_projects"],
    "language": "en"
  }'

Sandbox (execute)

Requires sandbox:execute.

curl -X POST "https://<APP_HOST>/api/public/v1/agent-house/sandbox/code" \
  -H "Authorization: Bearer wn_live_..." \
  -H "X-Workspace-Id: <WORKSPACE_ID>" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "print(2 + 2)",
    "language": "python",
    "timeoutMs": 15000
  }'

Also available: POST /sandbox/bash, /sandbox/files/write|read|list, /sandbox/server/start|url|stop.

LLM connections (BYOK)

curl -X POST "https://<APP_HOST>/api/public/v1/agent-house/connections" \
  -H "Authorization: Bearer wn_live_..." \
  -H "X-Workspace-Id: <WORKSPACE_ID>" \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "anthropic",
    "title": "Personal Anthropic",
    "secrets": { "apiKey": "sk-ant-..." },
    "models": ["claude-sonnet-4-5"]
  }'

List providers: GET /agent-house/providers.

Projects API

Workspaces projects, stages, tasks, tags, and priorities via the Public REST API.

MCP Overview

Weave workspace MCP over Streamable HTTP with Bearer tokens or OAuth 2.1.

W© 2026 Weave. All rights reserved.
PrivacyTermsDataSupportllms.txtOpen App

On this page

Agent House APIChatSend a messageList historyModels & toolsAgentsCreate agentSandbox (execute)LLM connections (BYOK)