# cybee_sdk.api.NuabeeApi

All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**approve_agent_agent_agent_id_approve_post**](NuabeeApi.md#approve_agent_agent_agent_id_approve_post) | **POST** /agent/{agent_id}/approve/ | Approve Agent
[**create_file_backup_plans_plan_backup_file_post**](NuabeeApi.md#create_file_backup_plans_plan_backup_file_post) | **POST** /plan/backup/file/ | Create File Backup Plans
[**create_plan_schedule_plan_schedule_schedule_post**](NuabeeApi.md#create_plan_schedule_plan_schedule_schedule_post) | **POST** /plan/schedule/schedule/ | Create Plan Schedule
[**execute_file_backup_plan_plan_backup_file_plan_id_execute_post**](NuabeeApi.md#execute_file_backup_plan_plan_backup_file_plan_id_execute_post) | **POST** /plan/backup/file/{plan_id}/execute/ | Execute File Backup Plan
[**get_agent_agent_unregistered_get**](NuabeeApi.md#get_agent_agent_unregistered_get) | **GET** /agent/unregistered/ | Get Agent
[**list_all_organization_identity_organization_get**](NuabeeApi.md#list_all_organization_identity_organization_get) | **GET** /identity/organization/ | List All Organization
[**list_repository_storage_repository_get**](NuabeeApi.md#list_repository_storage_repository_get) | **GET** /storage/repository/ | List Repository


# **approve_agent_agent_agent_id_approve_post**
> approve_agent_agent_agent_id_approve_post(agent_id, cbe_user_org_id=cbe_user_org_id)

Approve Agent

# Approve agent

Register a previously **unknown** (unregistered) agent into the system. Once
approved, the agent becomes a fully registered agent and starts appearing in
`GET /agent/`.

By default the agent is approved for the **caller's own organization**. To
approve the agent on behalf of a different organization, set the
`Cbe-User-Org-Id` header to the target organization id.

**Endpoint**: `POST /agent/{agent_id}/approve/`

**Auth**: requires an authenticated user.

## Path parameter
- `agent_id` (uuid, required): Identifier of the unregistered agent to approve. See `GET /agent/unregistered/`.

## Headers
- `Cbe-User-Org-Id` (string, optional): Organization the agent should be approved for. Defaults to the caller's organization when omitted.

## Response
- `204 No Content`: The agent was approved and registered.

### Example

```http
POST /agent/c85a857f-4d70-4099-b84f-a6b74ea999de/approve/ HTTP/1.1
Authorization: Bearer <access_token>
Cbe-User-Org-Id: 123456789
```

### Example

* OAuth Authentication (ZitadelWebAuthorizationBearer):
* Bearer Authentication (BearerToken):

```python
import cybee_sdk.api
from cybee_sdk.api.rest import ApiException
from pprint import pprint

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

# 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"]

# Configure Bearer authorization: BearerToken
configuration = cybee_sdk.api.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with cybee_sdk.api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cybee_sdk.api.NuabeeApi(api_client)
    agent_id = UUID('38400000-8cf0-11bd-b23e-10b96e4ef00d') # UUID | 
    cbe_user_org_id = 'cbe_user_org_id_example' # str |  Organization ID to request against. Can be empty (uses the user's org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See `/identity/organization/`  (optional)

    try:
        # Approve Agent
        api_instance.approve_agent_agent_agent_id_approve_post(agent_id, cbe_user_org_id=cbe_user_org_id)
    except Exception as e:
        print("Exception when calling NuabeeApi->approve_agent_agent_agent_id_approve_post: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **agent_id** | **UUID**|  | 
 **cbe_user_org_id** | **str**|  Organization ID to request against. Can be empty (uses the user&#39;s org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See &#x60;/identity/organization/&#x60;  | [optional] 

### Return type

void (empty response body)

### Authorization

[ZitadelWebAuthorizationBearer](../README.md#ZitadelWebAuthorizationBearer), [BearerToken](../README.md#BearerToken)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**204** | Successful Response |  -  |
**422** | Validation Error |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **create_file_backup_plans_plan_backup_file_post**
> FileBackupPlan create_file_backup_plans_plan_backup_file_post(file_backup_plan_create, cbe_user_org_id=cbe_user_org_id)

Create File Backup Plans

# Create file backup plan

Create a new file backup plan in the backup manager. File plans wrap a complete backup configuration and must declare at least one absolute `config.source_paths` entry.

**Endpoint**: `POST /backup/file/`

**Auth**: requires an authenticated user.

## Request body (FileBackupPlanCreate)
- `name` (string, required): Human-friendly plan name.
- `description` (string, optional): Optional free-text description of the plan.
- `repo_id` (uuid, required): Target repository id.
- `config` (ResticBackup, required): Must include `source_paths` (absolute paths); supports `exclude`, `iexclude`, `exclude_caches`, `exclude_if_present`, `exclude_larger_than`, and `global_options.limit_download` / `global_options.limit_upload`.
- `schedule_enabled` (bool, default `false`): Whether scheduling is active for this plan.
- `schedule_configs` (list of uuid, optional): Scheduling configurations to attach at creation when `schedule_enabled` is true.
- `affected_agents` (list of uuid, optional): Agents assigned to this backup plan upon creation.
- `retention_settings` (RetentionSettings, optional): Retention policy applied after backup. Supports `keep_last`, `keep_hourly`, `keep_daily`, `keep_weekly`, `keep_monthly`, `keep_yearly`, and `keep_within_*_as_secs` variants.
- `pre_script`, `post_script` (PrePostRunScript, optional): Hooks around the backup run. Fields: `executor`, `script_path`, `args`, `envs`, `abort_if_fail`, optional inline `script`.

Validation highlights: `config.source_paths` is mandatory and each path must be absolute. If provided, `pre_script`/`post_script` must include an executor and script path.

### Example

* OAuth Authentication (ZitadelWebAuthorizationBearer):
* Bearer Authentication (BearerToken):

```python
import cybee_sdk.api
from cybee_sdk.api.models.file_backup_plan import FileBackupPlan
from cybee_sdk.api.models.file_backup_plan_create import FileBackupPlanCreate
from cybee_sdk.api.rest import ApiException
from pprint import pprint

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

# 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"]

# Configure Bearer authorization: BearerToken
configuration = cybee_sdk.api.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with cybee_sdk.api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cybee_sdk.api.NuabeeApi(api_client)
    file_backup_plan_create = {"name":"Sample file plan","repo_id":"2783d0b1-d178-499b-ad7b-733670bde27b","config":{"source_paths":["C:\\Users"]},"schedule_enabled":true,"schedule_configs":["b180658b-1799-4563-a5ce-2eb131e51e0e"],"affected_agents":["b180658b-1799-4563-a5ce-2eb131e51e0e"]} # FileBackupPlanCreate | 
    cbe_user_org_id = 'cbe_user_org_id_example' # str |  Organization ID to request against. Can be empty (uses the user's org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See `/identity/organization/`  (optional)

    try:
        # Create File Backup Plans
        api_response = api_instance.create_file_backup_plans_plan_backup_file_post(file_backup_plan_create, cbe_user_org_id=cbe_user_org_id)
        print("The response of NuabeeApi->create_file_backup_plans_plan_backup_file_post:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NuabeeApi->create_file_backup_plans_plan_backup_file_post: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_backup_plan_create** | [**FileBackupPlanCreate**](FileBackupPlanCreate.md)|  | 
 **cbe_user_org_id** | **str**|  Organization ID to request against. Can be empty (uses the user&#39;s org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See &#x60;/identity/organization/&#x60;  | [optional] 

### Return type

[**FileBackupPlan**](FileBackupPlan.md)

### Authorization

[ZitadelWebAuthorizationBearer](../README.md#ZitadelWebAuthorizationBearer), [BearerToken](../README.md#BearerToken)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**201** | Successful Response |  -  |
**422** | Validation Error |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **create_plan_schedule_plan_schedule_schedule_post**
> Scheduling create_plan_schedule_plan_schedule_schedule_post(create_scheduling, cbe_user_org_id=cbe_user_org_id)

Create Plan Schedule

### Example

* OAuth Authentication (ZitadelWebAuthorizationBearer):
* Bearer Authentication (BearerToken):

```python
import cybee_sdk.api
from cybee_sdk.api.models.create_scheduling import CreateScheduling
from cybee_sdk.api.models.scheduling import Scheduling
from cybee_sdk.api.rest import ApiException
from pprint import pprint

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

# 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"]

# Configure Bearer authorization: BearerToken
configuration = cybee_sdk.api.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with cybee_sdk.api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cybee_sdk.api.NuabeeApi(api_client)
    create_scheduling = cybee_sdk.api.CreateScheduling() # CreateScheduling | 
    cbe_user_org_id = 'cbe_user_org_id_example' # str |  Organization ID to request against. Can be empty (uses the user's org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See `/identity/organization/`  (optional)

    try:
        # Create Plan Schedule
        api_response = api_instance.create_plan_schedule_plan_schedule_schedule_post(create_scheduling, cbe_user_org_id=cbe_user_org_id)
        print("The response of NuabeeApi->create_plan_schedule_plan_schedule_schedule_post:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NuabeeApi->create_plan_schedule_plan_schedule_schedule_post: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **create_scheduling** | [**CreateScheduling**](CreateScheduling.md)|  | 
 **cbe_user_org_id** | **str**|  Organization ID to request against. Can be empty (uses the user&#39;s org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See &#x60;/identity/organization/&#x60;  | [optional] 

### Return type

[**Scheduling**](Scheduling.md)

### Authorization

[ZitadelWebAuthorizationBearer](../README.md#ZitadelWebAuthorizationBearer), [BearerToken](../README.md#BearerToken)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**201** | Successful Response |  -  |
**422** | Validation Error |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **execute_file_backup_plan_plan_backup_file_plan_id_execute_post**
> object execute_file_backup_plan_plan_backup_file_plan_id_execute_post(plan_id, cbe_user_org_id=cbe_user_org_id, additional_agent_filter=additional_agent_filter)

Execute File Backup Plan

### Example

* OAuth Authentication (ZitadelWebAuthorizationBearer):
* Bearer Authentication (BearerToken):

```python
import cybee_sdk.api
from cybee_sdk.api.models.additional_agent_filter import AdditionalAgentFilter
from cybee_sdk.api.rest import ApiException
from pprint import pprint

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

# 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"]

# Configure Bearer authorization: BearerToken
configuration = cybee_sdk.api.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with cybee_sdk.api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cybee_sdk.api.NuabeeApi(api_client)
    plan_id = UUID('38400000-8cf0-11bd-b23e-10b96e4ef00d') # UUID | 
    cbe_user_org_id = 'cbe_user_org_id_example' # str |  Organization ID to request against. Can be empty (uses the user's org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See `/identity/organization/`  (optional)
    additional_agent_filter = {filter_agents=[8d9e8f7a-1b2c-4a3e-9f0b-123456789abc, 3f5a9c2e-7d1b-4f6c-8e90-abcdef123456]} # AdditionalAgentFilter |  (optional)

    try:
        # Execute File Backup Plan
        api_response = api_instance.execute_file_backup_plan_plan_backup_file_plan_id_execute_post(plan_id, cbe_user_org_id=cbe_user_org_id, additional_agent_filter=additional_agent_filter)
        print("The response of NuabeeApi->execute_file_backup_plan_plan_backup_file_plan_id_execute_post:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NuabeeApi->execute_file_backup_plan_plan_backup_file_plan_id_execute_post: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **plan_id** | **UUID**|  | 
 **cbe_user_org_id** | **str**|  Organization ID to request against. Can be empty (uses the user&#39;s org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See &#x60;/identity/organization/&#x60;  | [optional] 
 **additional_agent_filter** | [**AdditionalAgentFilter**](AdditionalAgentFilter.md)|  | [optional] 

### Return type

**object**

### Authorization

[ZitadelWebAuthorizationBearer](../README.md#ZitadelWebAuthorizationBearer), [BearerToken](../README.md#BearerToken)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**202** | Successful Response |  -  |
**422** | Validation Error |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **get_agent_agent_unregistered_get**
> PageUnregisteredAgentInfo get_agent_agent_unregistered_get(page=page, per_page=per_page, order_by=order_by, cbe_user_org_id=cbe_user_org_id)

Get Agent

# List unregistered agents

Fetch a paginated list of agents that are connected to the backend but **not yet
registered** - i.e. agents awaiting approval. Approve one with
`POST /agent/{agent_id}/approve/` to turn it into a registered agent visible in
`GET /agent/`.

**Endpoint**: `GET /agent/unregistered/`

**Auth**: requires an authenticated user.

## Query parameters
- `page` (int, default 0): Zero-based page index.
- `per_page` (int, default 25, max 50): Page size.
- `order_by` (list[str]): Optional sort fields forwarded to the backend.

## Response
`200 OK` with a `Page[UnregisteredAgentInfo]` body:
- `page`, `per_page`, `total_items`, `total_pages`: Pagination metadata.
- `items`: Array of unregistered agents with fields:
  - `id` (uuid): Agent identifier. Pass this to `POST /agent/{agent_id}/approve/`.
  - `machine_id` (string): Stable hardware/machine identifier.
  - `host_name` (string): Reported host name.
  - `os_family` (string, nullable): Operating system family (e.g. `windows`, `linux`).
  - `os_details` (string, nullable): Detailed OS description.
  - `version` (string, nullable): Agent software version.
  - `last_seen` (datetime): Last time the agent contacted the system.

### Example

```http
GET /agent/unregistered/?page=0&per_page=25 HTTP/1.1
Authorization: Bearer <access_token>
```

```json
{
  "page": 0,
  "per_page": 25,
  "total_items": 1,
  "total_pages": 1,
  "items": [
    {
      "id": "c85a857f-4d70-4099-b84f-a6b74ea999de",
      "machine_id": "S-1-5-21-1004336348",
      "host_name": "WIN-WORKSTATION-02",
      "domain_name": "company.local",
      "os_family": "windows",
      "os_details": "Windows 11 Pro 23H2",
      "version": "1.4.2",
      "last_seen": "2024-05-06T12:00:00Z"
    }
  ]
}
```

### Example

* OAuth Authentication (ZitadelWebAuthorizationBearer):
* Bearer Authentication (BearerToken):

```python
import cybee_sdk.api
from cybee_sdk.api.models.page_unregistered_agent_info import PageUnregisteredAgentInfo
from cybee_sdk.api.rest import ApiException
from pprint import pprint

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

# 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"]

# Configure Bearer authorization: BearerToken
configuration = cybee_sdk.api.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with cybee_sdk.api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cybee_sdk.api.NuabeeApi(api_client)
    page = 0 # int |  (optional) (default to 0)
    per_page = 25 # int |  (optional) (default to 25)
    order_by = [] # List[str] |  (optional) (default to [])
    cbe_user_org_id = 'cbe_user_org_id_example' # str |  Organization ID to request against. Can be empty (uses the user's org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See `/identity/organization/`  (optional)

    try:
        # Get Agent
        api_response = api_instance.get_agent_agent_unregistered_get(page=page, per_page=per_page, order_by=order_by, cbe_user_org_id=cbe_user_org_id)
        print("The response of NuabeeApi->get_agent_agent_unregistered_get:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NuabeeApi->get_agent_agent_unregistered_get: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **page** | **int**|  | [optional] [default to 0]
 **per_page** | **int**|  | [optional] [default to 25]
 **order_by** | [**List[str]**](str.md)|  | [optional] [default to []]
 **cbe_user_org_id** | **str**|  Organization ID to request against. Can be empty (uses the user&#39;s org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See &#x60;/identity/organization/&#x60;  | [optional] 

### Return type

[**PageUnregisteredAgentInfo**](PageUnregisteredAgentInfo.md)

### Authorization

[ZitadelWebAuthorizationBearer](../README.md#ZitadelWebAuthorizationBearer), [BearerToken](../README.md#BearerToken)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful Response |  -  |
**422** | Validation Error |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list_all_organization_identity_organization_get**
> PageOrganization list_all_organization_identity_organization_get(page=page, per_page=per_page, order_by=order_by, id=id, display_name=display_name, created_at_gt=created_at_gt, created_at_lt=created_at_lt, updated_at_gt=updated_at_gt, updated_at_lt=updated_at_lt, cbe_user_org_id=cbe_user_org_id)

List All Organization

### Example

* OAuth Authentication (ZitadelWebAuthorizationBearer):
* Bearer Authentication (BearerToken):

```python
import cybee_sdk.api
from cybee_sdk.api.models.page_organization import PageOrganization
from cybee_sdk.api.rest import ApiException
from pprint import pprint

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

# 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"]

# Configure Bearer authorization: BearerToken
configuration = cybee_sdk.api.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with cybee_sdk.api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cybee_sdk.api.NuabeeApi(api_client)
    page = 0 # int |  (optional) (default to 0)
    per_page = 25 # int |  (optional) (default to 25)
    order_by = [] # List[str] |  (optional) (default to [])
    id = None # List[UUID] |  (optional)
    display_name = 'display_name_example' # str |  (optional)
    created_at_gt = '2013-10-20T19:20:30+01:00' # datetime |  (optional)
    created_at_lt = '2013-10-20T19:20:30+01:00' # datetime |  (optional)
    updated_at_gt = '2013-10-20T19:20:30+01:00' # datetime |  (optional)
    updated_at_lt = '2013-10-20T19:20:30+01:00' # datetime |  (optional)
    cbe_user_org_id = 'cbe_user_org_id_example' # str |  Organization ID to request against. Can be empty (uses the user's org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See `/identity/organization/`  (optional)

    try:
        # List All Organization
        api_response = api_instance.list_all_organization_identity_organization_get(page=page, per_page=per_page, order_by=order_by, id=id, display_name=display_name, created_at_gt=created_at_gt, created_at_lt=created_at_lt, updated_at_gt=updated_at_gt, updated_at_lt=updated_at_lt, cbe_user_org_id=cbe_user_org_id)
        print("The response of NuabeeApi->list_all_organization_identity_organization_get:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NuabeeApi->list_all_organization_identity_organization_get: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **page** | **int**|  | [optional] [default to 0]
 **per_page** | **int**|  | [optional] [default to 25]
 **order_by** | [**List[str]**](str.md)|  | [optional] [default to []]
 **id** | [**List[UUID]**](UUID.md)|  | [optional] 
 **display_name** | **str**|  | [optional] 
 **created_at_gt** | **datetime**|  | [optional] 
 **created_at_lt** | **datetime**|  | [optional] 
 **updated_at_gt** | **datetime**|  | [optional] 
 **updated_at_lt** | **datetime**|  | [optional] 
 **cbe_user_org_id** | **str**|  Organization ID to request against. Can be empty (uses the user&#39;s org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See &#x60;/identity/organization/&#x60;  | [optional] 

### Return type

[**PageOrganization**](PageOrganization.md)

### Authorization

[ZitadelWebAuthorizationBearer](../README.md#ZitadelWebAuthorizationBearer), [BearerToken](../README.md#BearerToken)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful Response |  -  |
**422** | Validation Error |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list_repository_storage_repository_get**
> PageRepository list_repository_storage_repository_get(page=page, per_page=per_page, order_by=order_by, id=id, name=name, slug=slug, status=status, storage_destination_id=storage_destination_id, version=version, cbe_user_org_id=cbe_user_org_id)

List Repository

### Example

* OAuth Authentication (ZitadelWebAuthorizationBearer):
* Bearer Authentication (BearerToken):

```python
import cybee_sdk.api
from cybee_sdk.api.models.page_repository import PageRepository
from cybee_sdk.api.rest import ApiException
from pprint import pprint

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

# 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"]

# Configure Bearer authorization: BearerToken
configuration = cybee_sdk.api.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with cybee_sdk.api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cybee_sdk.api.NuabeeApi(api_client)
    page = 0 # int |  (optional) (default to 0)
    per_page = 25 # int |  (optional) (default to 25)
    order_by = [] # List[str] |  (optional) (default to [])
    id = None # List[UUID] |  (optional)
    name = 'name_example' # str |  (optional)
    slug = 'slug_example' # str |  (optional)
    status = cybee_sdk.api.RepositoryStatusEnum() # RepositoryStatusEnum |  (optional)
    storage_destination_id = None # List[UUID] |  (optional)
    version = cybee_sdk.api.ResticVersionEnum() # ResticVersionEnum |  (optional)
    cbe_user_org_id = 'cbe_user_org_id_example' # str |  Organization ID to request against. Can be empty (uses the user's org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See `/identity/organization/`  (optional)

    try:
        # List Repository
        api_response = api_instance.list_repository_storage_repository_get(page=page, per_page=per_page, order_by=order_by, id=id, name=name, slug=slug, status=status, storage_destination_id=storage_destination_id, version=version, cbe_user_org_id=cbe_user_org_id)
        print("The response of NuabeeApi->list_repository_storage_repository_get:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NuabeeApi->list_repository_storage_repository_get: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **page** | **int**|  | [optional] [default to 0]
 **per_page** | **int**|  | [optional] [default to 25]
 **order_by** | [**List[str]**](str.md)|  | [optional] [default to []]
 **id** | [**List[UUID]**](UUID.md)|  | [optional] 
 **name** | [**str**](.md)|  | [optional] 
 **slug** | [**str**](.md)|  | [optional] 
 **status** | [**RepositoryStatusEnum**](.md)|  | [optional] 
 **storage_destination_id** | [**List[UUID]**](UUID.md)|  | [optional] 
 **version** | [**ResticVersionEnum**](.md)|  | [optional] 
 **cbe_user_org_id** | **str**|  Organization ID to request against. Can be empty (uses the user&#39;s org), a specific ID, or an asterisk (*) in which case the returned data are sourced from all orgs you can access.  See &#x60;/identity/organization/&#x60;  | [optional] 

### Return type

[**PageRepository**](PageRepository.md)

### Authorization

[ZitadelWebAuthorizationBearer](../README.md#ZitadelWebAuthorizationBearer), [BearerToken](../README.md#BearerToken)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful Response |  -  |
**422** | Validation Error |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

