Authorization header.
There is no Aspas Labs dashboard or self-service key-management screen yet. Use the free decision and model endpoints directly without a key. The current OpenAPI contract requires a bearer key only for catalog creation, reads, and deletion.
Bearer keys
You do not need a bearer key forPOST /v1/decisions, GET /v1/models, or GET /v1/models/{model}. For catalog operations, the expected key format is gf_live_...; send it as a bearer token:
cURL
Endpoint access
“Not required (free)” means the endpoint has an anonymous security alternative in the OpenAPI document. Your deployment may still apply quotas outside that document.
Authentication failures
When a protected catalog endpoint is missing a key or receives an invalid key, expect a401 response with the standard error envelope:
401 Unauthorized
message and code are server-controlled. Use the HTTP status and error.type for program logic, and keep the message for logs and operator feedback.
Server-side pattern
- Store
ASPAS_API_KEYin the runtime environment or a secret manager. - Read it only in server-side code.
- Add
Authorization: Bearer <key>to the outbound request. - Never return the key to a browser or include it in a client-side log.
- Remove the header when forwarding user-controlled requests to services that should not receive it.