Skip to main content
POST
/
api
/
v1
/
tool-requests
Create Tool Request
curl --request POST \
  --url https://api.promptguard.dev/api/v1/tool-requests \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "requested_host": "<string>",
  "requested_name": "<string>",
  "justification": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.promptguard.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.

Body

application/json
requested_host
string
required
Maximum string length: 255
requested_name
string | null
Maximum string length: 255
justification
string | null
Maximum string length: 2000

Response

Successful Response