Skip to content

Quickstart

This guide walks you through creating a tenant instance, waiting for it to come online, and accessing it — all from the command line.

  • An Orquestio API key (provided by your administrator)
  • curl and jq installed

Export your API key so the examples below work as-is:

Terminal window
export ORQUESTIO_API_KEY="your-api-key-here"
Terminal window
curl https://api.orquestio.com/health

Expected response:

{ "status": "healthy" }
Terminal window
curl -X POST https://api.orquestio.com/instances/create \
-H "Authorization: Bearer $ORQUESTIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"instance_id": "my-first-instance",
"tenant_id": "tenant-001",
"blueprint_name": "OpenClaw",
"plan_id": "openclaw-basic"
}'

The orchestrator returns immediately with the instance metadata. The actual provisioning happens asynchronously.

{
"instance_id": "my-first-instance",
"tenant_id": "tenant-001",
"state": "provisioning",
"blueprint_name": "OpenClaw"
}

Provisioning typically takes 2-3 minutes. Poll the status endpoint until the state changes to running:

Terminal window
while true; do
STATUS=$(curl -s \
-H "Authorization: Bearer $ORQUESTIO_API_KEY" \
https://api.orquestio.com/instances/my-first-instance/status \
| jq -r '.state')
echo "State: $STATUS"
[ "$STATUS" = "running" ] && break
sleep 10
done

Once the status is running, the response includes an access_url:

Terminal window
curl -s \
-H "Authorization: Bearer $ORQUESTIO_API_KEY" \
https://api.orquestio.com/instances/my-first-instance/status \
| jq '.access_url'

Open that URL in your browser to reach your OpenClaw instance.

You can also verify it programmatically via the health proxy:

Terminal window
curl -H "Authorization: Bearer $ORQUESTIO_API_KEY" \
https://api.orquestio.com/instances/my-first-instance/health

To map your own domain to the instance:

  1. Get the CNAME target from the custom domain endpoint:
Terminal window
curl -X POST https://api.orquestio.com/instances/my-first-instance/custom-domain \
-H "Authorization: Bearer $ORQUESTIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain": "ai.yourcompany.com"}'
  1. The response includes a cname_target — create a CNAME record in your DNS pointing ai.yourcompany.com to that target.

To destroy the instance and release all associated resources:

Terminal window
curl -X DELETE \
-H "Authorization: Bearer $ORQUESTIO_API_KEY" \
https://api.orquestio.com/instances/my-first-instance
  • Browse the API Reference for the full endpoint catalog
  • Learn about Blueprints to understand deployment templates
  • Set up the Portal for a UI-based management experience