Docs
Quickstart: REST API
You need: an API key in LG_API_KEY and any HTTP client.
Get a key. Sign up at https://app.restolayer.com/sign-up. Create a key in Settings → API keys with
gateway:read. Keep it in an environment variable:export LG_API_KEY=lg_live_…Read.
curl -s https://manage.restolayer.com/v1/me -H "Authorization: Bearer $LG_API_KEY" curl -s https://manage.restolayer.com/v1/workspaces -H "Authorization: Bearer $LG_API_KEY"- Check it. The spec for every route is at https://www.restolayer.com/openapi.json, and the reference lists them by resource.
Errors are { "error": { "code", "message", "details" } }; see errors.