Skip to main content
paradime.admin.integrations manages three kinds of connections of a workspace:
  • Credential integrations: BI tools such as Looker, Tableau and Power BI, ETL tools such as Fivetran and Airbyte, and observability tools such as Datadog and PagerDuty.
  • DinoAI agent integrations, such as Notion, Jira and Google Drive. A person connects these in a browser.
  • External secret managers (AWS, Azure and GCP), which connection secrets and environment variables can reference.
Secrets are write-only. For the GraphQL operations, see Integrations.
Prerequisites
  • These operations are part of the Enterprise plan. On other plans, they raise AdminPlanUpgradeRequiredException.
  • For credential integrations and DinoAI agent integrations, your API key needs the Integrations admin capability group.
  • For external secret managers, your API key needs the External secret managers admin capability group, and the company needs external secret managers turned on.
  • The admin client of the paradime-io package. See Admin client.
The examples on this page use this client:

Credential integrations

List integrations

Iterates over the workspace’s credential integrations, connected or not. Secrets show only as set or not set.
Optional[str]
default:"None"
The workspace to read, for a company API key.
int
default:"100"
How many integrations to read per request, at most 500.
Iterator[WorkspaceIntegration]
The integrations, read one page at a time.

Set an integration

Tests the credentials, then saves them, and starts what connecting starts in the settings page, such as the first import. Credentials that the tool refuses raise AdminConnectionTestFailedException, and nothing is saved. Sending the same credentials again tests them and saves nothing new. A secret you leave out keeps the saved value, unless an endpoint setting such as the host changes.
IntegrationConfig
required
One integration’s settings, such as MetabaseIntegrationInput, or an IntegrationConfigInput with one integration set. See Integration inputs.
Optional[str]
default:"None"
The workspace to change, for a company API key.
WorkspaceIntegration
The integration.

Test an integration

Checks that the tool accepts the credentials, and saves nothing. Refused credentials raise AdminConnectionTestFailedException.
IntegrationConfig
required
One integration’s settings. See Integration inputs.
Optional[str]
default:"None"
The workspace to use, for a company API key.
IntegrationTestResult
The integration (name) and when the test ran (tested_at).

Disconnect an integration

Clears an integration’s credentials, as the settings page does.
IntegrationName
required
The integration, such as IntegrationName.METABASE.
Optional[str]
default:"None"
The workspace to change, for a company API key.
WorkspaceIntegration
The integration, now disconnected.

Integration inputs

Import the inputs from paradime.apis.admin.integrations.types. A secret is optional in Python because a secret you leave out keeps the saved value. Text fields take strings only, so pass a New Relic account id as "1234567". Every setting in the Settings column is required, except project_ids (Tableau) and domain (DataHub). A Datadog site or PagerDuty region that the SDK doesn’t know raises a validation error before any request.

DinoAI agent integrations

DinoAI agents connect tools such as Notion, Jira and Google Drive through integrations that belong to the workspace, not to a user. A person connects each one in a browser. The API can list them, give that person a connect link, and disconnect them.

List agent integrations

Iterates over the integrations that the workspace’s DinoAI agents can connect, connected or not, ordered by name. A PENDING_USER_ACTION integration waits for a person to connect it in a browser.
bool
default:"False"
Also read install_url, a connect link that a person opens to connect a PENDING_USER_ACTION integration, and install_url_expires_at. Each read makes new links, which work for 30 minutes. Anyone who opens a link can connect an account to the workspace’s agents, so share each link only with that person. Reading the links needs the integration_settings:write capability, which Integrations admin includes. A key without it reads None for the links.
Optional[str]
default:"None"
The workspace to read, for a company API key.
int
default:"100"
How many integrations to read per request, at most 500.
Iterator[AgentIntegration]
The integrations, read one page at a time.

Disconnect an agent integration

Disconnects one of the workspace’s DinoAI agent integrations and deletes its connection. Disconnecting it again is not an error.
AgentIntegrationName
required
The integration, such as AgentIntegrationName.NOTION.
Optional[str]
default:"None"
The workspace to change, for a company API key.
AgentIntegration
The integration, now disconnected.
AgentIntegrationName values: ASANA, AZURE_DEVOPS, BITBUCKET, BOX, CLICKUP, DROPBOX, FIGJAM, GITLAB, GOOGLE_DOCS, GOOGLE_DRIVE, GOOGLE_SHEETS, GOOGLE_SLIDES, HUBSPOT, JIRA_CLOUD, JIRA_CLOUD_SERVICE_ACCOUNT, JIRA_DATA_CENTER, MICROSOFT_TEAMS, MIRO, NOTION, ONEDRIVE, SHAREPOINT, SLACK.

External secret managers

List secret managers

Iterates over the secret managers that the workspace reads secrets from. Secrets are never returned.
Optional[str]
default:"None"
The workspace to read, for a company API key.
int
default:"100"
How many providers to read per request, at most 500.
Iterator[ExternalSecretsProvider]
The providers, read one page at a time.

Set a secret manager

Saves a secret manager’s settings. With test_reference, the API first reads that secret reference with the new settings: a failed read raises AdminConnectionTestFailedException, and nothing is saved.
SecretsProviderConfig
required
One provider’s settings: AwsSecretsManagerConfigInput, AzureKeyVaultConfigInput or GcpSecretManagerConfigInput, or an ExternalSecretsProviderConfigInput with one provider set.
Optional[str]
default:"None"
A secret reference of the same provider to read before saving, such as arn:aws:secretsmanager:eu-west-1:123456789012:secret:dbt. last_validated_at records when this last succeeded. Saving without it clears last_validated_at.
Optional[str]
default:"None"
The workspace to change, for a company API key.
ExternalSecretsProvider
The provider.

Test a secret reference

Reads a secret reference with the saved provider settings, and returns no value. A failed read raises AdminConnectionTestFailedException.
str
required
The secret reference.
Optional[str]
default:"None"
The workspace to use, for a company API key.
ExternalSecretReferenceTestResult
The provider that resolved the reference (provider) and when (tested_at).

Delete a secret manager

Removes a secret manager’s saved settings. References to it stop resolving.
ExternalSecretsProviderName
required
The provider: AWS, AZURE or GCP.
Optional[str]
default:"None"
The workspace to change, for a company API key.
ExternalSecretsProviderName
The deleted provider.

Types

Import the models and enums from paradime.apis.admin.integrations.types.
model
model
model