Loading_
Loading_
Settings → API keys → Create. Scope it to the least privilege the integration needs; keys are shown once.
The CLI wraps the same REST API and is the fastest way to explore before you write code.
Pick a script from the library, supply parameters, and execute it against a target with a dry run first.
Register a webhook to receive execution and incident events, signed with HMAC-SHA256.
Every example dry-runs before it commits — that is not defensive style, it is the API contract we recommend.
Base URL https://api.aiinfraengine.com · Bearer token authentication · JSON request and response bodies · rate limited to 600 requests per minute per key.
| Method | Path | Description | Scope |
|---|---|---|---|
| GET | /v1/scripts | List available automation scripts | read:scripts |
| GET | /v1/scripts/{id} | Retrieve a script with source and parameters | read:scripts |
| POST | /v1/executions | Execute a script against one or more targets | write:executions |
| GET | /v1/executions/{id} | Retrieve execution status, output and audit record | read:executions |
| POST | /v1/executions/{id}/cancel | Cancel an in-flight execution | write:executions |
| GET | /v1/targets | List managed nodes and their discovery metadata | read:targets |
| POST | /v1/incidents | Create an incident from an external signal | write:incidents |
| GET | /v1/incidents/{id} | Retrieve incident state and remediation history | read:incidents |
| POST | /v1/workflows/{id}/trigger | Trigger a workflow with a payload | write:workflows |
| GET | /v1/audit | Query the signed audit ledger | read:audit |
Every error response carries a requestId — quote it in support tickets and we can find the exact trace.
SDKs, examples and the Terraform provider are all open source.
github.com/aiinfraengineOur solutions engineers pair with your team on the first integration. It is included, not a professional-services line item.