h/ namespace holds H’s public ones.
The API is served from https://agp.eu.hcompany.ai, and every route lives under /api/v2.
Get an API key
Create a key at platform.eu.hcompany.ai/settings/api-keys: click Create key and give it a name. The key is shown once, so store it securely and keep it server-side. Never commit it to source control or ship it in client code.Authenticate a request
Send the key in theAuthorization header as Bearer $H_API_KEY. Configure the client once and it attaches the key to every call.
Region
The client defaults to the EU host (https://agp.eu.hcompany.ai). To target another region, pass it explicitly:
Organization scoping
A key acts as its organization. Resources you create are visible only within that org, and you reference them by theid or name you assign. Names under the h/ prefix are reserved: they are H-maintained, read-only, and available to every organization.
A missing or invalid key returns
401, and a valid key without permission for an operation (such as modifying a reserved h/ resource) returns 403. See Errors for the full list.