Cluster API keys are used to authenticate requests with the Inferable API. Each key is associated with one cluster, and can has permission to:

  • Register tools
  • Register workflows
  • Invoke workflows

API keys are intended for usage within trusted environments, i.e from your service’s backend.

SDKs

The Inferable SDKs (except for @inferable/sdk-react require an API key, if none is provided explicitly it will attempt to use the environment variable INFERABLE_API_SECRET

const client = new Inferable({
  apiSecret: "YOUR_API_SECRET",
});

API Key Management

New secrets can be created (and revoked) via the Playground.