younifyd
Menu

Create a backup schedule for an index

Create a backup schedule for an index

POST/indexes/{index_name}/backup-schedules

Use it in a workflow

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

Request

Path parameters

index_namestringrequired

Name of the index to attach the backup schedule to.

Request body

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

namestringrequired

User-defined name for the backup schedule.

scheduleobjectrequired

Time-based schedule configuration for automatic index backups. Only time-based schedules are supported.

typestringrequired

Schedule category. Only time-based schedules are supported.

frequencystringrequired

How often the scheduled backup runs.

retentionobjectrequired

Retention policy for backups created by this schedule. Backups older than the retention window may be removed.

expire_after_daysinteger (int32)required

Number of days to retain each backup created by this schedule. Must be at least 1 and no more than the service-configured maximum; a value outside that range is rejected with `400`.

json
{
  "name": "daily-compliance-backup",
  "schedule": {
    "type": "time-based",
    "frequency": "daily"
  },
  "retention": {
    "expire_after_days": 90
  }
}

Response

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

schedule_idstring

Unique identifier for the backup schedule.

namestring

User-defined name for the backup schedule.

index_idstring

ID of the index this schedule backs up.

project_idstring

Pinecone project that contains this schedule (same project as the source index).

schedule_typestring

Schedule category. Only time-based schedules are supported.

frequencystring

How often the scheduled backup runs.

retention_expire_after_daysinteger (int32)

Number of days backups created by this schedule are retained.

enabledboolean

Whether the schedule is active. Disabled schedules do not run.

next_scheduled_runstring (date-time)

Always present. RFC 3339 timestamp of the next planned backup run when `enabled` is `true`. `null` when `enabled` is `false`; no backup is scheduled until the schedule is re-enabled.

created_atstring (date-time)

RFC 3339 timestamp when the schedule was created.

json
{
  "schedule_id": "e88f7273-42aa-47e9-af73-593827136867",
  "name": "daily-compliance-backup",
  "index_id": "8cbf7ba6-4135-438e-a3c3-4a89a3298905",
  "project_id": "71ce31ea-75f7-45d6-a147-ef67f661a1b0",
  "schedule_type": "time-based",
  "frequency": "daily",
  "retention_expire_after_days": 90,
  "enabled": true,
  "next_scheduled_run": "2026-04-03T06:00:00.000Z",
  "created_at": "2026-04-02T18:22:56.712Z"
}

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