mesa-sdk 0.3.1
Python Client SDK Generated by Speakeasy.
License: Apache-2.0
Requires Python: >=3.10

# Mesa Python SDK

This package is generated from the Depot OpenAPI specification with Speakeasy.

Do not manually edit generated files in this package. Update the OpenAPI spec and regenerate instead.

<!-- Start Summary [summary] -->
## Summary

Depot API: Depot HTTP API v1
<!-- End Summary [summary] -->

<!-- Start Table of Contents [toc] -->
## Table of Contents
<!-- $toc-max-depth=2 -->
* [Mesa Python SDK](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#mesa-python-sdk)
  * [SDK Installation](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#sdk-installation)
  * [IDE Support](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#ide-support)
  * [SDK Example Usage](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#sdk-example-usage)
  * [Authentication](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#authentication)
  * [Available Resources and Operations](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#available-resources-and-operations)
  * [Pagination](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#pagination)
  * [Retries](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#retries)
  * [Error Handling](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#error-handling)
  * [Server Selection](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#server-selection)
  * [Custom HTTP Client](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#custom-http-client)
  * [Resource Management](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#resource-management)
  * [Debugging](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#debugging)

<!-- End Table of Contents [toc] -->

<!-- Start SDK Installation [installation] -->
## SDK Installation

> [!NOTE]
> **Python version upgrade policy**
>
> Once a Python version reaches its [official end of life date](https://devguide.python.org/versions/), a 3-month grace period is provided for users to upgrade. Following this grace period, the minimum python version supported in the SDK will be updated.

The SDK can be installed with *uv*, *pip*, or *poetry* package managers.

### uv

*uv* is a fast Python package installer and resolver, designed as a drop-in replacement for pip and pip-tools. It's recommended for its speed and modern Python tooling capabilities.

```bash
uv add mesa-sdk
```

### PIP

*PIP* is the default package installer for Python, enabling easy installation and management of packages from PyPI via the command line.

```bash
pip install mesa-sdk
```

### Poetry

*Poetry* is a modern tool that simplifies dependency management and package publishing by using a single `pyproject.toml` file to handle project metadata and dependencies.

```bash
poetry add mesa-sdk
```

### Shell and script usage with `uv`

You can use this SDK in a Python shell with [uv](https://docs.astral.sh/uv/) and the `uvx` command that comes with it like so:

```shell
uvx --from mesa-sdk python
```

It's also possible to write a standalone Python script without needing to set up a whole project like so:

```python
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.10"
# dependencies = [
#     "mesa-sdk",
# ]
# ///

from mesa_sdk import Mesa

sdk = Mesa(
  # SDK arguments
)

# Rest of script here...
```

Once that is saved to a file, you can run it with `uv run script.py` where
`script.py` can be replaced with the actual file name.
<!-- End SDK Installation [installation] -->

<!-- Start IDE Support [idesupport] -->
## IDE Support

### PyCharm

Generally, the SDK will work well with most IDEs out of the box. However, when using PyCharm, you can enjoy much better integration with Pydantic by installing an additional plugin.

- [PyCharm Pydantic Plugin](https://docs.pydantic.dev/latest/integrations/pycharm/)
<!-- End IDE Support [idesupport] -->

<!-- Start SDK Example Usage [usage] -->
## SDK Example Usage

### Example

```python
# Synchronous Example
from mesa_sdk import Mesa


with Mesa(
    api_key="<YOUR_BEARER_TOKEN_HERE>",
) as mesa:

    res = mesa.admin.create_api_key(org="<value>")

    # Handle response
    print(res)
```

</br>

The same SDK client can also be used to make asynchronous requests by importing asyncio.

```python
# Asynchronous Example
import asyncio
from mesa_sdk import Mesa

async def main():

    async with Mesa(
        api_key="<YOUR_BEARER_TOKEN_HERE>",
    ) as mesa:

        res = await mesa.admin.create_api_key_async(org="<value>")

        # Handle response
        print(res)

asyncio.run(main())
```
<!-- End SDK Example Usage [usage] -->

<!-- Start Authentication [security] -->
## Authentication

### Per-Client Security Schemes

This SDK supports the following security scheme globally:

| Name      | Type | Scheme      |
| --------- | ---- | ----------- |
| `api_key` | http | HTTP Bearer |

To authenticate with the API the `api_key` parameter must be set when initializing the SDK client instance. For example:
```python
from mesa_sdk import Mesa


with Mesa(
    api_key="<YOUR_BEARER_TOKEN_HERE>",
) as mesa:

    res = mesa.admin.create_api_key(org="<value>")

    # Handle response
    print(res)

```
<!-- End Authentication [security] -->

<!-- Start Available Resources and Operations [operations] -->
## Available Resources and Operations

<details open>
<summary>Available methods</summary>

### [Admin](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/admin/README.md)

* [create_api_key](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/admin/README.md#create_api_key) - Create API key
* [list_api_keys](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/admin/README.md#list_api_keys) - List API keys
* [revoke_api_key](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/admin/README.md#revoke_api_key) - Revoke API key

### [AgentBlame](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/agentblame/README.md)

* [get_by_org_by_repo_agentblame](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/agentblame/README.md#get_by_org_by_repo_agentblame) - Get AI attribution data
* [get_by_org_by_repo_analytics](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/agentblame/README.md#get_by_org_by_repo_analytics) - Get repository analytics
* [post_by_org_by_repo_analytics_refresh](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/agentblame/README.md#post_by_org_by_repo_analytics_refresh) - Refresh repository analytics

### [Branches](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/branches/README.md)

* [list](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/branches/README.md#list) - List branches
* [create](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/branches/README.md#create) - Create branch
* [delete](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/branches/README.md#delete) - Delete branch

### [Commits](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/commits/README.md)

* [list](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/commits/README.md#list) - List commits
* [create](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/commits/README.md#create) - Create commit
* [get](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/commits/README.md#get) - Get commit

### [Content](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/content/README.md)

* [get](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/content/README.md#get) - Get content

### [Diffs](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/diffs/README.md)

* [get](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/diffs/README.md#get) - Get diff

### [Lfs](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/lfssdk/README.md)

* [upload](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/lfssdk/README.md#upload) - Upload LFS objects
* [download](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/lfssdk/README.md#download) - Download LFS objects

### [Merge](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/merge/README.md)

* [perform](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/merge/README.md#perform) - Merge branches

### [Org](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/org/README.md)

* [get](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/org/README.md#get) - Get organization

### [Repos](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/repos/README.md)

* [create](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/repos/README.md#create) - Create repository
* [list](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/repos/README.md#list) - List repositories
* [get](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/repos/README.md#get) - Get repository
* [delete](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/repos/README.md#delete) - Delete repository
* [update](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/repos/README.md#update) - Update repository
* [get_sync_status](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/repos/README.md#get_sync_status) - Get sync status
* [sync](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/repos/README.md#sync) - Sync repository

### [Webhooks](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/webhooks/README.md)

* [list](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/webhooks/README.md#list) - List webhooks
* [create](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/webhooks/README.md#create) - Create webhook
* [delete](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/docs/sdks/webhooks/README.md#delete) - Delete webhook

</details>
<!-- End Available Resources and Operations [operations] -->

<!-- Start Pagination [pagination] -->
## Pagination

Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the
returned response object will have a `Next` method that can be called to pull down the next group of results. If the
return value of `Next` is `None`, then there are no more pages to be fetched.

Here's an example of one such pagination call:
```python
from mesa_sdk import Mesa


with Mesa(
    api_key="<YOUR_BEARER_TOKEN_HERE>",
) as mesa:

    res = mesa.repos.list(org="<value>")

    while res is not None:
        # Handle items

        res = res.next()

```
<!-- End Pagination [pagination] -->

<!-- Start Retries [retries] -->
## Retries

Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.

To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
```python
from mesa_sdk import Mesa
from mesa_sdk.utils import BackoffStrategy, RetryConfig


with Mesa(
    api_key="<YOUR_BEARER_TOKEN_HERE>",
) as mesa:

    res = mesa.admin.create_api_key(org="<value>",
        RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))

    # Handle response
    print(res)

```

If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
```python
from mesa_sdk import Mesa
from mesa_sdk.utils import BackoffStrategy, RetryConfig


with Mesa(
    retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
    api_key="<YOUR_BEARER_TOKEN_HERE>",
) as mesa:

    res = mesa.admin.create_api_key(org="<value>")

    # Handle response
    print(res)

```
<!-- End Retries [retries] -->

<!-- Start Error Handling [errors] -->
## Error Handling

[`MesaError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/mesaerror.py) is the base class for all HTTP error responses. It has the following properties:

| Property           | Type             | Description                                                                             |
| ------------------ | ---------------- | --------------------------------------------------------------------------------------- |
| `err.message`      | `str`            | Error message                                                                           |
| `err.status_code`  | `int`            | HTTP response status code eg `404`                                                      |
| `err.headers`      | `httpx.Headers`  | HTTP response headers                                                                   |
| `err.body`         | `str`            | HTTP body. Can be empty string if no body is returned.                                  |
| `err.raw_response` | `httpx.Response` | Raw HTTP response                                                                       |
| `err.data`         |                  | Optional. Some errors may contain structured data. [See Error Classes](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/#error-classes). |

### Example
```python
from mesa_sdk import Mesa, errors


with Mesa(
    api_key="<YOUR_BEARER_TOKEN_HERE>",
) as mesa:
    res = None
    try:

        res = mesa.admin.create_api_key(org="<value>")

        # Handle response
        print(res)


    except errors.MesaError as e:
        # The base class for HTTP error responses
        print(e.message)
        print(e.status_code)
        print(e.body)
        print(e.headers)
        print(e.raw_response)

        # Depending on the method different errors may be thrown
        if isinstance(e, errors.PostByOrgAPIKeysBadRequestError):
            print(e.data.error)  # models.PostByOrgAPIKeysBadRequestError
```

### Error Classes
**Primary error:**
* [`MesaError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/mesaerror.py): The base class for HTTP error responses.

<details><summary>Less common errors (201)</summary>

<br />

**Network errors:**
* [`httpx.RequestError`](https://www.python-httpx.org/exceptions/#httpx.RequestError): Base class for request errors.
    * [`httpx.ConnectError`](https://www.python-httpx.org/exceptions/#httpx.ConnectError): HTTP client was unable to make a request to a server.
    * [`httpx.TimeoutException`](https://www.python-httpx.org/exceptions/#httpx.TimeoutException): HTTP request timed out.


**Inherit from [`MesaError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/mesaerror.py)**:
* [`PostByOrgAPIKeysBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgapikeysbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgAPIKeysBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgapikeysbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgAPIKeysByIDBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgapikeysbyidbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`PostByOrgReposBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgreposbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgReposBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgreposbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepobadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgByRepoBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgbyrepobadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`PatchByOrgByRepoBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/patchbyorgbyrepobadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoSyncBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyreposyncbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoSyncBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyreposyncbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoContentBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocontentbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoBranchesBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepobranchesbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoBranchesBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepobranchesbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgByRepoBranchesByBranchBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgbyrepobranchesbybranchbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoCommitsBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocommitsbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoCommitsBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepocommitsbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoCommitsByShaBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocommitsbyshabadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoDiffBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepodiffbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoAgentblameBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepoagentblamebadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoAnalyticsBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepoanalyticsbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoAnalyticsRefreshBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepoanalyticsrefreshbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoWebhooksBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepowebhooksbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoWebhooksBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepowebhooksbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgByRepoWebhooksByWebhookIDBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgbyrepowebhooksbywebhookidbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoMergeByBaseBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepomergebybasebadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoLfsObjectsBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepolfsobjectsbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoLfsObjectsDownloadBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepolfsobjectsdownloadbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`GetByOrgBadRequestError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbadrequesterror.py): Invalid request. Status code `400`. Applicable to 1 of 28 methods.*
* [`PostByOrgAPIKeysUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgapikeysunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgAPIKeysUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgapikeysunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgAPIKeysByIDUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgapikeysbyidunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`PostByOrgReposUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgreposunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgReposUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgreposunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepounauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgByRepoUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgbyrepounauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`PatchByOrgByRepoUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/patchbyorgbyrepounauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoSyncUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyreposyncunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoSyncUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyreposyncunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoContentUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocontentunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoBranchesUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepobranchesunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoBranchesUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepobranchesunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgByRepoBranchesByBranchUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgbyrepobranchesbybranchunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoCommitsUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocommitsunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoCommitsUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepocommitsunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoCommitsByShaUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocommitsbyshaunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoDiffUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepodiffunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoAgentblameUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepoagentblameunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoAnalyticsUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepoanalyticsunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoAnalyticsRefreshUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepoanalyticsrefreshunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoWebhooksUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepowebhooksunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoWebhooksUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepowebhooksunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgByRepoWebhooksByWebhookIDUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgbyrepowebhooksbywebhookidunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoMergeByBaseUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepomergebybaseunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoLfsObjectsUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepolfsobjectsunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoLfsObjectsDownloadUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepolfsobjectsdownloadunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`GetByOrgUnauthorizedError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgunauthorizederror.py): Unauthorized. Status code `401`. Applicable to 1 of 28 methods.*
* [`PostByOrgAPIKeysForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgapikeysforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgAPIKeysForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgapikeysforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgAPIKeysByIDForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgapikeysbyidforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`PostByOrgReposForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgreposforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgReposForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgreposforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepoforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgByRepoForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgbyrepoforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`PatchByOrgByRepoForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/patchbyorgbyrepoforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoSyncForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyreposyncforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoSyncForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyreposyncforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoContentForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocontentforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoBranchesForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepobranchesforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoBranchesForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepobranchesforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgByRepoBranchesByBranchForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgbyrepobranchesbybranchforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoCommitsForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocommitsforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoCommitsForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepocommitsforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoCommitsByShaForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocommitsbyshaforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoDiffForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepodiffforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoAgentblameForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepoagentblameforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoAnalyticsForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepoanalyticsforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoAnalyticsRefreshForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepoanalyticsrefreshforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoWebhooksForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepowebhooksforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoWebhooksForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepowebhooksforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgByRepoWebhooksByWebhookIDForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgbyrepowebhooksbywebhookidforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoMergeByBaseForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepomergebybaseforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoLfsObjectsForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepolfsobjectsforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoLfsObjectsDownloadForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepolfsobjectsdownloadforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`GetByOrgForbiddenError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgforbiddenerror.py): Forbidden. Status code `403`. Applicable to 1 of 28 methods.*
* [`PostByOrgAPIKeysNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgapikeysnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`GetByOrgAPIKeysNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgapikeysnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgAPIKeysByIDNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgapikeysbyidnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`PostByOrgReposNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgreposnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`GetByOrgReposNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgreposnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyreponotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgByRepoNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgbyreponotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`PatchByOrgByRepoNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/patchbyorgbyreponotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoSyncNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyreposyncnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoSyncNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyreposyncnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoContentNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocontentnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoBranchesNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepobranchesnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoBranchesNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepobranchesnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`DeleteByOrgByRepoBranchesByBranchNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/deletebyorgbyrepobranchesbybranchnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoCommitsNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocommitsnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`PostByOrgByRepoCommitsNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/postbyorgbyrepocommitsnotfounderror.py): Not found. Status code `404`. Applicable to 1 of 28 methods.*
* [`GetByOrgByRepoCommitsByShaNotFoundError`](https://github.com/mesa-dot-dev/depot/blob/master/packages/sdk-python/./src/mesa_sdk/errors/getbyorgbyrepocommitsbyshanotfounderror.py): Not found. Status