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

Headers

authorization
string
required

Your API key for authentication.

Path Parameters

prompt_id
string
required

The unique identifier for the prompt you want to retrieve.

Response

status
string

Response status of the request.

prompt
object

An object containing parameters for the prompt.

prompt.id
string

The unique identifier of the prompt.

prompt.prompt
string

The prompt of the specific prompt_id.

prompt.name
string

The name of the specific prompt_id.

prompt.last_updated
string

The time of last update for the specific prompt_id.