Skip to main content
GET
/
providers
/
{id}
/
prompts
/
{promptID}
Get Provider Prompt
curl --request GET \
  --url https://api.example.com/providers/{id}/prompts/{promptID} \
  --header 'Authorization: Bearer <token>'
{
  "prompt": {
    "id": "kSuB9Gf6aD4",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "description": "<string>",
    "arguments": {},
    "messages": {}
  }
}

Authorizations

Authorization
string
header
required

Enter 'Bearer' followed by a space and your token (e.g., 'Bearer ${HASMCP_ACCESS_TOKEN}').

Path Parameters

id
string
required

Provider ID

promptID
string
required

Prompt ID

Response

200 - application/json

Provider Prompt details

prompt
object