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"
Use JSON for request bodies:
curl https://console.layerrail.com/api/project \
-H "Authorization: Bearer $LAYERRAIL_TOKEN" \
-H "Content-Type: application/json"
Successful list responses return an items array when multiple resources are returned.
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.