GET
/
v1
/
datasets
/
prompts
/
{id}
curl --request GET \
  --url https://api.lunary.ai/v1/datasets/prompts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "datasetId": "<string>",
  "messages": [
    {
      "role": "<string>",
      "content": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json
Prompt details
id
string
datasetId
string
messages