Skip to main content

cosmotech-api

Cosmo Tech Platform API

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 5.3.0
  • Package version: 1.0.0
  • Generator version: 7.25.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://github.com/Cosmo-Tech/cosmotech-api

Requirements.

Python 3.10+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/Cosmo-Tech/cosmotech-api-python-client.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/Cosmo-Tech/cosmotech-api-python-client.git)

Then import the package:

import cosmotech_api

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import cosmotech_api

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import cosmotech_api
from cosmotech_api.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:8080
# See configuration.py for a list of all supported configuration parameters.
configuration = cosmotech_api.Configuration(
    host = "http://localhost:8080"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

configuration.access_token = os.environ["ACCESS_TOKEN"]


# Enter a context with an instance of the API client
with cosmotech_api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cosmotech_api.IAMInfoApi(api_client)

    try:
        # Get the list of all groups
        api_response = api_instance.list_iam_groups()
        print("The response of IAMInfoApi->list_iam_groups:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling IAMInfoApi->list_iam_groups: %s\n" % e)

Documentation for API Endpoints

Class Method HTTP request Description
IAMInfoApi list_iam_groups GET /iaminfo/groups Get the list of all groups
IAMInfoApi list_iam_members GET /iaminfo/members Get ALL IAM members list
DatasetApi create_dataset POST /organizations/{organization_id}/workspaces/{workspace_id}/datasets Create a Dataset
DatasetApi create_dataset_access_control POST /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/access Add a control access to the Dataset
DatasetApi create_dataset_part POST /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts Create a data part of a Dataset
DatasetApi delete_dataset DELETE /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id} Delete a Dataset
DatasetApi delete_dataset_access_control DELETE /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/access/{identity_id} Remove the specified access from the given Dataset
DatasetApi delete_dataset_part DELETE /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id} Delete a Dataset part
DatasetApi download_dataset_part GET /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id}/download Download data from a dataset part
DatasetApi get_dataset GET /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id} Retrieve a Dataset
DatasetApi get_dataset_access_control GET /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/access/{identity_id} Get a control access for the Dataset
DatasetApi get_dataset_members GET /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/members Get the members of a Dataset
DatasetApi get_dataset_part GET /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id} Retrieve a data part of a Dataset
DatasetApi list_dataset_parts GET /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts Retrieve all dataset parts of a Dataset
DatasetApi list_dataset_security_users GET /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/users Get the Dataset security users list
DatasetApi list_datasets GET /organizations/{organization_id}/workspaces/{workspace_id}/datasets Retrieve a list of defined Dataset
DatasetApi query_data GET /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id}/query Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
DatasetApi replace_dataset_part PUT /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id} Replace existing dataset parts of a Dataset
DatasetApi search_dataset_parts POST /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/search Search Dataset parts by tags
DatasetApi search_datasets POST /organizations/{organization_id}/workspaces/{workspace_id}/datasets/search Search Datasets by tags
DatasetApi update_dataset PATCH /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id} Update a Dataset
DatasetApi update_dataset_access_control PATCH /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/access/{identity_id} Update the specified access to User for a Dataset
DatasetApi update_dataset_default_security PATCH /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/default Set the Dataset default security
DatasetApi update_dataset_part PATCH /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id} Update existing dataset parts information of a Dataset
MetaApi about GET /about Get various information about the API
OrganizationApi create_organization POST /organizations Create a new organization
OrganizationApi create_organization_access_control POST /organizations/{organization_id}/security/access Add a control access to the Organization
OrganizationApi delete_organization DELETE /organizations/{organization_id} Delete an organization
OrganizationApi delete_organization_access_control DELETE /organizations/{organization_id}/security/access/{identity_id} Remove the specified access from the given Organization
OrganizationApi get_organization GET /organizations/{organization_id} Get the details of an Organization
OrganizationApi get_organization_access_control GET /organizations/{organization_id}/security/access/{identity_id} Get a control access for the Organization
OrganizationApi get_organization_members GET /organizations/{organization_id}/members Get the members of an Organization
OrganizationApi get_organization_permissions GET /organizations/{organization_id}/permissions/{role} Get the Organization permissions by given role
OrganizationApi get_organization_security GET /organizations/{organization_id}/security Get the Organization security information
OrganizationApi list_organization_security_users GET /organizations/{organization_id}/security/users Get the Organization security users list
OrganizationApi list_organizations GET /organizations List all Organizations
OrganizationApi list_permissions GET /organizations/permissions Get all permissions per components
OrganizationApi update_organization PATCH /organizations/{organization_id} Update an Organization
OrganizationApi update_organization_access_control PATCH /organizations/{organization_id}/security/access/{identity_id} Update the specified access to User for an Organization
OrganizationApi update_organization_default_security PATCH /organizations/{organization_id}/security/default Update the Organization default security
RunApi delete_run DELETE /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id} Delete a run
RunApi get_run GET /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id} Get the details of a run
RunApi get_run_logs GET /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/logs get the logs for the Run
RunApi get_run_status GET /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/status get the status for the Run
RunApi list_runs GET /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs get the list of Runs for the Runner
RunnerApi create_runner POST /organizations/{organization_id}/workspaces/{workspace_id}/runners Create a new Runner
RunnerApi create_runner_access_control POST /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/access Add a control access to the Runner
RunnerApi delete_runner DELETE /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id} Delete a runner
RunnerApi delete_runner_access_control DELETE /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/access/{identity_id} Remove the specified access from the given Runner
RunnerApi get_runner GET /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id} Get the details of a runner
RunnerApi get_runner_access_control GET /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/access/{identity_id} Get a control access for the Runner
RunnerApi get_runner_members GET /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/members Get the members of a Runner
RunnerApi get_runner_security GET /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security Get the Runner security information
RunnerApi list_runner_permissions GET /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/permissions/{role} Get the Runner permission by given role
RunnerApi list_runner_security_users GET /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/users Get the Runner security users list
RunnerApi list_runners GET /organizations/{organization_id}/workspaces/{workspace_id}/runners List all Runners
RunnerApi start_run POST /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/start Start a run with runner parameters
RunnerApi stop_run POST /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/stop Stop the last run
RunnerApi update_runner PATCH /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id} Update a runner
RunnerApi update_runner_access_control PATCH /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/access/{identity_id} Update the specified access to User for a Runner
RunnerApi update_runner_default_security PATCH /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/default Set the Runner default security
SolutionApi create_solution POST /organizations/{organization_id}/solutions Create a new solution
SolutionApi create_solution_access_control POST /organizations/{organization_id}/solutions/{solution_id}/security/access Create solution access control
SolutionApi create_solution_parameter POST /organizations/{organization_id}/solutions/{solution_id}/parameters Create solution parameter for a solution
SolutionApi create_solution_parameter_group POST /organizations/{organization_id}/solutions/{solution_id}/parameterGroups Create a solution parameter group
SolutionApi create_solution_run_template POST /organizations/{organization_id}/solutions/{solution_id}/runTemplates Create a solution run template
SolutionApi delete_solution DELETE /organizations/{organization_id}/solutions/{solution_id} Delete a solution
SolutionApi delete_solution_access_control DELETE /organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id} Delete solution access control
SolutionApi delete_solution_parameter DELETE /organizations/{organization_id}/solutions/{solution_id}/parameters/{parameter_id} Delete specific parameter from the solution
SolutionApi delete_solution_parameter_group DELETE /organizations/{organization_id}/solutions/{solution_id}/parameterGroups/{parameter_group_id} Delete a parameter group from the solution
SolutionApi delete_solution_run_template DELETE /organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id} Delete a specific run template
SolutionApi get_run_template GET /organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id} Retrieve a solution run templates
SolutionApi get_solution GET /organizations/{organization_id}/solutions/{solution_id} Get the details of a solution
SolutionApi get_solution_access_control GET /organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id} Get solution access control
SolutionApi get_solution_members GET /organizations/{organization_id}/solutions/{solution_id}/members Get the members of a Solution
SolutionApi get_solution_parameter GET /organizations/{organization_id}/solutions/{solution_id}/parameters/{parameter_id} Get the details of a solution parameter
SolutionApi get_solution_parameter_group GET /organizations/{organization_id}/solutions/{solution_id}/parameterGroups/{parameter_group_id} Get details of a solution parameter group
SolutionApi get_solution_security GET /organizations/{organization_id}/solutions/{solution_id}/security Get solution security information
SolutionApi list_run_templates GET /organizations/{organization_id}/solutions/{solution_id}/runTemplates List all solution run templates
SolutionApi list_solution_parameter_groups GET /organizations/{organization_id}/solutions/{solution_id}/parameterGroups List all solution parameter groups
SolutionApi list_solution_parameters GET /organizations/{organization_id}/solutions/{solution_id}/parameters List all solution parameters
SolutionApi list_solution_security_users GET /organizations/{organization_id}/solutions/{solution_id}/security/users List solution security users
SolutionApi list_solutions GET /organizations/{organization_id}/solutions List all Solutions
SolutionApi update_solution PATCH /organizations/{organization_id}/solutions/{solution_id} Update a solution
SolutionApi update_solution_access_control PATCH /organizations/{organization_id}/solutions/{solution_id}/security/access/{identity_id} Update solution access control
SolutionApi update_solution_default_security PATCH /organizations/{organization_id}/solutions/{solution_id}/security/default Update solution default security
SolutionApi update_solution_parameter PATCH /organizations/{organization_id}/solutions/{solution_id}/parameters/{parameter_id} Update solution parameter
SolutionApi update_solution_parameter_group PATCH /organizations/{organization_id}/solutions/{solution_id}/parameterGroups/{parameter_group_id} Update a solution parameter group
SolutionApi update_solution_run_template PATCH /organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id} Update a specific run template
WorkspaceApi create_workspace POST /organizations/{organization_id}/workspaces Create a new workspace
WorkspaceApi create_workspace_access_control POST /organizations/{organization_id}/workspaces/{workspace_id}/security/access Add a control access to the Workspace
WorkspaceApi create_workspace_file POST /organizations/{organization_id}/workspaces/{workspace_id}/files Upload a file for the Workspace
WorkspaceApi delete_workspace DELETE /organizations/{organization_id}/workspaces/{workspace_id} Delete a workspace
WorkspaceApi delete_workspace_access_control DELETE /organizations/{organization_id}/workspaces/{workspace_id}/security/access/{identity_id} Remove the specified access from the given Workspace
WorkspaceApi delete_workspace_file DELETE /organizations/{organization_id}/workspaces/{workspace_id}/files/delete Delete a workspace file
WorkspaceApi delete_workspace_files DELETE /organizations/{organization_id}/workspaces/{workspace_id}/files Delete all Workspace files
WorkspaceApi get_workspace GET /organizations/{organization_id}/workspaces/{workspace_id} Get the details of a workspace
WorkspaceApi get_workspace_access_control GET /organizations/{organization_id}/workspaces/{workspace_id}/security/access/{identity_id} Get a control access for the Workspace
WorkspaceApi get_workspace_file GET /organizations/{organization_id}/workspaces/{workspace_id}/files/download Download the Workspace File specified
WorkspaceApi get_workspace_members GET /organizations/{organization_id}/workspaces/{workspace_id}/members Get the members of a Workspace
WorkspaceApi get_workspace_security GET /organizations/{organization_id}/workspaces/{workspace_id}/security Get the Workspace security information
WorkspaceApi list_workspace_files GET /organizations/{organization_id}/workspaces/{workspace_id}/files List all Workspace files
WorkspaceApi list_workspace_role_permissions GET /organizations/{organization_id}/workspaces/{workspace_id}/permissions/{role} Get the Workspace permission by given role
WorkspaceApi list_workspace_security_users GET /organizations/{organization_id}/workspaces/{workspace_id}/security/users Get the Workspace security users list
WorkspaceApi list_workspaces GET /organizations/{organization_id}/workspaces List all Workspaces
WorkspaceApi update_workspace PATCH /organizations/{organization_id}/workspaces/{workspace_id} Update a workspace
WorkspaceApi update_workspace_access_control PATCH /organizations/{organization_id}/workspaces/{workspace_id}/security/access/{identity_id} Update the specified access to User for a Workspace
WorkspaceApi update_workspace_default_security PATCH /organizations/{organization_id}/workspaces/{workspace_id}/security/default Update the Workspace default security

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oAuth2AuthCode

Author

platform@cosmotech.com

Metadata

Release files for cosmotech-api 5.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cosmotech-api 5.3.0
File Size Uploaded
cosmotech_api-5.3.0.tar.gz 230.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cosmotech-api 5.3.0
File Interpreter ABI Platform
cosmotech_api-5.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 884.0 kB

Release files / cosmotech_api-5.3.0.tar.gz

Download URL cosmotech_api-5.3.0.tar.gz
Size 230.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c5fab300a9297fb9e8bc22fe89d754da3cad4acf2dc2daa55747c8a1ba49f28b
BLAKE2b-256 checksum
How to use checksums
d8530fee0db5a18c45744ecff6ce1b5377ac9597c9c2a1f59a404f8b3f0d036c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release files / cosmotech_api-5.3.0-py3-none-any.whl

Download URL cosmotech_api-5.3.0-py3-none-any.whl
Size 653.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4ba9130f4f75c7e1a8a5d0714970aa5616fe30f818f7ef4ce49c7396b337bb1
BLAKE2b-256 checksum
How to use checksums
d2a85b1a95e2368f5aa3e224611ae7691eee2cfa6de1875d688ca766edc4dd15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

5.3.0 This release

2 release files

5.2.0

2 release files

5.1.0

2 release files

5.0.1

2 release files

5.0.0

2 release files

4.2.5

2 release files

3.3.4

2 release files

3.2.6

2 release files

3.2.0

3 release files

3.1.13

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.2

2 release files

2.4.7

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

1.2.1

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page