Skip to main content

Easily Integrate
Baseten's API using Konfig's TypeScript SDK

Need a TypeScript SDK for Baseten's API?

Growing API Companies trust Konfig's SDKs to onboard developers to their API.

SnapTradeHumanloopSplititLeapGroundx

First, instantiate the SDK

It only takes a few lines of code.

index.ts

import { Baseten } from 'baseten-typescript-sdk';
const baseten = new Baseten({
// You must specify the scheme 'Api-Key' in the Authorization header. For example, `Authorization: Api-Key <Your_Api_Key>`
apiKeyAuth: "AUTHORIZATION"
})

Then, send your first request

We made it really easy.

index.ts

// Gets all secrets
const getAllSecretsResponse = baseten.secret.getAllSecrets()

Enjoy a buttery smooth developer experience with 19 SDK methods

How Konfig Works

Konfig collects APIs and automatically generates SDKs so you can focus on building your application.

openapi-examples

Konfig maintains the highest quality collection of OpenAPI Specifications on the internet in a GitHub repository

We pull OpenAPI Specifications from public sources, fix any errors, and make sure they pass our lint rules. We continually make sure the repository is up-to-date and collect up-time and response time metrics for every API.

openapi-examples-to-konfig

Generates AI-Augmented SDKs from openapi-examples

Our SDK generator is trusted by growing API companies and goes through a rigorous testing process to ensure the generated SDKs are high-quality and easy to use.

konfig-to-package-managers

Publishes to standard package managers

We publish to standard package managers like npm, PyPI, and Maven so you can easily integrate the SDK into your application.

Baseten

About Baseten

At Baseten we provide all the infrastructure you need to deploy and serve ML models performantly, scalably, and cost-efficiently.Get started in minutes, and avoid getting tangled in complex deployment processes. You can deploy best-in-class open-source models and take advantage of optimized serving for your own models.We also utilize horizontally scalable services that take you from prototype to production, with light-speed inference on infra that autoscales with your traffic.Best in class doesn't mean breaking the bank. Run your models on the best infrastructure without running up costs by taking advantage of our scaled-to-zero feature.

Keywords

ai
ml
developer_tools
automation
collaboration
media
cloud
open_source
machine_learning
deployment
scalability
cost_efficiency
llm
stable_diffusion
tts
text_to_audio
text_to_speech
text_to_image
image_to_video
image_classification
text_embeddings
audio_to_text
image_to_text

Start integrating Baseten's API with Konfig