# Security and data handling

This page summarizes API-key handling, workspace isolation, and usage data.

## API authentication and isolation

- Inference requests use a `ck_…` bearer API key over HTTPS. The inference API
  does not use browser cookies for authorization.
- Keys belong to a workspace. Usage, prepaid credit, and request history are
  attributed to that workspace; organization membership controls which
  workspaces a Console user can reach.
- API keys are encrypted at rest and access is restricted to the services that
  validate or display them.

See [Authentication](/authentication) for operational key guidance.

## Inference and usage records

Celeris processes request bodies to generate responses. It also keeps:

- Request metadata, such as model, region and outcome, to operate and support
  the service.
- Billing records, such as token counts and consumed credit.
- Samples of prompts and responses, to investigate issues and improve models.
  Celeris stores a sample only after removing the personal information it
  detects. You can opt out in Console. In organizations with more than one
  member, Admins and Owners can opt out for the whole organization, including
  shared keys.

## Browser use

The inference API permits cross-origin bearer requests for browser-based
applications. CORS does not make an embedded key private:
anyone who can load a public application's JavaScript can recover a bundled key.
For public web applications, keep the Celeris key on your server and proxy the
request through your own authenticated backend.
