Skip to content

List Memory Extraction Jobs

bedrockagentcore_list_memory_extraction_jobs R Documentation

Lists all long-term memory extraction jobs that are eligible to be started with optional filtering

Description

Lists all long-term memory extraction jobs that are eligible to be started with optional filtering.

To use this operation, you must have the bedrock-agentcore:ListMemoryExtractionJobs permission.

Usage

bedrockagentcore_list_memory_extraction_jobs(memoryId, maxResults,
  filter, nextToken)

Arguments

memoryId

[required] The unique identifier of the memory to list extraction jobs for.

maxResults

The maximum number of results to return in a single call. The default value is 20.

filter

Filter criteria to apply when listing extraction jobs.

nextToken

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

Value

A list with the following syntax:

list(
  jobs = list(
    list(
      jobID = "string",
      messages = list(
        messagesList = list(
          list(
            eventId = "string",
            messageIndex = 123
          )
        )
      ),
      status = "FAILED",
      failureReason = "string",
      strategyId = "string",
      sessionId = "string",
      actorId = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_memory_extraction_jobs(
  memoryId = "string",
  maxResults = 123,
  filter = list(
    strategyId = "string",
    sessionId = "string",
    actorId = "string",
    status = "FAILED"
  ),
  nextToken = "string"
)