Replyke supports a draft/publish workflow for entities. An entity created withDocumentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
isDraft: true is stored but not publicly visible. When the creator is ready, they publish it and it becomes visible to others.
Creating a Draft
PassisDraft: true to useCreateEntity:
Listing the Current User’s Drafts
UseuseFetchDrafts to retrieve all unpublished drafts for the authenticated user:
useFetchDrafts parameters:
| Param | Type | Description |
|---|---|---|
page | number | Page number for pagination |
limit | number | Results per page |
sourceId | string | Filter by source ID |
spaceId | string | Filter by space |
include | string | string[] | Populate related data ("user", "space", etc.) |
{ data: Entity[], pagination: { page, pageSize, totalPages, totalItems, hasMore } }.
Publishing a Draft
UseusePublishDraft to publish an existing draft:
entity.isDraft is false and the entity is publicly visible.
Only the entity’s creator can publish their own drafts. The request requires an authenticated user.

