Prompt Guard Configuration API Reference
Base URL
prompt-guard.<csp>.<region>.pangea.cloud
curl -sSLX POST 'https://prompt-guard.aws.us.pangea.cloud/v1beta/config' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Get Prompt Guard config
Retrieve a Prompt Guard service configuration by its ID.
curl -sSLX POST 'https://prompt-guard.aws.us.pangea.cloud/v1beta/config/create' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
This endpoint cannot be called through the documentation site
Create Prompt Guard config
Create a new Prompt Guard service configuration.
curl -sSLX POST 'https://prompt-guard.aws.us.pangea.cloud/v1beta/config/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
This endpoint cannot be called through the documentation site
Update Prompt Guard config
Update a Prompt Guard service configuration.
To update a configuration, first retrieve the current version, apply your changes, and submit the updated configuration to this endpoint.
For a full example using a Project Admin management client, see the Service Configuration APIs documentation.
curl -sSLX POST 'https://prompt-guard.aws.us.pangea.cloud/v1beta/config/delete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
This endpoint cannot be called through the documentation site
Delete Prompt Guard config
Delete an Prompt Guard service configuration.
curl -sSLX POST 'https://prompt-guard.aws.us.pangea.cloud/v1beta/config/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
List Prompt Guard configs
Retrieve a paginated list of Prompt Guard service configurations.
Status Codes
Was this article helpful?