Setup your development

Sign up for a account on our dashboard and create a API Key.

Export the API Key as an environment variable:

export ENKRYPTAI_API_KEY=<your-api-key>

Example Usage

Here is an example of how to use the Guardrails API to use all of the available detectors:

Response:

{
  "task_id": "redteam-job-6c3babbe-3bc4-4553-a0b7-454df720579f"
}