Skip to main content
POST
Update agent memory

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

agents:write

Edit agent configuration, handbook, memory, tone examples, and schedules, and give agents tasks.

Body

application/json
area
enum<string>
required
Available options:
facts,
episodes,
playbooks
operation
enum<string>
required
Available options:
create,
update,
delete
agentId
string
required

Agent whose memory to access.

Required string length: 1 - 64
scope
enum<string>
default:agent
Available options:
agent,
organization
id
string
title
string
Maximum string length: 300
body
string
Maximum string length: 20000
expectedBody
string
Maximum string length: 100000
whenToUse
string
Maximum string length: 2000
steps
string[]
Maximum array length: 50
Maximum string length: 2000
cautions
string[]
Maximum array length: 30
Maximum string length: 2000
lessons
string[]
Maximum array length: 30
Maximum string length: 2000

Response

Success

success
boolean
required
id
string
required