or run

npx @tessl/cli init
Log in

Version

Tile

Overview

Evals

Files

Files

docs

administration.mdassistants-threads.mdbatch-processing.mdbeta-realtime.mdchat-completions.mdconfiguration-management.mdcontainer-content.mdcore-client.mdembeddings.mdevaluation-testing.mdfeedback-collections.mdfile-management.mdfine-tuning.mdframework-integrations.mdindex.mdkey-management.mdmodels.mdmultimodal-apis.mdobservability-analytics.mdprompt-management.mdprovider-integration.mdtext-completions.mduploads.mdvector-stores.md

configuration-management.mddocs/

0

# Configuration Management

1

2

Advanced configuration system for managing provider settings, routing rules, fallback strategies, and load balancing configurations.

3

4

## Capabilities

5

6

```python { .api }

7

class Configs:

8

def create(self, **kwargs): ...

9

def list(self, **kwargs): ...

10

def retrieve(self, **kwargs): ...

11

def update(self, **kwargs): ...

12

def delete(self, **kwargs): ...

13

```

14

15

## Usage Examples

16

17

```python

18

# Create configuration

19

config = portkey.configs.create({

20

"strategy": {"mode": "fallback"},

21

"targets": [

22

{"provider": "openai", "api_key": "key1"},

23

{"provider": "anthropic", "api_key": "key2"}

24

]

25

})

26

```