Dispach
HTTP API
PUT
/v1/agents/{id}/workspace/{file}

Authorization

bearer
headerAuthorizationBearer <token>

An operator key or the configured token.

Path Parameters

id*string
file*string

Request Body

application/json
  1. body
content*string

The file's new text, in full, frontmatter included.

Response Body

OK

Example Request
curl -X PUT 'http://localhost:7420/v1/agents/string/workspace/string' \  -H 'Content-Type: application/json' \  -d '{  "content": "string"}'
Example Response
Empty