Skip to content

AgentMemoryGetTopSpacesOptions

Options for retrieving the top memory spaces.

Extends

Properties

Property Type Description
agentId? string Filter to a single agent by ID. Obtain an agentId from the Agents service.
agentVersion? string Filter to a specific agent version.
endTime? Date Exclusive upper bound for the query window. Defaults to now when omitted.
executionType? AgentMemoryExecutionType Filter to a specific execution kind. Omit to include both Debug and Runtime.
folderKeys? string[] Folder keys to scope the query. Results are limited to folders you can access.
limit? number Maximum number of memory spaces to return, ranked by memory count. Defaults to 5 when omitted.
startTime? Date Inclusive lower bound for the query window. Defaults to 24 hours before endTime when omitted.