Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Apr 21, 2024
1 parent 0380387 commit 9925297
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ The full API of this library can be found in [api.md](api.md).
```js
import Retell from 'retell-sdk';

const retell = new Retell();
const retell = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
});

async function main() {
const agentResponse = await retell.agent.create({
Expand All @@ -42,7 +44,9 @@ This library includes TypeScript definitions for all request params and response
```ts
import Retell from 'retell-sdk';

const retell = new Retell();
const retell = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
});

async function main() {
const params: Retell.AgentCreateParams = {
Expand Down

0 comments on commit 9925297

Please sign in to comment.