harnesses

Register a new harness version [write]

Changed on

Registers the version string and triggers an E2B template build. Poll the version's status until it reaches ready, then promote with POST /harnesses/{id}/versions/{v}/current. If profile is omitted, the parent harness's profile is used. Returns 404 when the WORKSPACE_HARNESSES feature switch is off for this workspace. Returns 503 not_migrated when the backing tables are not yet present.

post/harnesses/{id}/versions

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/harnesses/{id}/versions
  • Auth
    HTTP bearer

Path parameters

idstring required

The harness id (hrn_…)

Request body

versionstring required

Response

Created

Changes