younifyd
Menu

Delete Embeddings Index Dataset Indexname

Delete an embeddings index

DELETE/embeddings-index/{dataset}/{indexName}

Use it in a workflow

  1. Add a step and choose the Sanity connector.
  2. Pick the Delete Embeddings Index Dataset Indexname action (under Embeddings Index).
  3. Fill in the fields below, then reference the result from later steps as {{deleteEmbeddingsIndexDatasetIndexname.response.data}}.

Request

Path parameters

datasetstringrequired

The name of the dataset associated with the index

indexNamestringrequired

The name of the embeddings index

Response

Returns 200 with an object. Read it in later steps with {{deleteEmbeddingsIndexDatasetIndexname.response.data.<field>}}.

statusstring

One ofactive

indexNamestring
projectIdstring
datasetstring
projectionstring
filterstring
createdAtstring (date-time)
updatedAtstring (date-time)
failedDocumentCountinteger
startDocumentCountinteger
remainingDocumentCountinteger
webhookIdstring
json
{
  "status": "active",
  "indexName": "string",
  "projectId": "string",
  "dataset": "string",
  "projection": "string",
  "filter": "string",
  "createdAt": "2025-01-01T00:00:00Z",
  "updatedAt": "2025-01-01T00:00:00Z",
  "failedDocumentCount": 0,
  "startDocumentCount": 0,
  "remainingDocumentCount": 0,
  "webhookId": "string"
}

Need more? See the Sanity guide for connection setup and behaviour shared by every action.