intuned-client
Python SDK for the Intuned public APIs.
Install
pip install intuned-client
Quickstart
from intuned_client import IntunedClient
from intuned_client import models
with IntunedClient(
api_key="your-intuned-api-key",
workspace_id="123e4567-e89b-12d3-a456-426614174000",
) as client:
response = client.projects.runs.start(
project_name="my-project",
body=models.RunStartRequestBody(
api="my-awesome-api",
parameters={"hello": "world"},
),
)
print(response.run_id)
Authentication
Pass your Intuned API key when creating the client:
from intuned_client import IntunedClient
client = IntunedClient(
api_key="your-intuned-api-key",
workspace_id="123e4567-e89b-12d3-a456-426614174000",
)
API shape
The client follows the API tag hierarchy:
client.projects.runsclient.projects.runs.startclient.projects.runs.resultclient.projects.jobsclient.projects.jobs.runsclient.projects.auth_sessionsclient.projects.auth_sessions.validateclient.projects.auth_sessions.createclient.projects.auth_sessions.updateclient.web_tasks.startclient.web_tasks.resultclient.web_tasks.run— convenience: starts a Web Task and pollsresultuntil terminal (statuscompletedorcanceled).
Example:
job_runs = client.projects.jobs.runs.list(
project_name="my-project",
job_id="job-123",
)
Async usage
from intuned_client import AsyncIntunedClient
async def main() -> None:
async with AsyncIntunedClient(
api_key="your-intuned-api-key",
workspace_id="123e4567-e89b-12d3-a456-426614174000",
) as client:
result = await client.projects.runs.result(
project_name="my-project",
run_id="run-123",
)
print(result)
Error handling
The SDK raises typed exceptions from intuned_client.exceptions, including:
AuthenticationErrorNotFoundErrorValidationErrorServerErrorApiError
Notes
- The SDK uses
httpxfor transport. - Request and response models are built with
pydantic. - Both sync and async clients support custom
httpxclient injection.
Metadata
Release files for intuned-client 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| intuned_client-1.1.1.tar.gz | 21.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| intuned_client-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.2 kB
Release files / intuned_client-1.1.1.tar.gz
| Download URL | intuned_client-1.1.1.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a57607d6f65218644c06c1a7133e6012b8ce73851cfe2a06c3b8967bedafca3
|
|
BLAKE2b-256 checksum How to use checksums |
18a713fab99d6d59c76eed7573eeca44f6aeebeb3b8b178c527d682099a9c6c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / intuned_client-1.1.1-py3-none-any.whl
| Download URL | intuned_client-1.1.1-py3-none-any.whl |
|---|---|
| Size | 27.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bda05bb2da9b83dd0077b914250e21e5c651fbb715b6c60c1f83c72c85305351
|
|
BLAKE2b-256 checksum How to use checksums |
f1f3768727e317f30a167b5a1ff9d99bc10e09e422c75e32059e7e9c689c0da1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|