# nodus.api

> Layer 1 of the SDK: the generic resource client over every kind (resources.md §10.3).

Source: https://www.nodus-compute.ai/docs/reference/python/nodus-api/
Build revision: 3f2cb825a7aa0daaa9150df8ae7a28c39a5c1dfa

<!-- Generated by scripts/gen-reference.mjs from the SDK docstrings (griffe). Do not edit: run make gen. -->

Layer 1 of the SDK: the generic resource client over every kind (resources.md §10.3).

`nodus.api.get`, `list`, `watch`, `apply`, `create`, `patch`, `delete`, `estimate`, `logs`, `exec`, `files`, `healthz` and `readyz` use the default client; `nodus.Client(...)` makes another one. Every call blocks and has an `.aio` form. Objects are JSON dicts shaped like the kinds in resources.md; `nodus.api.models` holds the generated pydantic models.

## Exports

* `Config`: import with `from nodus.api import Config`
* `KINDS`: import with `from nodus.api import KINDS`
* `Resource`: import with `from nodus.api import Resource`
* `default_client`: import with `from nodus.api import default_client`
* `resolve`: import with `from nodus.api import resolve`
