Datasets

Get prompt by ID

GET
/v1/datasets/prompts/
id
curl --request GET \
  --url https://api.lunary.ai/v1/datasets/prompts/{id} \
  --header 'Authorization: Bearer <api_key>' \
  --header 'Content-Type: application/json'

Parameters

NameLocated InRequiredSchema
idpathYesstring

Responses

200

Prompt details

PropertyTypeDescription
idstring
datasetIdstring
messagesarray

Questions? We're here to help.

Email