Skip to main content
GET
/
:projectId
/
api
/
v7
/
collections
/
:collectionId
/
entities
Fetch Collection Entities
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/collections/:collectionId/entities
{
  "data": [
    {}
  ],
  "pagination": {
    "page": 123,
    "limit": 123,
    "totalPages": 123,
    "totalItems": 123,
    "hasMore": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.replyke.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns a paginated list of entities saved in the specified collection. The collection must belong to the authenticated user.

Path Parameters

collectionId
string
required
The ID of the collection to fetch entities from.

Query Parameters

page
number
Page number (1-indexed). Default: 1.
limit
number
Number of entities per page. Default: 20.
sortBy
"new" | "top" | "hot" | "added"
Sort mode. added sorts by when the entity was saved; others sort by entity properties. Default: "new".
sortDir
"asc" | "desc"
Sort direction. Default: "desc".
include
string
Comma-separated list of associations to include: user, space, topcomment.

Response

data
Entity[]
The page of entity objects. Each entity includes isSaved: true.
pagination
object
Pagination metadata.

Error Responses

{ "error": "Collection not found", "code": "collection/not-found" }
{ "error": "Internal server error.", "code": "collection/server-error" }