POST
/
v1
/
teams
/
{teamId}
/
team-memory
/
embeddings
/
backfill
TypeScript client
import { OctosparkClient } from '@octospark/sdk'

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

const response = await client.teamMemory.backfillTeamMemoryEmbeddings({
  teamId: process.env.OCTOSPARK_TEAM_ID ?? "teamId",
})
{
  "embedded": 123,
  "pending": 123
}

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.

Response

BackfillTeamMemoryEmbeddingsResponse

embedded
integer
required

Entries embedded by this call.

pending
integer
required

Entries still without a vector after this call.