Skip to main content
The LayerRail API lets you automate project and infrastructure workflows with personal access tokens.

Base URL

https://console.layerrail.com/api

Authentication

API requests use a personal access token.
curl https://console.layerrail.com/api/project \
  -H "Authorization: Bearer $LAYERRAIL_TOKEN"

Request format

Use JSON for request bodies:
curl https://console.layerrail.com/api/project \
  -H "Authorization: Bearer $LAYERRAIL_TOKEN" \
  -H "Content-Type: application/json"

Response format

Successful list responses return an items array when multiple resources are returned.
{
  "items": []
}
Error responses include a machine-readable error code and message.
{
  "error": {
    "code": "InvalidRequest",
    "message": "missing required field"
  }
}
Endpoint-by-endpoint API pages will expand as the LayerRail public API stabilizes.