Skip to content

v4.0.1

Latest
Compare
Choose a tag to compare
@fern-support fern-support released this 15 May 18:45
5e1b448

Pinecone .NET SDK 4.0.1 Release Notes

This release adds the API for listing backups for a specific index.

using Pinecone;

var pinecone = new PineconeClient("PINECONE_API_KEY");
var backups = await pinecone.Backups.ListByIndexAsync("index-name", new ListBackupsByIndexRequest());
foreach (var backup in backups.Data)
{
    Console.WriteLine($"BackupId: {backup.BackupId}");
    Console.WriteLine($"Name: {backup.Name}");
    Console.WriteLine($"CreatedAt: {backup.CreatedAt}");
    Console.WriteLine($"Status: {backup.Status}");
    Console.WriteLine($"RecordCount: {backup.RecordCount}");
}

Full Changelog: 4.0.0...4.0.1