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

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

Provider ID

promptID
string
required

Prompt ID

Response

200 - application/json

Provider Prompt details

prompt
object