Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10751,7 +10751,7 @@ paths:

const integration = await portkey.integrations.create({
name:"openai-production",
aiProviderId:"openai",
ai_provider_id:"openai",
key:"sk-...",
})
console.log(integration);
Expand Down Expand Up @@ -10797,7 +10797,7 @@ paths:

const integration = await portkey.integrations.create({
name: "openai-production",
aiProviderId: "openai",
ai_provider_id: "openai",
key: "sk-...",
})
console.log(integration);
Expand Down Expand Up @@ -11085,7 +11085,7 @@ paths:

# Delete a specific integration
result = portkey.integrations.delete(
slug="INTEAGRATION_SLUG"
slug="INTEGRATION_SLUG"
)

print(result)
Expand Down Expand Up @@ -11326,7 +11326,7 @@ paths:
})

const providers = await portkey.providers.list({
workspaceId: "" // Optional
workspace_id: "" // Optional
})
console.log(providers);
- lang: curl
Expand Down Expand Up @@ -11427,8 +11427,8 @@ paths:

const provider = await portkey.providers.create({
name: "openai provider",
integrationId: "",
workspaceId: ""
integration_id: "",
workspace_id: ""
})
console.log(provider);
- lang: curl
Expand Down Expand Up @@ -11473,8 +11473,8 @@ paths:

const newProvider = await portkey.providers.create({
name: "openai provider",
integrationId: "",
workspaceId: ""
integration_id: "",
workspace_id: ""
})
console.log(newProvider);
- lang: curl
Expand Down Expand Up @@ -11543,7 +11543,7 @@ paths:

const provider = await portkey.providers.retrieve({
slug:"PROVIDER_SLUG",
workspaceId: ""
workspace_id: ""
})
console.log(provider);
- lang: curl
Expand Down Expand Up @@ -11586,7 +11586,7 @@ paths:

const provider = await portkey.providers.retrieve({
slug: "PROVIDER_SLUG",
workspaceId: ""
workspace_id: ""
})
console.log(provider);

Expand Down Expand Up @@ -11675,7 +11675,7 @@ paths:
slug: "PROVIDER_SLUG",
name:"updated-name",
note: "updated-note",
workspaceId: ""
workspace_id: ""
})
console.log(updatedProvider);
- lang: curl
Expand Down Expand Up @@ -11732,7 +11732,7 @@ paths:
slug: "PROVIDER_SLUG",
name:"updated-name",
note: "updated-note",
workspaceId: ""
workspace_id: ""
})
console.log(updatedProvider);

Expand Down Expand Up @@ -11788,7 +11788,7 @@ paths:

const result = await portkey.providers.delete({
slug: "PROVIDER_SLUG",
workspaceId: ""
workspace_id: ""
})
console.log(result);
- lang: curl
Expand Down Expand Up @@ -11829,7 +11829,7 @@ paths:

const result = await portkey.providers.delete({
slug: "PROVIDER_SLUG",
workspaceId: ""
workspace_id: ""
})
console.log(result);

Expand Down
Loading