HarnessRouter
HarnessRouter provides APIs for configuring and operating AI harnesses, sessions, workspaces, environments, and related resources.
61 actionsAPI key
What your agent can do in HarnessRouter
Looks up
- Check Environment PackageCheck one pip, npm, or apt package specification against its registry before declaring it on an environment.
- Check Environment PackagesSequentially check 1-50 pip, npm, or apt package specifications against their registries before declaring them on an environment.
- Discover UHP SupportDiscover the Unified Harness Protocol versions and capabilities supported by HarnessRouter without starting a task or invoking a model.
- Download Container FileDownload one session artifact by container and file ID in its original format or as HarnessRouter's PDF preview.
- Download Session Files ArchiveDownload a session's files as one ZIP archive.
- Export Harness PluginExport a harness's provider-defined plugin configuration without credentials.
- Get Agent Type LatencyRead how soon each HarnessRouter agent type starts answering, grouped by how its session started, optionally filtered by model and time…
- Get ArenaRead one arena grouping by ID without running any of its columns.
- Get BalanceReturn the connected organization's plan, available USD balance, currency, deficit status, and measurement time without running a task.
- Get Current AccountReturn the organization, workspace, and member the connected API key acts as.
Show 28 more
- Get Environment BuildRead one environment build's status, current step, and log.
- Get HarnessReturn one harness's configuration by ID without running it.
- Get Harness Plugin FilesRead the complete stored file bundle for one plugin installed on a harness.
- Get Harness Skill FilesRead the complete stored file bundle for one skill attached to a harness.
- Get ResponseGet a response, including its current status and output, without polling.
- Get SessionGet one session without starting or continuing its task.
- Get Session SharingGet whether a session is shared and the provider's share-link details.
- Get SnippetRead one reusable instruction snippet by its exact workspace path.
- Get Storage UsageReturn total storage bytes used by the connected organization.
- Get TraceGet a session trace summary.
- List API KeysList API-key metadata for an organization without returning secret key values.
- List ArenasList free arena groupings without running any column, model, or task.
- List BasesFind base harnesses by ID, backend, or readiness status.
- List ConnectorsList the connectors available in the connected workspace and whether each connector is connected.
- List Harness ModelsList the models available to one configured harness, including its default and fallback model, with bounded results.
- List HarnessesFind harness configurations by documented ID, name, or base without starting any tasks.
- List KitsList available HarnessRouter starter kits and whether each has already been launched, without launching one.
- List ModelsBrowse available HarnessRouter models by backend with bounded results.
- List Provider ConnectionsList configured direct REST model-provider connections, safe model-routing maps, and provider catalog counts.
- List Response Input ItemsList a bounded page of what a response was given without starting or continuing a task.
- List Session FilesList file metadata from a session workspace, optionally restricted to the most recent turn.
- List Session TurnsGet a session's conversation oldest first without continuing the task.
- List SessionsList sessions newest first without starting or continuing a task.
- List SnippetsFind reusable instruction snippet and folder metadata by documented path and kind.
- List Trace EventsList one chunk or the complete payload of a session's trace events.
- List TracesList task trace summaries newest first.
- Read Session FileRead one file by its relative path from a session workspace.
- Test MCP Server ConnectionTest whether HarnessRouter can connect to a public MCP server URL without supplying server authentication, custom headers, or server…
Takes action
- Activate Environment VersionSwitch an environment to an earlier successful built version without rebuilding.
- Build EnvironmentStart the next environment version build and return immediately.
- Create ArenaCreate a free arena grouping with up to 10 harness/model columns.
- Create EnvironmentCreate an environment project and optionally declare its description, entry instructions, packages, and Python runtime.
- Create HarnessCreate a configuration-only harness without running a task or invoking a model.
- Create Or Replace SnippetCreate a reusable instruction snippet at a new path or completely replace the text at an existing path.
- Create Session DirectoryCreate a directory and missing parents in an idle session workspace.
- Create Snippet FolderCreate a folder used to organize reusable instruction snippets.
- Import EnvironmentImport one zip/tar archive of up to 512 MiB or one git repository into an environment source tree without clearing existing source first.
- Move Session FileMove or rename one file or directory in an idle session workspace.
Show 13 more
- Move Snippet Or FolderMove or rename one reusable instruction snippet or snippet folder inside the workspace.
- Rename API KeyRename an existing HarnessRouter API key without changing its secret or workspace scope.
- Rename SessionUpdate a session title without starting or continuing its task.
- Render InstructionsPreview instruction template text with test values without saving a snippet or running a harness.
- Set Harness ConnectorsReplace a harness's complete connector list with the supplied connector names or IDs.
- Set Harness PausedSet whether a harness is paused.
- Set Session SharingPublish or disable a session's public read-only share link with an explicit enabled choice.
- Update ArenaReplace an arena grouping by ID.
- Update EnvironmentUpdate an environment's name, description, entry instructions, package declarations, or Python runtime.
- Upload FileUpload one user-authorized source file for use in a later task.
- Upsert HarnessCreate a harness at the supplied ID, or fully replace that harness's mutable configuration if it already exists.
- Write Environment FileCreate or replace one environment source file with raw bytes, up to 64 MiB.
- Write Session FileCreate or replace one file in an idle session workspace using UTF-8 text or base64 bytes, up to 4 MiB.