Developer Tools

HarnessRouter

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

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Activate Environment Version

    Switch an environment to an earlier successful built version without rebuilding. This reversible update can be undone by activating another built version.

  • 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. Exactly one of archive or git_url is required; destructive replacement is intentionally unavailable.

  • Move Session File

    Move or rename one file or directory in an idle session workspace. The destination must not exist and cannot be inside the source.

  • Move Snippet Or Folder

    Move or rename one reusable instruction snippet or snippet folder inside the 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. This action requires the nonempty title that HarnessRouter needs for a successful rename, and sends at most 120 characters. The live OpenAPI's optional/null shape is owner-shaped out because those values always return invalid_title. Source: https://api.harnessrouter.ai/openapi.json and https://harnessrouter.ai/docs/rename-and-share-a-session.

  • Set Harness Connectors

    Replace a harness's complete connector list with the supplied connector names or IDs. Send every connector the harness should retain: omitted connectors are detached, and the list must retain at least one connector. This action only changes the harness configuration; it does not connect accounts or accept credentials. Pinned values are agent-visible tool names and are limited to eight.

  • Set Harness Paused

    Set whether a harness is paused. Pausing refuses new tasks while allowing running tasks to finish; resuming lets the harness accept new tasks again. This reversible management operation does not start or delete a task or harness.

  • Set Session Sharing

    Publish or disable a session's public read-only share link with an explicit enabled choice. Publishing exposes the conversation and every session file to anyone with the link. The provider optional-body publish behavior is owner-shaped out to require consent. Source: https://harnessrouter.ai/docs/rename-and-share-a-session and https://unifiedharnessprotocol.org/spec/2026-10-19/sessions#5-session-sharing.

  • Update Arena

    Replace an arena grouping by ID. Supply every column the arena should keep; the operation only changes grouping metadata and does not run any model or task.

  • Update Environment

    Update an environment's name, description, entry instructions, package declarations, or Python runtime. Package lists accept up to 200 specs each; this does not build.

  • Upsert Harness

    Create a harness at the supplied ID, or fully replace that harness's mutable configuration if it already exists. The required base selects a new harness's runtime but cannot change an existing harness's base. Send current values for every setting, MCP server, skill, and plugin that must be preserved; explicit empty collections clear them, and leaving an installed plugin out of plugins uninstalls it. This action only changes configuration and does not run a task.

  • Create Or Replace Snippet

    Create a reusable instruction snippet at a new path or completely replace the text at an existing path.

  • Write Environment File

    Create or replace one environment source file with raw bytes, up to 64 MiB. Parent directories are created; environment tree listings return up to 20,000 entries.

  • Write Session File

    Create or replace one file in an idle session workspace using UTF-8 text or base64 bytes, up to 4 MiB. HarnessRouter refuses writes while a turn runs.