GET
/
v1
/
teams
/
{teamId}
/
team-memory
/
changes
TypeScript client
import { OctosparkClient } from '@octospark/sdk'

const client = new OctosparkClient({
  token: process.env.OCTOSPARK_TOKEN
})

const response = await client.teamMemory.listTeamMemoryChanges({
  teamId: process.env.OCTOSPARK_TEAM_ID ?? "teamId",
  query: {},
})
{
  "data": [
    {
      "changeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "at": "<string>",
      "entryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "toEntryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "key": "<string>",
      "actorUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "runId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "erasedEntryIds": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

teamId
string
required

Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.

Query Parameters

from
string

Only changes at or after this ISO timestamp.

to
string

Only changes before this ISO timestamp (use the last item's at to page back).

runId
string<uuid>

Only changes made by this agent run.

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
limit
string

a string to be decoded into a number

Response

ListTeamMemoryChangesResponse

data
object[]
required