v1

latestOpenAPI 3.0.22026-08-062794201004.1 KB
AI Data Plane Providers

Create provider

Creates a new integration for a given organization.

In order to access this endpoint, the provided API key must have at least one of the following roles:

  • Organization Owner

To learn more, see Organization, Project, and Database Access Overview.

post/v4/organizations/{organizationId}/aiServices/providers

Request body

type'awsS3' | 'openAI' | 'awsBedrock' required

The type of provider to create.

namestring required

The name for the provider integration to create.

Example request

{
  "type": "awsS3",
  "name": "my-openai-provider",
  "configuration": {
    "apiKey": "sk-1234567890"
  }
}

Response

Successfully created a provider.

idstring required

The ID of the created provider.

Example response

{
  "id": "provider1-ffffffff-aaaa-1414-eeee-000000000000"
}