Delete embeddings

deleteEmbeddings(input: DeleteEmbeddingsInput!): DeleteEmbeddingsPayload!

Requires project.knowledge.write; API keys also need delete scope.

Arguments

ArgumentTypeRequired
inputDeleteEmbeddingsInput!Yes

Input fields

input

DeleteEmbeddingsInput

FieldTypeRequired
chunkIds[ID!]!Yes
dimensionEmbeddingDimension!Yes

Response

Returns DeleteEmbeddingsPayload!. Open the type for its fields and nested types.

FieldTypeDescription
okBoolean!Always true: the embeddings were deleted.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
mutation DeleteEmbeddings($input: DeleteEmbeddingsInput!) {
  deleteEmbeddings(input: $input) {
    ok
  }
}
json
{
  "input": {
    "chunkIds": [],
    "dimension": "D768"
  }
}