Write Memory File
Create or replace one file.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
project_id
agent_slug
Query parameters
directory
The shared agent directory, or one end user's directory.
Allowed values:
environment
Allowed values:
tenantId
userId
Request
This endpoint expects an object.
base
The head this change was made from; 409 if another writer changed the same file since.
content
path
Response
Successful Response
head
The current version of the directory; pass it as base when writing. Null for an empty directory.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
