> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validio.io/llms.txt
> Use this file to discover all available pages before exploring further.

# validio_sdk.dbt module

> Utilities for dbt.

Utilities for dbt.

### trim\_manifest\_json()

```python
validio_sdk.dbt.trim_manifest_json(manifest: dict) → dict
```

**Parameters**

**manifest** `dict` *required*

**Returns:** `dict`

Takes a dbt manifest json and discards all the fields that are not relevant used by the validio platform.

* Parameters:

  **manifest** – The manifest object

### upload\_artifacts()

```python
async validio_sdk.dbt.upload_artifacts(client: APIClient | Client, credential_id: str, job_name: str, manifest: dict, run_results: dict | None) → None
```

**Parameters**

**client** `APIClient | Client` *required*

**Type:** `APIClient | Client`

**credential\_id** `str` *required*

**job\_name** `str` *required*

**manifest** `dict` *required*

**run\_results** `dict | None` *required*

**Returns:** `None`

Helper function to upload dbt artifacts. The artifacts are additionally trimmed before uploading.

* Parameters:

  * **client** – Client to use for the artifacts upload.

  * **credential\_id** – DBTCore credential id to upload artifacts on behalf of.

  * **job\_name** – Job associated with the artifacts.

  * **manifest** – manifest.json payload

  * **run\_results** – run\_results.json payload
