For the complete documentation index, see llms.txt. This page is also available as Markdown.

Datasources

Soda Cloud API Datasource Endpoints

List datasources

get
/api/v1/datasources

This endpoint allows you to list datasources in your organization.

This GET is a paginated API that uses the following parameters to request specific details:

  • size: Supply an integer value between 10 and 1000, inclusive. The default value is 10.

  • page: Supply an integer value. The default value is 0.

  • search: Supply a string value to filter datasources by name (case-insensitive partial match).

Authorization

Soda only returns datasources for which the user has the View permission. Soda Cloud Admins have access to all datasources.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Tags

Datasources

Rate limiting

60 requests/60 seconds

Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · int32Optional
searchstringOptional
sizeinteger · int32Optional
Responses
200

Successful response

application/json
firstbooleanRequired
lastbooleanRequired
numberinteger · int32Required
sizeinteger · int32Required
totalElementsinteger · int32Required
totalPagesinteger · int32Required
get/api/v1/datasources

List datasource roles

get
/api/v1/datasources/roles

This endpoint enables you to gather information about the datasource roles available in your organization's Soda Cloud account. Use the datasource roles to manage access to individual datasources.

This GET is a paginated API that uses the following parameters to request specific details:

  • size: Supply an integer value between 10 and 100, inclusive. The default value is 100.

  • page: Supply an integer value. The default value is 0.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Authorization

Any Soda Cloud user in your organization may execute this query.

Tags

Datasources

Rate limiting

60 requests/60 seconds

Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · int32Optional
sizeinteger · int32Optional
Responses
200

Successful response

application/json
firstbooleanRequired
lastbooleanRequired
numberinteger · int32Required
sizeinteger · int32Required
totalElementsinteger · int32Required
totalPagesinteger · int32Required
get/api/v1/datasources/roles

Create a datasource role

post
/api/v1/datasources/roles

This endpoint allows you to create a new custom datasource role in your organization's Soda Cloud account. Datasource roles define a named set of permissions that control what actions users can perform on individual datasources, such as creating datasets, managing datasource settings, managing permissions, or deleting the datasource.

Once created, the role can be assigned to users or user groups via the datasource responsibilities endpoints.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Authorization

Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.

Tags

Datasources

Rate limiting

60 requests/60 seconds

Authorizations
AuthorizationstringRequired
Body
createDatasetsbooleanOptional
deleteDatasourcebooleanOptional
manageDatasourceSettingsbooleanOptional
managePermissionsbooleanOptional
namestringRequired
viewDatasourcebooleanOptional
Responses
200

Successful response

application/json
post/api/v1/datasources/roles

Update a datasource role

post
/api/v1/datasources/roles/{roleId}

This endpoint allows you to update the name or permissions of an existing custom datasource role. Datasource roles define a named set of permissions that control what actions users can perform on individual datasources, such as creating datasets, managing datasource settings, managing permissions, or deleting the datasource.

Changes apply immediately to all users and user groups assigned this role.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Authorization

Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.

Tags

Datasources

Rate limiting

60 requests/60 seconds

Authorizations
AuthorizationstringRequired
Path parameters
roleIdstringRequired
Body
createDatasetsbooleanOptional
deleteDatasourcebooleanOptional
manageDatasourceSettingsbooleanOptional
managePermissionsbooleanOptional
namestringRequired
viewDatasourcebooleanOptional
Responses
200

Successful response

application/json
post/api/v1/datasources/roles/{roleId}

Delete a datasource role

delete
/api/v1/datasources/roles/{roleId}

This endpoint allows you to delete a custom datasource role from your organization's Soda Cloud account. Datasource roles define a named set of permissions that control what actions users can perform on individual datasources, such as creating datasets, managing datasource settings, managing permissions, or deleting the datasource.

Deletion is performed asynchronously and may take some time to complete.

Deletion will fail if the role is still assigned to any datasource permissions or used in responsibility settings.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Authorization

Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.

Tags

Datasources

Rate limiting

60 requests/60 seconds

Authorizations
AuthorizationstringRequired
Path parameters
roleIdstringRequired
Responses
200

Successful response

application/json
messagestringRequired
delete/api/v1/datasources/roles/{roleId}

Get a datasource

get
/api/v1/datasources/{datasourceId}

This endpoint allows you to retrieve a specific datasource by its ID.

Authorization

Users with the View permission on the datasource can retrieve its details.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Tags

Datasources

Rate limiting

1000 requests/60 seconds

Authorizations
AuthorizationstringRequired
Path parameters
datasourceIdstringRequired
Responses
200

Successful response

application/json
get/api/v1/datasources/{datasourceId}

List datasource responsibilities

get
/api/v1/datasources/{datasourceId}/responsibilities

This endpoint enables you to gather information about the user and user groups permissions assigned to a datasource, and their associated roles in your organization's Soda Cloud account.

This GET is a paginated API that uses the following parameters to request specific details:

  • size: Supply an integer value between 1 and 100, inclusive. The default value is 100.

  • page: Supply an integer value. The default value is 0.

Authorization

Soda only returns the datasource responsibilities to which the user has View datasource permissions. Soda Cloud Admins have access to all datasource responsibilities.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Tags

Datasources

Rate limiting

100 requests/60 seconds

Authorizations
AuthorizationstringRequired
Path parameters
datasourceIdstringRequired
Query parameters
pageinteger · int32Optional
sizeinteger · int32Optional
Responses
200

Successful response

application/json
firstbooleanRequired
lastbooleanRequired
numberinteger · int32Required
sizeinteger · int32Required
totalElementsinteger · int32Required
totalPagesinteger · int32Required
get/api/v1/datasources/{datasourceId}/responsibilities

Update datasource responsibilities

post
/api/v1/datasources/{datasourceId}/responsibilities

This endpoint enables you to update the user and user groups permissions and their associated roles for a datasource in your organization's Soda Cloud account.

Note: This API fully replaces the existing responsibilities. The entire list of responsibilities must be provided in the request, including both new and existing entries, as any omissions will result in their removal.

Authorization

Only users with Manage datasource responsibilities permission can update datasource responsibilities. Soda Cloud Admins have permission to update all datasources responsibilities.The Response of this call, when successful, is 201 and contains header Location which identify the URL where the responsibilities will eventually become available.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Tags

Datasources

Rate limiting

100 requests/60 seconds

Authorizations
AuthorizationstringRequired
Path parameters
datasourceIdstringRequired
Body
Responses
201

Created

post/api/v1/datasources/{datasourceId}/responsibilities

No content

Last updated

Was this helpful?