client.projects
client.projects — the projects operations.
On AsyncKindgi every method is the same, awaited.
client.projects.get_default()
Section titled “client.projects.get_default()”get_default(*, timeout: float | None = None) -> ProjectFetch the tenant's Default project. GET /v1/projects/default
Returns the row where Project.isDefault = true (exactly one per tenant). Returns 404 project-not-found when no Default has been provisioned.
client.projects.list()
Section titled “client.projects.list()”list( *, limit: int | None = None, cursor: str | None = None, org_id: str | None = None, name_contains: str | None = None, timeout: float | None = None,) -> ProjectCollectionPageList projects in the caller's tenant. GET /v1/projects
Cursor-paginated. Optional ?orgId= narrows to a specific org (projects may have no org; absent = all); ?nameContains= substring-matches on Project.name.
client.projects.create()
Section titled “client.projects.create()”create( *, idempotency_key: str | None = None, timeout: float | None = None, **fields: Any,) -> CreateResourceResultCreate a project. POST /v1/projects
client.projects.get()
Section titled “client.projects.get()”get(*, timeout: float | None = None) -> ProjectFetch a project by id. GET /v1/projects/{projectId}
client.projects.update()
Section titled “client.projects.update()”update( *, idempotency_key: str | None = None, timeout: float | None = None, **fields: Any,) -> NonePartially update a project. PATCH /v1/projects/{projectId}
client.projects.delete()
Section titled “client.projects.delete()”delete(*, idempotency_key: str | None = None, timeout: float | None = None) -> NoneDelete a project (idempotent). DELETE /v1/projects/{projectId}