younifyd
Menu

Update a backup schedule

Update a backup schedule

PATCH/backup-schedules/{schedule_id}

Use it in a workflow

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

Request

Path parameters

schedule_idstringrequired

The ID of the backup schedule to update.

Request body

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

frequencystring

How often the scheduled backup runs.

retentionobject

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`.

enabledboolean

Whether the schedule is active. Setting to `true` after a disable re-enqueues backup processing.

json
{
  "frequency": "weekly",
  "retention": {
    "expire_after_days": 90
  },
  "enabled": false
}

Response

Returns 200 with an object. Read it in later steps with {{updateABackupSchedule.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.

Update a backup schedule — Pinecone — Documentation