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
| Header | Meaning |
|---|---|
x-receipt-id | Id of the signed receipt for this response. |
x-aci-identity | The attested workload identity that served the request. |
x-aci-keyset-digest | Digest of the workload’s published keyset. |
Confirm it was attested
Read thex-receipt-id header, then fetch the receipt and check how the response was served:
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.