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

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

const response = await client.teamMemory.getTeamMemoryEntry({
  teamId: process.env.OCTOSPARK_TEAM_ID ?? "teamId",
  entryId: process.env.OCTOSPARK_ENTRY_ID ?? "entryId",
})
{
  "entry": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "key": "<string>",
    "scope": "<string>",
    "title": "<string>",
    "description": "<string>",
    "content": "<string>",
    "pinned": true,
    "sourceRef": "<string>",
    "confidence": 123,
    "runId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "actorUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "verified": true,
    "current": true,
    "embedded": true,
    "createdAt": "<string>"
  },
  "outgoing": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "fromEntryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "toEntryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "note": "<string>",
      "runId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "actorUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "<string>"
    }
  ],
  "incoming": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "fromEntryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "toEntryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "note": "<string>",
      "runId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "actorUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "<string>"
    }
  ],
  "currentForKey": "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.

entryId
string
required

Team memory entry id (UUID), as returned by the list, append and search team memory endpoints.

Response

TeamMemoryEntryGraph

entry
object
required
outgoing
object[]
required

Relations from this entry.

incoming
object[]
required

Relations to this entry.

currentForKey
string<uuid> | null
required

The current entry for this entry's key; null when the key has none.

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}$