Skip to main content

Routa.js — Product Feature Specification

Multi-agent coordination platform. This document is auto-generated from:

  • Frontend routes: src/app/**/page.tsx
  • API contract: api-contract.yaml

Frontend Pages

PageRouteDescription
Home/Task input first
A2A Protocol/a2aA2A protocol testing
AG-UI Protocol/ag-uiAG-UI protocol testing
MCP Tools/mcp-toolsBrowse and execute MCP tools
Messages/messagesNotifications and PR history
Settings/settingsProviders, specialists, models
Agent Installation/settings/agentsManage ACP agents
Scheduled Triggers/settings/schedulesCron-based agent triggers
GitHub Webhooks/settings/webhooksGitHub event triggers
Traces/tracesBrowse agent execution traces
Workspace/workspace/:workspaceIdWorkspace session management
Session Detail/workspace/:workspaceId/sessions/:sessionIdIndividual session view

API Endpoints

A2A (8)

MethodEndpointDescription
GET/api/a2a/sessionsList A2A sessions
GET/api/a2a/cardA2A agent card
POST/api/a2a/rpcA2A JSON-RPC
GET/api/a2a/rpcA2A SSE stream
POST/api/a2a/messageSend a message via the A2A protocol
GET/api/a2a/tasksList A2A tasks
GET/api/a2a/tasks/{id}Get an A2A task by ID
POST/api/a2a/tasks/{id}Update / respond to an A2A task

A2Ui (2)

MethodEndpointDescription
GET/api/a2ui/dashboardGet A2UI v0.10 dashboard data
POST/api/a2ui/dashboardAdd custom A2UI messages to the dashboard

ACP (15)

MethodEndpointDescription
POST/api/acpACP JSON-RPC endpoint
GET/api/acpACP SSE stream
GET/api/acp/registryList agents in the ACP registry
POST/api/acp/registryRegister an agent in the ACP registry
POST/api/acp/installInstall an ACP agent
DELETE/api/acp/installUninstall an ACP agent
GET/api/acp/runtimeGet ACP runtime status
POST/api/acp/runtimeStart ACP runtime
GET/api/acp/warmupGet ACP warmup status
POST/api/acp/warmupTrigger ACP warmup
GET/api/acp/docker/statusGet Docker daemon status
POST/api/acp/docker/pullPull a Docker image
GET/api/acp/docker/containersList Docker containers for OpenCode agents
POST/api/acp/docker/container/startStart a Docker container for OpenCode agent
POST/api/acp/docker/container/stopStop a Docker container

Ag-Ui (1)

MethodEndpointDescription
POST/api/ag-uiProcess AG-UI protocol request (SSE stream)

Agents (5)

MethodEndpointDescription
GET/api/agentsList agents (or get single by id query param)
POST/api/agentsCreate a new agent
GET/api/agents/{id}Get agent by ID (REST-style path param)
DELETE/api/agents/{id}Delete an agent
POST/api/agents/{id}/statusUpdate agent status

Background-Tasks (7)

MethodEndpointDescription
GET/api/background-tasksList background tasks
POST/api/background-tasksCreate a background task
POST/api/background-tasks/processProcess the next pending background task
GET/api/background-tasks/{id}Get a background task by ID
PATCH/api/background-tasks/{id}Update a background task (PENDING only)
DELETE/api/background-tasks/{id}Cancel a background task
POST/api/background-tasks/{id}/retryRetry a failed background task

Clone (7)

MethodEndpointDescription
GET/api/cloneList cloned repositories
POST/api/cloneClone a GitHub repository
PATCH/api/cloneSwitch branch on cloned repo
POST/api/clone/progressClone with SSE progress
GET/api/clone/branchesGet branch info
POST/api/clone/branchesFetch remote branches
PATCH/api/clone/branchesCheckout branch

Codebases (3)

MethodEndpointDescription
PATCH/api/codebases/{id}Update codebase metadata
DELETE/api/codebases/{id}Delete a codebase
POST/api/codebases/{id}/defaultSet a codebase as the default

Debug (1)

MethodEndpointDescription
GET/api/debug/pathDebug endpoint — returns resolved binary paths (desktop only)

Files (1)

MethodEndpointDescription
GET/api/files/searchSearch files in a codebase

GitHub (6)

MethodEndpointDescription
GET/api/githubList active GitHub virtual workspaces
POST/api/github/importImport a GitHub repo as a virtual workspace (zipball download)
GET/api/github/treeGet file tree for an imported GitHub repo
GET/api/github/fileRead a file from an imported GitHub repo
GET/api/github/searchSearch files in an imported GitHub repo
POST/api/github/pr-commentPost a comment on a GitHub pull request

Health (1)

MethodEndpointDescription
GET/api/healthHealth check — returns service status

MCP (6)

MethodEndpointDescription
POST/api/mcpMCP Streamable HTTP (JSON-RPC)
GET/api/mcpMCP SSE stream
DELETE/api/mcpTerminate MCP session
GET/api/mcp/toolsList MCP tools
POST/api/mcp/toolsExecute an MCP tool
PATCH/api/mcp/toolsUpdate MCP tool configuration

Mcp-Server (3)

MethodEndpointDescription
GET/api/mcp-serverGet MCP server status
POST/api/mcp-serverStart MCP server
DELETE/api/mcp-serverStop MCP server

Mcp-Servers (4)

MethodEndpointDescription
GET/api/mcp-serversList custom MCP servers (or get single by id query param)
POST/api/mcp-serversCreate a new custom MCP server
PUT/api/mcp-serversUpdate an existing custom MCP server
DELETE/api/mcp-serversDelete a custom MCP server

Memory (3)

MethodEndpointDescription
GET/api/memoryList memory entries for a workspace
POST/api/memoryCreate a memory entry
DELETE/api/memoryDelete memory entries

Notes (6)

MethodEndpointDescription
GET/api/notesList notes or get single by noteId
POST/api/notesCreate or update a note
DELETE/api/notesDelete note by query params
GET/api/notes/eventsSSE stream for note change events
GET/api/notes/{workspaceId}/{noteId}Get note by workspace + note ID
DELETE/api/notes/{workspaceId}/{noteId}Delete note by path params

Polling (4)

MethodEndpointDescription
GET/api/polling/configGet polling configuration
POST/api/polling/configUpdate polling configuration
GET/api/polling/checkRun a polling check (GET)
POST/api/polling/checkRun a polling check (POST)

Providers (2)

MethodEndpointDescription
GET/api/providersList configured LLM providers
GET/api/providers/modelsList available models for configured providers

Rpc (2)

MethodEndpointDescription
POST/api/rpcGeneric JSON-RPC endpoint
GET/api/rpc/methodsList available RPC methods

Schedules (8)

MethodEndpointDescription
GET/api/schedulesList scheduled tasks
POST/api/schedulesCreate a new schedule
GET/api/schedules/{id}Get a schedule by ID
PATCH/api/schedules/{id}Update a schedule
DELETE/api/schedules/{id}Delete a schedule
POST/api/schedules/{id}/runTrigger a schedule to run immediately
GET/api/schedules/tickGet tick status for scheduled tasks
POST/api/schedules/tickManually trigger the schedule tick

Sessions (7)

MethodEndpointDescription
GET/api/sessionsList ACP sessions
GET/api/sessions/{sessionId}/contextGet hierarchical context for a session
GET/api/sessions/{id}Get session by ID
PATCH/api/sessions/{id}Update session metadata
DELETE/api/sessions/{id}Delete a session
GET/api/sessions/{id}/historyGet message history for a session
POST/api/sessions/{id}/disconnectDisconnect and kill an active session process

Skills (7)

MethodEndpointDescription
GET/api/skillsList skills or get by name
POST/api/skillsReload skills from disk
GET/api/skills/cloneDiscover skills from repo path
POST/api/skills/cloneClone a skill repository
POST/api/skills/uploadUpload skill as zip
GET/api/skills/catalogList available skills in the registry
POST/api/skills/catalogRefresh the local skill catalog from registry

Specialists (4)

MethodEndpointDescription
GET/api/specialistsList configured specialist agents
POST/api/specialistsCreate a specialist configuration
PUT/api/specialistsUpdate an existing specialist
DELETE/api/specialistsDelete a specialist

Tasks (7)

MethodEndpointDescription
GET/api/tasksList tasks
POST/api/tasksCreate a task
DELETE/api/tasksDelete all tasks for a workspace
GET/api/tasks/{id}Get task by ID
DELETE/api/tasks/{id}Delete a task
POST/api/tasks/{id}/statusUpdate task status
GET/api/tasks/readyFind tasks with all dependencies satisfied

Test-Mcp (1)

MethodEndpointDescription
GET/api/test-mcpTest MCP config

Traces (4)

MethodEndpointDescription
GET/api/tracesList agent execution traces
POST/api/tracesCreate a new trace record
GET/api/traces/statsGet aggregated trace statistics
GET/api/traces/{id}Get a single trace by ID

Webhooks (10)

MethodEndpointDescription
GET/api/webhooks/configsList webhook configurations
POST/api/webhooks/configsCreate a webhook configuration
PUT/api/webhooks/configsUpdate a webhook configuration
DELETE/api/webhooks/configsDelete a webhook configuration
GET/api/webhooks/githubList registered GitHub webhooks
POST/api/webhooks/githubHandle an incoming GitHub webhook event
GET/api/webhooks/registerList webhook registrations
POST/api/webhooks/registerRegister a new webhook
DELETE/api/webhooks/registerUnregister a webhook
GET/api/webhooks/webhook-logsList webhook delivery logs

Workspaces (10)

MethodEndpointDescription
GET/api/workspacesList all workspaces
POST/api/workspacesCreate a workspace
GET/api/workspaces/{id}Get workspace by ID
PATCH/api/workspaces/{id}Update workspace (title, repoPath, branch, status, metadata)
DELETE/api/workspaces/{id}Delete workspace
POST/api/workspaces/{id}/archiveArchive or unarchive a workspace
GET/api/workspaces/{id}/codebasesList codebases in a workspace
POST/api/workspaces/{id}/codebasesAdd a codebase to a workspace
GET/api/workspaces/{workspace_id}/codebases/{codebase_id}/worktreesList worktrees for a codebase
POST/api/workspaces/{workspace_id}/codebases/{codebase_id}/worktreesCreate a new git worktree

Worktrees (3)

MethodEndpointDescription
GET/api/worktrees/{id}Get a single worktree
DELETE/api/worktrees/{id}Remove a worktree
POST/api/worktrees/{id}/validateValidate worktree health on disk