Skip to main content
GET
/
collections
/
{collectionId}
Get collection
curl --request GET \
  --url https://api.thehaystack.ai/v2/bevly/collections/{collectionId} \
  --header 'Authorization: Bearer <token>'
{
  "collection": {
    "id": 1,
    "name": "Sunday Sermons",
    "itemDescriptor": "sermon"
  }
}

Authorizations

Authorization
string
header
required

Enter your API token from the Haystack dashboard

Path Parameters

collectionId
integer
required

Query Parameters

expand
enum<string>[]

Related entities to include in the response

Available options:
variantTypes

Response

200 - application/json

Collection details

collection
object