Prompt Guard Config Management API Reference
post/v1beta/config
cURL
curl -sSLX POST 'https://prompt-guard.aws.us.pangea.cloud/v1beta/config' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Get Prompt Guard config
POST
https://prompt-guard.aws.us.pangea.cloud/v1beta/configRetrieve a Prompt Guard service configuration by its ID.
post/v1beta/config/create
cURL
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
POST
https://prompt-guard.aws.us.pangea.cloud/v1beta/config/createCreate a new Prompt Guard service configuration.
post/v1beta/config/update
cURL
curl -sSLX POST 'https://prompt-guard.aws.us.pangea.cloud/v1beta/config/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Update Prompt Guard config
POST
https://prompt-guard.aws.us.pangea.cloud/v1beta/config/updateUpdate 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.
post/v1beta/config/delete
cURL
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
POST
https://prompt-guard.aws.us.pangea.cloud/v1beta/config/deleteDelete an Prompt Guard service configuration.
post/v1beta/config/list
cURL
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
200
List Prompt Guard configs
POST
https://prompt-guard.aws.us.pangea.cloud/v1beta/config/listRetrieve a paginated list of Prompt Guard service configurations.
Status Codes
Was this article helpful?