Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
curl --request PATCH \
  --url https://api.lunary.ai/v1/datasets/prompts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "messages": [
    {
      "role": "<string>",
      "content": "<string>"
    }
  ]
}'{
  "id": "<string>",
  "datasetId": "<string>",
  "messages": [
    {
      "role": "<string>",
      "content": "<string>"
    }
  ]
}curl --request PATCH \
  --url https://api.lunary.ai/v1/datasets/prompts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "messages": [
    {
      "role": "<string>",
      "content": "<string>"
    }
  ]
}'{
  "id": "<string>",
  "datasetId": "<string>",
  "messages": [
    {
      "role": "<string>",
      "content": "<string>"
    }
  ]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes