Retrieves the current progress of a restore job.
The restoreJobId returned by Backups.createIndex.
The restore status, target index, and completion percentage.
Errors.PineconeArgumentError when the restore job ID is empty.
import { Pinecone } from '@pinecone-database/pinecone';
const pc = new Pinecone();
const job = await pc.restoreJobs.describe('4d4c8693-10fd-4204-a57b-1e3e626fca07');
console.log(job.status, job.percentComplete);
Backups.createIndex to start a restore.
Lists one page of restore jobs in the project.
Optionaloptions: ListRestoreJobsOptions
Page size and continuation token. Omit to fetch the first page with the default size.
Jobs in data; pass pagination.next as paginationToken to fetch the next page.
Restore jobs track the creation of indexes from backups. Access them through Pinecone.restoreJobs; do not construct this class directly. Start a restore with Backups.createIndex.
Example