Atlas
Prompts

Get prompt collection with items

Returns a single prompt collection with all its items, ordered by sort_order.

GET
/api/v1/prompts/{id}

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:3001/api/v1/prompts/collection-id"
{
  "collection": {
    "property1": null,
    "property2": null
  },
  "items": [
    {
      "property1": null,
      "property2": null
    }
  ]
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}