---
title: "Instance Subpath"
method: POST
path: "/v1/hosted-agents/instances/{instance_id}/{subpath}"
---

# Instance Subpath

`POST /v1/hosted-agents/instances/{instance_id}/{subpath}`

## Request

- Base URL: `https://api.empiriolabs.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.empiriolabs.ai/v1/hosted-agents/instances/{instance_id}/{subpath}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway/docs/v1/hosted-agents/instances/:instance_id/:subpath/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `instance_id` string, required
- `subpath` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

> 34 revisions in range; 29 not diffed.

- **2026-09-09** `0b717e33d089`: 1 info
  - api operation id `instance_subpath_v1_hosted_agents_instances__instance_id___subpath__post` removed and replaced with `instance_subpath_v1_hosted_agents_instances__instance_id___subpath__delete`
- **2026-09-03** `1f6dc3348e43`: 1 info
  - api operation id `instance_subpath_v1_hosted_agents_instances__instance_id___subpath__patch` removed and replaced with `instance_subpath_v1_hosted_agents_instances__instance_id___subpath__post`
- **2026-09-03** `e607da5fbbaf`: 1 info
  - api operation id `instance_subpath_v1_hosted_agents_instances__instance_id___subpath__delete` removed and replaced with `instance_subpath_v1_hosted_agents_instances__instance_id___subpath__patch`

[Operation history](https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway/changes/v1/hosted-agents/instances/:instance_id/:subpath/post.md)

---

[API](https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway.md) - [All operations](https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway/revisions/94bb966b0560?raw)
