Meet the New Objective SDKs in Python & Typescript

October 25, 2024
Team Objective

It’s pumpkin season here at Objective HQ, and to celebrate we’re launching brand new versions of the Objective Python & Typescript SDKs today. We’ve rebuilt both SDKs from the ground up with Stainless, the tooling behind some of our favorite third party SDKs. The new family of SDKs introduce some improvements to ergonomics, as well as some new functionality that wasn’t available in previous versions.

Check out the details on PyPi and NPM, or keep on reading for grab-and-go install & usage instructions. And you can always find them in the SDKs section of Docs.

Installing the new SDKs

Nothing has changed about how you install the new SDKs - if you’re building in Python, it’s as simple as installing from PyPi:


pip install objective-sdk==5.17.0

And if you’re building in Node, it’s as simple as installing from NPM:


npm install @objective-inc/[email protected]

Full API feature coverage

The new SDK versions cover all of the Object & Index functionality available in the Objective API, in idiomatic form-factors form both languages.

For Objects, the SDKs enables you to:

  • Create & update Objects
  • List Objects
  • Delete an Object (or a batch of Objects!)
  • Get properties and status of an Object

And for Indexes, the SDKs enables you to:

  • Create a new Index (including support for V3 Ensembles and neural-only Indexes!)
  • List all available Indexes
  • Delete an Index
  • Search an index
  • Get properties and status of an Index
  • Finetune an Index (new to the SDKs! We’re particularly excited about this one)

And SDK code snippets right in your Console

With the new SDK versions we’ve also introduced helpers throughout the Console for the relevant code to perform actions related to that page in the API. Any time you see the <> API button, you can click it to reveal the code pane with snippets for actions you might need, formatted for the SDK of your choice.

Subscribe to our Newsletter!

Get the latest news and updates directly to your inbox.
Thank you! We'll get back to you as soon as possible.
Uh-oh... something went wrong. Please try again later.

We recommend you to read