Skip to main content

Get your API key

  1. Sign up at api.gravixlayer.ai.
  2. Open your project dashboard and create an API key.
  3. Copy the key and store it securely — it is shown once.

Set your API key

Prefer an environment variable so keys stay out of source control:
When GRAVIXLAYER_API_KEY is set, the SDK and CLI pick it up automatically. You can also pass the key explicitly:

Cloud and region

Runtime create needs a compute cloud and region. Put them on the client, not on runtime.create(). The SDK defaults to AWS / us-east-1.
Only AWS us-east-1 is available today. Azure and GCP are coming soon.

API base URL

All requests require the Authorization: Bearer <API_KEY> header. The SDK handles this automatically.

Next

Quickstart

Create a runtime and run your first code

Identity Providers

Inject credentials with Identity providers