younifyd
Menu

Create a backup of an index

Create a backup of an index

POST/indexes/{index_name}/backups

Use it in a workflow

  1. Add a step and choose the Pinecone connector.
  2. Pick the Create a backup of an index action (under Indexes).
  3. Fill in the fields below, then reference the result from later steps as {{createABackupOfAnIndex.response.data}}.

Request

Path parameters

index_namestringrequired

Name of the index to backup

Request body

Enter the body as JSON in the step's Body field.

namestring

The name of the backup. Must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or `-`; any other value is rejected with `400`.

descriptionstring

A description of the backup.

json
{
  "name": "backup-2025-03-15",
  "description": "string"
}

Response

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

backup_idstring

Unique identifier for the backup.

source_index_namestring

Name of the index from which the backup was taken.

source_index_idstring

ID of the index from which the backup was taken.

source_index_deleted_atstring (date-time)

The deletion timestamp when the source index has been deleted. Not present for backups associated with an active index.

namestring

Optional user-defined name for the backup.

descriptionstring

Optional description providing context for the backup.

statusstring

Current status of the backup.

cloudstring

Cloud provider where the backup is stored.

regionstring

Cloud region where the backup is stored.

schemaobject

The schema of a Pinecone index. The schema defines the typed fields that documents in the index can contain, including vector fields, string fields searched by full-text search or by embeddings, and metadata fields.

fieldsobjectrequired

A map of field names to their configurations. Indexes that are served by the vectors API — created with the reserved `_values` / `_sparse_values` schema, or created by an earlier API version from `dimension`, `metric`, and `vector_type` — report their vector fields under the reserved names `_values` (dense) and `_sparse_values` (sparse), and any metadata fields configured for filtering as legacy fields carrying only `filterable`. Dense vectors-API indexes always report both `_values` and `_sparse_values`, regardless of how they were created.

record_countinteger (int64)

Total number of records in the backup.

namespace_countinteger (int64)

Number of namespaces in the backup.

size_bytesinteger (int64)

Size of the backup in bytes.

tagsobject

Custom user tags added to an index, at most 20 per index. Keys must be 80 characters or less and alphanumeric, '_', or '-'. Values must be 120 characters or less and consist of printable ASCII characters or spaces. To unset a key, set the value to be an empty string. `null` in responses when the index has no tags.

created_atstring (date-time)

Timestamp when the backup was created.

json
{
  "backup_id": "670e8400-e29b-41d4-a716-446655440001",
  "source_index_name": "my-index",
  "source_index_id": "670e8400-e29b-41d4-a716-446655440000",
  "status": "Ready",
  "cloud": "aws",
  "region": "us-east-1",
  "source_index_deleted_at": "2024-03-05T12:00:00.000Z",
  "name": "backup-2025-02-04",
  "description": "Backup before bulk update.",
  "schema": {
    "fields": {
      "body": {
        "embed": {
          "dimension": 1024,
          "metric": "cosine",
          "model": "llama-text-embed-v2"
        },
        "full_text_search": {
          "language": "en",
          "stemming": false,
          "stop_words": false
        },
        "sparse_embed": {
          "model": "pinecone-sparse-english-v0"
        },
        "store_text": true,
        "type": "string"
      },
      "title": {
        "full_text_search": {
          "language": "en",
          "stemming": false,
          "stop_words": false
        },
        "store_text": true,
        "type": "string"
      }
    }
  },
  "record_count": 120000,
  "namespace_count": 3
}

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