GET
/
v1
/
prompts
curl --request GET \
  --url https://api.bland.ai/v1/prompts \
  --header 'authorization: <authorization>'
{
  "status": "success",
  "prompts": [
    {
      "prompt": "My Prompt",
      "last_updated": "2024-05-12T22:52:49.004987+00:00",
      "id": "PT-aa8fb0ac-0014-43c0-9268-543522ce7e27",
      "name": "My First Prompt"
    }
  ]
}

Headers

authorization
string
required

Your API key for authentication.

Response

status
string

Response status of the request.

prompts
array

An array of prompt objects.

{
  "status": "success",
  "prompts": [
    {
      "prompt": "My Prompt",
      "last_updated": "2024-05-12T22:52:49.004987+00:00",
      "id": "PT-aa8fb0ac-0014-43c0-9268-543522ce7e27",
      "name": "My First Prompt"
    }
  ]
}