REST API Reference
Comprehensive endpoint catalog — approximately 417 REST endpoints
Overview
BASTION exposes its backend functionality through a REST API organized by domain.
All endpoints are prefixed with /api and require authentication unless noted
otherwise. Authentication is handled via HttpOnly session cookies (passkey/WebAuthn)
and optionally an X-DID header for DID-based identity.
Auth — /api/auth
Passkey-based authentication and account recovery.
POST /register— begin passkey (WebAuthn) registrationPOST /register/verify— complete passkey registrationPOST /login— begin passkey authenticationPOST /login/verify— complete passkey authenticationPOST /magic-link— send a magic link for passwordless loginPOST /magic-link/verify— verify a magic link tokenPOST /recovery— initiate account recoveryGET /session— get current session info
Accounts — /api/accounts
NEAR account creation and MPC key management.
POST /create— create a new account (Privy + NEAR)GET /:privyUserId— get account details by Privy user IDPOST /add-mpc-key— add an MPC signing key to an accountPOST /update-mpc-key— rotate or update an MPC key
Identity — /api/identity
DID management, PRF credentials, and entity types.
POST /did/create— create a new DID documentPOST /did/resolve— resolve a DID to its documentPOST /did/check-active— check if a DID is activePOST /derive-blinded-key— derive a blinded signing keyGET /entity-types— list available entity typesPOST /register-prf— register a PRF-derived credentialPOST /resolve-prf— resolve a PRF credentialGET /account/:accountId— get account identity infoPOST /register— register identityPOST /validate— validate an identityGET /resolve/:did— resolve a DID
User Profile — /api/user-profile
User profile management and email validation.
POST /validate-email— validate email against domain allowlistGET /registration-requirements— get required registration fieldsGET /— get current user's profile (requires auth)POST /— create or update user profile (requires auth)
User Mode — /api/user-mode
Training/operational mode toggle.
GET /— get current user mode (training or operational)PUT /— set user mode
Problem Sets — /api/problem-sets
Problem set (workspace) management, membership, invitations, compartments, activity, positions, subscriptions, and escalation rules.
Core CRUD
POST /— create a new problem setPOST /from-scenario— create from a scenario packageGET /me— list problem sets for current userPUT /me/primary— set primary problem setGET /:id— get problem set detailsPATCH /:id— update problem setDELETE /:id— archive a problem setGET /:id/hierarchy— get parent/child hierarchy
Members
GET /:id/members— list membersPOST /:id/members/:memberDid/role— assign role to memberPOST /:id/members/:memberDid/suspend— suspend a memberPOST /:id/members/:memberDid/unsuspend— unsuspend a memberDELETE /:id/members/:memberDid— remove a member
Invitations
GET /invite/code/:code— look up invite by codePOST /invite/accept-by-code— accept invite by codePOST /invite/accept— accept invite by IDPOST /:id/invite— create invitationGET /:id/invites— list pending invitationsPOST /:id/invites/:inviteId/approve— approve a pending inviteDELETE /:id/invites/:inviteId— revoke an invitation
Roles & Positions
GET /:id/roles— list defined rolesGET /:id/positions— list staff positionsPOST /:id/positions— create a positionPATCH /:id/positions/:positionId— update a positionDELETE /:id/positions/:positionId— delete a positionPUT /:id/positions/:positionId/phase-mappings— set phase mappingsPOST /:id/positions/bulk— bulk create positions
Compartments (Information Barriers)
GET /:id/compartments— list compartmentsPOST /:id/compartments— create a compartmentDELETE /:id/compartments/:cid— delete a compartmentPOST /:id/compartments/:cid/members— add member to compartmentDELETE /:id/compartments/:cid/members/:mid— remove memberGET /:id/members/:did/compartments— list compartments for a member
Activity & Notifications
GET /:id/activity— activity feedPOST /notifications/counts— batch notification counts
Subscriptions & Escalation
POST /:id/subscriptions— create notification subscriptionGET /:id/subscriptions— list subscriptionsPATCH /:id/subscriptions/:subId— update subscriptionDELETE /:id/subscriptions/:subId— delete subscriptionGET /:id/escalation-rules— list escalation rulesPOST /:id/escalation-rules— create escalation ruleDELETE /:id/escalation-rules/:ruleId— delete escalation rulePOST /:id/escalate— trigger escalation
Panel Config
GET /:id/panel-config— get panel layout configPUT /:id/panel-config— update panel layout config
Scenario & Agents
GET /:id/linked-scenario— get linked scenarioPOST /:id/scenario— link a scenarioGET /scenario-usage-counts— scenario usage statisticsGET /agents/list— list agents available to problem setGET /teams/list— list agent teams
Strategic Documents — /api/strategic
Document upload, extraction, objectives, reviews, assignments, and the strategic environment workspace.
Documents
POST /documents— upload a document (multipart)GET /documents— list documents (with filters)GET /documents/:id— get document metadataGET /documents/:id/text— get extracted textDELETE /documents/:id— delete a documentPOST /documents/:documentId/extract— trigger AI extractionGET /documents/:documentId/extract/stream— stream extraction progress (SSE)
Objectives
GET /documents/:documentId/objectives— objectives from a specific documentGET /objectives— list all objectivesGET /objectives/:id— get objective detailsPUT /objectives/:id— update an objectiveDELETE /objectives/:id— delete an objectivePOST /objectives/:id/verify— trigger AI verificationPOST /objectives/:id/submit— submit for workflow reviewPOST /objectives/:id/review— commander review (approve/reject)GET /objectives/:id/workflow— get workflow statePOST /objectives/:id/workflow/comment— add workflow commentPOST /objectives/:id/workflow/escalate— escalate objectivePOST /objectives/:id/assess— submit assessment updateGET /objectives/:id/risk— get risk assessmentPOST /objectives/:id/risk— create risk assessmentPUT /risk/:assessmentId/review— review risk assessmentGET /risk/high-risk— list high-risk items
Commander's Intent
POST /objectives/:id/intent— create commander's intentGET /objectives/:id/intent— get intentPUT /intent/:intentId— update intentPOST /objectives/:id/intent/generate— AI-generate intent
Operationalize
GET /objectives/:id/operationalize— get operational breakdownPOST /objectives/:id/operationalize— trigger operationalization
Document Reviews
POST /documents/:documentId/review— trigger AI reviewGET /documents/:documentId/review/stream— stream review progress (SSE)GET /documents/:documentId/reviews— list reviews for documentGET /reviews/:reviewId— get review detailsPOST /reviews/:reviewId/accept— accept reviewPOST /reviews/:reviewId/accept-partial— partially accept reviewPOST /reviews/:reviewId/reject— reject review
Assignments
POST /assignments— create document assignmentGET /assignments— list assignmentsGET /documents/:documentId/assignments— assignments for a documentPATCH /assignments/:id— update assignmentDELETE /assignments/:id— delete assignment
Environment Workspace
GET /environments/by-problem-set/:problemSetId— get environmentGET /environments/:envId/containers— list containersPOST /environments/:envId/categories— create categoryPUT /categories/:categoryId— update categoryDELETE /categories/:categoryId— delete categoryPOST /environments/:envId/containers— create containerPUT /containers/:containerId— update containerDELETE /containers/:containerId— delete containerGET /containers/:containerId/documents— documents in containerPUT /documents/:documentId/containers— assign to containersDELETE /documents/:documentId/containers/:containerId— remove from containerGET /environments/:envId/unorganized— unorganized documentsGET /documents/:documentId/containers— containers for a documentPOST /documents/:documentId/suggest-containers— AI container suggestions
Container Agents
POST /containers/:containerId/agents— assign agent to containerGET /containers/:containerId/agents— list container agentsDELETE /containers/:containerId/agents/:agentId— remove agent
Agents & Teams
GET /agents— list strategic agentsGET /teams— list strategic agent teams
Strategic Tools — /api/strategic-tools
AI-powered analysis tools.
POST /categorize-midlife— categorize documents by MIDLIFE frameworkPOST /prioritize-domain— prioritize analysis by PMESII-PT domain
Strategic Agents — /api/strategic-agents
OSINT collection, threat monitoring, intelligence fusion, and cycle management.
POST /osint/collect— trigger OSINT collectionPOST /threats/monitor— start threat monitoringGET /threats/alerts— get threat alertsPOST /threats/alerts/:alertId/acknowledge— acknowledge alertPOST /fuse— trigger intelligence fusionPOST /cycle— run full intelligence cycleGET /fused/:id— get fused productGET /fused— list fused productsPOST /fused/:id/review— review fused productGET /checkpoints— list agent checkpointsPOST /checkpoints/:id/resolve— resolve a checkpointGET /status— agent status summary
Design — /api/design
Operational design workspace (CoG analysis, LOEs, operational approach).
GET /:problemSetId— get design stateGET /:problemSetId/status— get design completion statusPATCH /:problemSetId/:section— update a design sectionGET /:problemSetId/handoff— get design-to-plan handoff packagePOST /:problemSetId/push-handoff— push handoff to Plan tabPOST /:problemSetId/analyze— trigger AI design analysis
Graph — /api/graph
RAFT knowledge graph (Relations, Actors, Facts, Themes), workspaces, OSINT events, validity tracking, and entity resolution.
Workspace Graph
GET /workspaces— list graph workspacesPOST /workspaces— create graph workspaceGET /workspaces/:id— get workspacePUT /workspaces/:id— update workspaceDELETE /workspaces/:id— delete workspaceGET /master-view— get master (unified) graph viewGET /workspaces/:id/tree— get workspace treeGET /workspaces/:id/graph— get full workspace graph dataGET /— query graph (with workspaceId filter)
Actors & Entities
GET /actors— list actorsGET /actors/:id— get actor detailsGET /actors/search/:query— search actorsGET /tensions— get actor tensions
OSINT Events
GET /osint/events— list events (with filters)POST /osint/events— create an eventGET /osint/events/:id— get event detailsPOST /osint/events/:eventId/link— link event to graph entity
Validity Tracking
POST /validity/:objectiveId/calculate— calculate validity scoreGET /validity/:objectiveId/history— validity score historyGET /validity/:objectiveId/trend— validity trendGET /validity/alerts— validity alertsPOST /validity/alerts/:alertId/acknowledge— acknowledge alertGET /validity/objectives— list objectives with validity data
Entity Resolution
GET /resolution/duplicates— detect potential duplicatesPOST /resolution/merge— merge duplicate entities
Graph Building & Summary
POST /graph/build/:documentId— build graph from documentGET /summary/:containerId— get container summaryPOST /summary/:containerId/invalidate— invalidate cached summaryGET /centrality-comparison— compare centrality metrics
Documents — /api/documents
Low-level document CRUD (used alongside strategic document API).
POST /upload— upload a document (multipart)GET /:documentId— get document by IDGET /— list documents
Inheritance — /api/inheritance
Strategic environment inheritance between parent and child problem sets.
GET /:id/inherited-context— get inherited context from parentPOST /:id/inherited-context/acknowledge— acknowledge inherited updateGET /:id/inherited-context/changelog— changelog of inherited changes
Annotations
POST /:id/annotations— create annotation on inherited itemGET /:id/annotations— list annotationsPUT /:id/annotations/:annotationId— update annotationGET /:id/annotations/parent-view— parent's view of child annotations
Requests for Information (RFIs)
POST /:id/rfis— create RFI to parentGET /:id/rfis— list RFIsPOST /:id/rfis/:rfiId/messages— add message to RFI threadGET /:id/rfis/:rfiId/messages— get RFI thread messagesPUT /:id/rfis/:rfiId/status— update RFI statusPOST /backfill— backfill inheritance for existing problem sets
DAO / Governance — /api/dao
DAO creation, proposals, voting, delegation, and role management.
GET /— list DAOs (filtered by workspace)GET /:daoId— get DAO detailsPOST /— create a DAOPUT /:daoId/config— update DAO configurationGET /:daoId/proposals— list proposalsGET /:daoId/proposals/:proposalId— get proposal detailsPOST /:daoId/proposals— submit a proposalGET /:daoId/proposals/:proposalId/votes— get votes on a proposalPOST /:daoId/proposals/:proposalId/vote— cast a votePOST /:daoId/proposals/:proposalId/execute— execute approved proposalPOST /:daoId/proposals/:proposalId/finalize— finalize votingGET /:daoId/roles— list DAO rolesPOST /:daoId/roles— create a DAO roleGET /:daoId/members/:account/roles— get member's rolesPOST /:daoId/delegate— delegate voting powerGET /:daoId/delegations— list delegations
Decision Gates — /api/gates
Governance decision gates embedded at workflow transition points.
GET /:problemSetId— list all gates for a problem setGET /:problemSetId/:tab— gates filtered by tabGET /:problemSetId/escalated— escalated gates from child problem setsGET /:problemSetId/hierarchy— own gates plus child gatesGET /:gateId/permissions/:userRole— permission check for a rolePOST /— create a new decision gatePOST /:gateId/submit— submit gate for approvalPOST /:gateId/approve— approve a gatePOST /:gateId/reject— reject a gate (with reason)POST /:gateId/override— override a soft-warning gate (with justification)POST /:gateId/escalate— escalate gate to parent problem setPATCH /:gateId/config— update gate configuration (enforcement, deadline)
Agents — /api/agents
AI agent registry, delegation, execution, and governance copilot.
GET /— list all agentsGET /:agentId— get agent detailsPOST /— register a new agentPUT /:agentId/deactivate— deactivate an agentGET /:agentId/delegations— list agent delegationsPOST /:agentId/delegations— create delegationDELETE /delegations/:delegationId— revoke delegationPOST /:agentId/execute— execute an agent taskPOST /:agentId/analyze-all— run full analysisGET /:agentId/actions— list agent actionsGET /governance-copilot/analyze— governance copilot analysis
AI Staff — /api/ai-staff
Contextual AI staff feed, annotations, chat, and tab routing.
GET /:problemSetId/feed— get prioritized AI feed items (filter by tab)POST /:problemSetId/feed— create a feed itemPATCH /:problemSetId/feed/:itemId/read— mark feed item readPOST /:problemSetId/feed/read-all— mark all feed items readGET /:problemSetId/annotations— list AI annotationsPOST /:problemSetId/annotations— create annotationPATCH /:problemSetId/annotations/:annotationId— update annotation statusGET /:problemSetId/chat— get chat historyPOST /:problemSetId/chat— send chat messageGET /:problemSetId/routing— get tab-to-agent routing configPUT /:problemSetId/routing/:tabId— update routing for a tab
Orchestration — /api/orchestration
Multi-agent workflow execution, supervisors, checkpoints, and metrics.
POST /execute— execute an orchestrated workflowGET /executions— list executionsGET /executions/:id— get execution detailsPOST /executions/:id/cancel— cancel executionGET /executions/:id/trace— get execution traceGET /executions/:id/graph— get execution dependency graphPOST /supervisors— create a supervisor configGET /supervisors— list supervisorsPOST /supervisors/:id/execute— execute via supervisorGET /checkpoints— list pending checkpointsGET /checkpoints/:id— get checkpoint detailsPOST /checkpoints/:id/approve— approve checkpointPOST /checkpoints/:id/reject— reject checkpointGET /metrics— execution metrics and statistics
COP — /api/cop
Common Operating Picture layers, symbols, versioning, agents, entity linkages, and conflict detection.
Status
GET /status— COP generation status and layer counts
Layer CRUD & Lifecycle
POST /layers— create a COP layerGET /layers— query layers (filter by state, type, section)GET /layers/:id— get layer detailsPUT /layers/:id/spec— update layer specPOST /layers/:id/transition— transition layer state (draft/review/published/cop)POST /layers/:id/feedback— add review feedbackPOST /layers/:id/recall— recall layer from COP to review
Version Browsing
GET /layers/:id/versions— list version snapshotsGET /layers/:id/versions/:version— get specific versionGET /layers/:id/versions/:version/spec— get spec at version
Agent Control
POST /agents/trigger— manually trigger COP generationPOST /agents/polling/start— start change pollingPOST /agents/polling/stop— stop change pollingGET /agents/activity— recent agent activity feed
Entity Linkages
GET /linkages/pending— get unreviewed entity linkagesPOST /linkages/:id/review— approve or reject a linkageGET /linkages/entity/:entityId— get linkages for an entity
Conflict Detection
GET /conflicts— detected cross-layer conflicts
Resources — /api/resources
Resource registry with DID-based identity, groups, personnel, consumables, sensors, and telemetry.
Resource Registry
GET /— list resources (with capability/area filters)GET /registry/search— search registryGET /registry/capabilities— list capability categoriesGET /registry/stats— registry statisticsPOST /registry/register— register a resource with DIDGET /did/:did— get resource by DID
Resource CRUD
GET /:id— get resource by IDPOST /— create a resourcePATCH /:id— update resourcePATCH /:id/status— update readiness statusDELETE /:id— delete a resourcePOST /bulk-import— bulk import resources
Resource Groups
GET /groups— list groupsPOST /groups— create a groupGET /groups/:groupId— get group detailsGET /groups/:groupId/members— list group membersPOST /groups/:groupId/members— add member to groupDELETE /groups/:groupId/members/:resourceId— remove memberDELETE /groups/:groupId— delete group
Personnel
GET /personnel— list personnel resourcesGET /personnel/:id— get personnel detailsPOST /personnel— create personnel recordPATCH /personnel/:id— update personnelPATCH /personnel/:id/unit— reassign unitDELETE /personnel/:id— delete personnelPOST /personnel/bulk-import— bulk import personnel
Consumables
GET /consumables— list consumablesGET /consumables/:id— get consumable detailsPOST /consumables— create consumablePATCH /consumables/:id— update consumablePATCH /consumables/:id/level— update stock levelDELETE /consumables/:id— delete consumableGET /consumables/low-stock— list low-stock items
Telemetry
POST /telemetry— ingest resource telemetry data
Sensors — /api/sensors
Sensor registration, coverage tracking, and status management.
POST /— register a sensorGET /— list sensorsGET /:id— get sensor detailsPATCH /:id— update sensor configPATCH /:id/status— update sensor statusPATCH /:id/location— update sensor locationDELETE /:id— deregister a sensorGET /coverage/:missionId— get sensor coverage for missionPOST /:id/coverage— report coverage data
Command — /api/command
Command relationships, unit hierarchy, and responsibility matrices.
Units
POST /units— create a unitGET /units— list unitsGET /units/:id— get unit detailsPATCH /units/:id— update unitDELETE /units/:id— delete unit
Relationships
POST /relationships— create command relationshipGET /relationships— list relationshipsDELETE /relationships/:id— delete relationshipPATCH /relationships/:id— update relationship
Hierarchy & Matrix
GET /hierarchy/:missionId— get command hierarchy for missionPOST /validate-hierarchy/:missionId— validate hierarchy integrityGET /matrix/:missionId— get responsibility/authority matrix
MDMP — /api/mdmp
Military Decision-Making Process workflow, gates, assumptions, activities, and safety matrix.
Workflow
POST /workflows— create a new MDMP workflowGET /workflows/:missionId— get workflow statePOST /workflows/:missionId/gates— register phase gatesPUT /workflows/:missionId/gates/:gateId— satisfy a gatePOST /workflows/:missionId/transitions— request phase transition
Assumptions
GET /workflows/:missionId/assumptions— list assumptionsPOST /workflows/:missionId/assumptions— register assumptionPUT /workflows/:missionId/assumptions/:id/accept— accept assumption
Activity Registry
GET /activities— list activities (filter by phase, category)GET /activities/:id— get activity by IDGET /phases/:phase/statistics— get phase statistics
Safety Matrix
POST /safety/validate— validate authority against safety matrixGET /safety/matrix— get full safety matrix
Missions — /api/missions
Mission lifecycle, participants, and invitations (legacy path, largely superseded by problem sets).
POST /— create missionGET /— list missionsGET /:id— get mission detailsPATCH /:id— update missionPOST /:id/activate— activate missionPOST /:id/complete— complete missionPOST /:id/archive— archive missionGET /:id/participants— list participantsDELETE /:id/participants/:participantId— remove participantPOST /:id/invites— create inviteGET /:id/invites— list invitesDELETE /:id/invites/:inviteId— revoke invitePOST /accept-invite— accept a mission invite
Messaging — /api/messages
MessageBus pub/sub messaging, channels, and delivery tracking.
POST /— publish a messageGET /— query messages (filter by source, destination, type)GET /:messageId— get message by IDPOST /:messageId/acknowledge— acknowledge receiptGET /thread/:correlationId— get message threadGET /channels— list channels (filter by problem set)POST /channels/:channel/subscribe— subscribe to channelDELETE /channels/:channel/subscribe— unsubscribeGET /stats— messaging statistics
Credentials — /api/credentials
Verifiable credential issuance and verification.
POST /issue/security-clearance— issue security clearance VCPOST /issue/entity-attribute— issue entity attribute VCPOST /issue/role-assignment— issue role assignment VCPOST /issue/coalition-membership— issue coalition membership VCPOST /issue/derivative-data— issue derivative data VCPOST /issue/user-profile— issue user profile VCPOST /verify-hash— verify credential hashPOST /hash— hash a credentialGET /types— list credential types
Encryption — /api/encryption
Data encryption and decryption.
POST /encrypt— encrypt dataPOST /decrypt— decrypt data
Ironclaw — /api/ironclaw
AI assistant chat, action confirmation, trust preferences, and emergency mode.
Health
GET /health— check Ironclaw sidecar health
Global Chat (no problem set context)
POST /global/message— send message (response via WebSocket)GET /global/history— get global chat history
Problem Set Chat
POST /:problemSetId/message— send message (response via WebSocket)GET /:problemSetId/history— get chat history
Action Confirmation & Trust
POST /:problemSetId/confirm— confirm/deny an action (yes/no/always)GET /trust-preferences— get user trust preferencesDELETE /trust-preferences/:preferenceId— revoke a trust preference
Emergency
POST /:problemSetId/emergency— emergency action (requires system_admin)
Discovery — /api/discovery
Device discovery, scanner control, access lists, legal consent, EM spectrum awareness, and network topology.
Scanner Control
GET /status— scanner statusPOST /start— start scanningPOST /stop— stop scanningPOST /pause— pause scanningPOST /resume— resume scanning
Access Lists
GET /access-list— list access entries (allow/block)POST /access-list— add access entryDELETE /access-list/:id— remove access entry
Legal Consent
GET /legal-consent/:origin— get required consent textPOST /legal-consent— record consent acceptance
Devices
GET /devices— list discovered devices (filter by state, transport)GET /devices/:id— get device detailsPOST /devices/:id/emergency-disconnect— emergency disconnect
Scan Targets
GET /scan-targets— list remote scan targetsPOST /scan-targets— add scan targetPUT /scan-targets/:id— update scan targetDELETE /scan-targets/:id— remove scan target
Client Discovery
POST /client-discovery— ingest browser-reported device
Scanner Config
PUT /scanner/:transport/config— update scanner config per transport
EM Spectrum
GET /em/snapshot— current EM picture with per-band summariesGET /em/own-footprint— Bastion's own electromagnetic emissions (OPSEC)
Network Topology
GET /topology— full network topology graphGET /topology/stats— topology statisticsGET /topology/path/:from/:to— shortest path between nodes
Ironclaw Callback
POST /ironclaw-result— receive Ironclaw analysis result for device
Validation — /api/validation
Agent validation runs, scoring, circuit breaker, thresholds, and data export.
Runs
POST /runs— trigger manual validation runGET /runs— list recent runsGET /runs/:runId— get run details with results
Dashboard & Scores
GET /dashboard— dashboard summary (all agents)GET /agents/:agentId/scores— agent score historyGET /agents/:agentId/circuit-events— circuit breaker event history
Thresholds
GET /thresholds— get threshold configsPUT /thresholds— upsert threshold
Reinstatement
POST /agents/:agentId/reinstate— reinstate a disabled agent
Export
GET /export/csv— export validation data as CSVGET /export/pdf— export validation report as PDF
Edge Sync — /api/edge-sync
Offline-capable data synchronization for edge deployments.
POST /sync— push sync payload from edge nodeGET /sync/delta— get delta since last sync
Admin — /api/admin
System configuration, agent management, tools, teams, model config, OSINT sources, funding, and agent builder.
LLM & Workflow Config
GET /config/llm— get LLM configurationPUT /config/llm— update LLM configurationGET /config/agents— get agent configurationPUT /config/agents— update agent configurationGET /config/workflow— get workflow configurationPUT /config/workflow— update workflow configurationGET /config/audit— get configuration audit trail
OSINT Sources
GET /osint-sources— list OSINT sourcesPOST /osint-sources— create OSINT sourceGET /osint-sources/:id— get source detailsPUT /osint-sources/:id— update sourceDELETE /osint-sources/:id— delete source
Email Domain Management
GET /config/email-domains— list allowed email domainsPUT /config/email-domains— update allowed domainsDELETE /config/email-domains— remove domainGET /config/blocked-emails— list blocked emailsPUT /config/blocked-emails— update blocked listDELETE /config/blocked-emails— remove from blocked list
Agent Management
GET /agents— list all agentsPOST /agents— create agentGET /agents/:agentId— get agent detailsPUT /agents/:agentId— update agentDELETE /agents/:agentId— delete agentGET /agents/:agentId/did— get agent DIDGET /agents/:agentId/character— get agent character configPUT /agents/:agentId/character— update characterDELETE /agents/:agentId/character— delete characterGET /agents/:agentId/model-config— get model configPUT /agents/:agentId/model-config— update model configDELETE /agents/:agentId/model-config— delete model configGET /agents/:agentId/tools— list tools assigned to agentGET /agents/:agentId/teams— list teams agent belongs to
Tool Management
GET /tools— list all toolsPOST /tools— create toolGET /tools/:toolId— get tool detailsPUT /tools/:toolId— update toolDELETE /tools/:toolId— delete toolPOST /tools/:toolId/assign/:agentId— assign tool to agentDELETE /tools/:toolId/assign/:agentId— unassign tool
Team Management
GET /teams— list teamsPOST /teams— create teamGET /teams/:teamId— get team detailsPUT /teams/:teamId— update teamDELETE /teams/:teamId— delete teamPOST /teams/:teamId/members— add memberDELETE /teams/:teamId/members/:agentId— remove member
Agent Builder
GET /agent-builder/templates— list agent templatesGET /agent-builder/capabilities— list available capabilitiesGET /agent-builder/phases— list available phasesGET /agent-builder/autonomy-levels— list autonomy levelsPOST /agent-builder/validate— validate agent configPOST /agent-builder/preview-prompt— preview system prompt
LLM Models & Funding
GET /llm-models— list available LLM modelsGET /funding/status— agent funding statusGET /funding/history— funding historyGET /funding/check/:accountId— check account funding
Cache
POST /cache/invalidate— invalidate cache entries
Endpoint counts are approximate. Consult the backend source in backend/src/
for complete request/response schemas and validation rules.