Write a memory file
Create or update one project memory file by path. Use this for durable project context that future agent sessions should see.
PUT
/v1/projects/{projectId}/memory/filesAuthorization
AuthorizationPersonal API key · headerrequiredYour personal API key from Settings > Personal API Keys, sent as Bearer <key>.
X-Organization-IdOrganization ID · headerrequiredThe organization to act in. Copy it with Copy organization ID in the organization menu or the settings sidebar.
Path parameters
projectIdstringrequiredRequest body
requiredapplication/jsonnamestringrequiredThe memory file path to create or update
min length 1
bodystringrequiredThe complete memory file body to write
Responses
200
Response for status 200
fileobjectrequiredShow propertiesHide properties
idstringrequiredproject_idstringrequirednamestringrequiredbodystringrequiredcreated_bystring | nullrequiredcreated_atstringrequiredupdated_atstringrequired