# HarnessRouter

HarnessRouter provides APIs for configuring and operating AI harnesses, sessions, workspaces, environments, and related resources.

Category: Developer. Connect from any SulusAssist agent at https://assist.sulus.ai/integrations/harnessrouter/.

## Actions

- **Activate Environment Version**: Switch an environment to an earlier successful built version without rebuilding.
- **Build Environment**: Start the next environment version build and return immediately.
- **Check Environment Package** (read-only): Check one pip, npm, or apt package specification against its registry before declaring it on an environment.
- **Check Environment Packages** (read-only): Sequentially check 1-50 pip, npm, or apt package specifications against their registries before declaring them on an environment.
- **Create Arena**: Create a free arena grouping with up to 10 harness/model columns.
- **Create Environment**: Create an environment project and optionally declare its description, entry instructions, packages, and Python runtime.
- **Create Harness**: Create a configuration-only harness without running a task or invoking a model.
- **Create Or Replace Snippet**: Create a reusable instruction snippet at a new path or completely replace the text at an existing path.
- **Create Session Directory**: Create a directory and missing parents in an idle session workspace.
- **Create Snippet Folder**: Create a folder used to organize reusable instruction snippets.
- **Discover UHP Support** (read-only): Discover the Unified Harness Protocol versions and capabilities supported by HarnessRouter without starting a task or invoking a model.
- **Download Container File** (read-only): Download one session artifact by container and file ID in its original format or as HarnessRouter's PDF preview.
- **Download Session Files Archive** (read-only): Download a session's files as one ZIP archive.
- **Export Harness Plugin** (read-only): Export a harness's provider-defined plugin configuration without credentials.
- **Get Agent Type Latency** (read-only): Read how soon each HarnessRouter agent type starts answering, grouped by how its session started, optionally filtered by model and time…
- **Get Arena** (read-only): Read one arena grouping by ID without running any of its columns.
- **Get Balance** (read-only): Return the connected organization's plan, available USD balance, currency, deficit status, and measurement time without running a task.
- **Get Current Account** (read-only): Return the organization, workspace, and member the connected API key acts as.
- **Get Environment Build** (read-only): Read one environment build's status, current step, and log.
- **Get Harness** (read-only): Return one harness's configuration by ID without running it.
- **Get Harness Plugin Files** (read-only): Read the complete stored file bundle for one plugin installed on a harness.
- **Get Harness Skill Files** (read-only): Read the complete stored file bundle for one skill attached to a harness.
- **Get Response** (read-only): Get a response, including its current status and output, without polling.
- **Get Session** (read-only): Get one session without starting or continuing its task.
- **Get Session Sharing** (read-only): Get whether a session is shared and the provider's share-link details.
- **Get Snippet** (read-only): Read one reusable instruction snippet by its exact workspace path.
- **Get Storage Usage** (read-only): Return total storage bytes used by the connected organization.
- **Get Trace** (read-only): Get a session trace summary.
- **Import Environment**: Import one zip/tar archive of up to 512 MiB or one git repository into an environment source tree without clearing existing source first.
- **List API Keys** (read-only): List API-key metadata for an organization without returning secret key values.
- **List Arenas** (read-only): List free arena groupings without running any column, model, or task.
- **List Bases** (read-only): Find base harnesses by ID, backend, or readiness status.
- **List Connectors** (read-only): List the connectors available in the connected workspace and whether each connector is connected.
- **List Harness Models** (read-only): List the models available to one configured harness, including its default and fallback model, with bounded results.
- **List Harnesses** (read-only): Find harness configurations by documented ID, name, or base without starting any tasks.
- **List Kits** (read-only): List available HarnessRouter starter kits and whether each has already been launched, without launching one.
- **List Models** (read-only): Browse available HarnessRouter models by backend with bounded results.
- **List Provider Connections** (read-only): List configured direct REST model-provider connections, safe model-routing maps, and provider catalog counts.
- **List Response Input Items** (read-only): List a bounded page of what a response was given without starting or continuing a task.
- **List Session Files** (read-only): List file metadata from a session workspace, optionally restricted to the most recent turn.
- **List Session Turns** (read-only): Get a session's conversation oldest first without continuing the task.
- **List Sessions** (read-only): List sessions newest first without starting or continuing a task.
- **List Snippets** (read-only): Find reusable instruction snippet and folder metadata by documented path and kind.
- **List Trace Events** (read-only): List one chunk or the complete payload of a session's trace events.
- **List Traces** (read-only): List task trace summaries newest first.
- **Move Session File**: Move or rename one file or directory in an idle session workspace.
- **Move Snippet Or Folder**: Move or rename one reusable instruction snippet or snippet folder inside the workspace.
- **Read Session File** (read-only): Read one file by its relative path from a session workspace.
- **Rename API Key**: Rename an existing HarnessRouter API key without changing its secret or workspace scope.
- **Rename Session**: Update a session title without starting or continuing its task.
- **Render Instructions**: Preview instruction template text with test values without saving a snippet or running a harness.
- **Set Harness Connectors**: Replace a harness's complete connector list with the supplied connector names or IDs.
- **Set Harness Paused**: Set whether a harness is paused.
- **Set Session Sharing**: Publish or disable a session's public read-only share link with an explicit enabled choice.
- **Test MCP Server Connection** (read-only): Test whether HarnessRouter can connect to a public MCP server URL without supplying server authentication, custom headers, or server…
- **Update Arena**: Replace an arena grouping by ID.
- **Update Environment**: Update an environment's name, description, entry instructions, package declarations, or Python runtime.
- **Upload File**: Upload one user-authorized source file for use in a later task.
- **Upsert Harness**: Create a harness at the supplied ID, or fully replace that harness's mutable configuration if it already exists.
- **Write Environment File**: Create or replace one environment source file with raw bytes, up to 64 MiB.
- **Write Session File**: Create or replace one file in an idle session workspace using UTF-8 text or base64 bytes, up to 4 MiB.
