API Access
You can access the TrustAI Guard API by submitting a POST request to https://platform.trustai.pro/v1/prompt_guard.
You'll need to pass an access key along with your request.
We are developing an independent user login and APIKEYS generation system,
you can just copy and paste the example below, and execute your "Hello, world" from your favorite environment.
Once you have your access key, you're ready to make your first request. As a "hello world", let's run TrustAI Guard on a harmless input.
curl https://platform.trustai.pro/v1/prompt_guard \
-X POST \
-H "Authorization: Bearer sk-trustaijust4demopromptguard" \
-H "Content-Type: application/json" \
-d '{"input": "Your content goes here"}'