Skip to content
Subs -25% LAUNCH-SUB
Claws -25% LAUNCH-CLAWS

API: Get Instance Details

3 min read API Last updated February 10, 2026

Endpoint

text
GET /api/v1/instances/:id

Returns detailed information about a single instance, including action availability and configuration status.

Authentication

Include your API key in the Authorization header:

text
Authorization: Bearer oc_live_your_api_key_here

See API Overview for details on obtaining and managing API keys.

Request

Replace :id with the numeric instance ID.

Example:

bash
curl -X GET https://clawhosters.com/api/v1/instances/42 \
  -H "Authorization: Bearer oc_live_your_api_key_here" \
  -H "Content-Type: application/json"

Response

Success (200 OK)

json
{
  "data": {
    "id": 42,
    "name": "my-ai-bot",
    "status": "running",
    "tier": "balanced",
    "billing_mode": "daily",
    "ip_address": "2a01:4f9:0:0::abcd:1234",
    "health_status": "healthy",
    "created_at": "2026-02-05T12:34:56Z",
    "provisioned_at": "2026-02-05T12:40:22Z",
    "can_start": false,
    "can_stop": true,
    "can_restart": true,
    "subdomain_url": "my-ai-bot.clawhosters.com",
    "daily_claw_cost": 225,
    "llm_configured": true,
    "telegram_configured": true
  }
}

Response Fields

The detail response includes all fields from List Instances, plus additional fields:

Field Type Description
id integer Unique instance identifier
name string Instance name set during creation
status string Current instance status (see List Instances for all statuses)
tier string Instance tier: budget, balanced, or pro
billing_mode string daily (Claws) or monthly (Stripe subscription)
ip_address string or null IPv6 address of the VPS. Null if not yet provisioned
health_status string healthy, unhealthy, or unknown
created_at string ISO 8601 timestamp
provisioned_at string or null ISO 8601 timestamp when the instance became running
can_start boolean Whether the instance can be started right now
can_stop boolean Whether the instance can be stopped right now
can_restart boolean Whether the instance can be restarted right now
subdomain_url string Subdomain URL for web access to the instance
daily_claw_cost integer How many Claws this instance costs per day
llm_configured boolean Whether an LLM provider is configured
telegram_configured boolean Whether Telegram is connected

Action Availability

The can_start, can_stop, and can_restart fields tell you which power actions are available for the instance in its current state. Check these before calling the corresponding action endpoints.

Instance Status can_start can_stop can_restart
running false true true
stopped true false false
paused false false false
provisioning false false false
error false false false

Error Responses

Not Found (404)

Returned when the instance ID does not exist or belongs to a different customer.

json
{
  "error": {
    "code": "not_found",
    "message": "Instance not found"
  }
}

Unauthorized (401)

Returned when the API key is missing, invalid, or revoked.

json
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid or missing API key"
  }
}

Rate Limit Exceeded (429)

Returned when you exceed 100 requests per minute.

json
{
  "error": {
    "code": "rate_limit_exceeded",
    "message": "Rate limit exceeded. Try again in 42 seconds."
  }
}

Rate Limiting

Header Description
X-RateLimit-Limit Maximum requests per minute (100)
X-RateLimit-Remaining Requests remaining in the current window
X-RateLimit-Reset Unix timestamp when the window resets

Notes

  • You can only view instances that belong to your account. Attempting to access another customer's instance returns a 404.
  • The daily_claw_cost reflects the tier's base cost. Add-on costs are tracked separately.
  • The subdomain_url is assigned during provisioning and remains the same even if the instance is stopped and restarted.
  • The llm_configured and telegram_configured flags help you determine whether the instance is ready to handle messages.

Related Documentation