Skip to main content
Create an API key in the dashboard and set it as the API_KEY environment variable. Then call the API with any OpenAI client library: point it at https://api.redpill.ai/v1 and send your key as a bearer token.

Make a request

The response is a standard OpenAI chat completion, plus verification headers:

Confirm it was attested

Read the x-receipt-id header, then fetch the receipt and check how the response was served:
A confidential response shows result: verified and required: true. To verify the gateway identity and the receipt signature end to end, see Verify a response.

Next steps

Models

Browse the catalog and tell confidential models from standard ones.

Authentication

Manage API keys and keep them out of source.

API Reference

Every endpoint and parameter.

Verify a response

Check attestation and receipts yourself.