harnesses

Create a harness [write]

Changed on

Creates a workspace harness with the given handle, name and profile. After creating, add a version with POST /harnesses/{id}/versions, then promote it with POST /harnesses/{id}/versions/{v}/current before creating agents that reference it. 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

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/harnesses
  • Auth
    HTTP bearer

Request body

handlestring required
namestring required
model_billing'gateway' | 'external'

Response

Created

Changes