Skip to main content
PUT
Create or overwrite one memory file

Authorizations

Authorization
string
header
required

Developer Platform Project credential, minted via POST /api/v1/projects/{projectId}/credentials. Send as Authorization: Bearer <keyId>.<secret>. Optionally pair with the x-persona-external-user-id header to act on behalf of one of the Project's own external users. This credential is a server-side secret — see the Integration Guide.

Headers

x-persona-external-user-id
string
required

Body

application/json
path
string
required
content
string
required
scope
enum<string>

Defaults to "user".

Available options:
user,
agent
agentId
string

Required when scope is "agent".

Response

201

The written file.