Skip to main content
GET
/
:projectId
/
api
/
v7
/
spaces
/
:spaceId
/
breadcrumb
Fetch Space Breadcrumb
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/breadcrumb
{
  "breadcrumb": [
    {}
  ],
  "depth": 123
}

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 an ordered list of spaces from the root ancestor down to and including the specified space itself, suitable for breadcrumb navigation.

Path Parameters

spaceId
string
required
UUID of the space whose ancestors to fetch.

Response

breadcrumb
SpacePreview[]
Ordered array of ancestor SpacePreview objects from the root down to the space itself. For a root-level space this array contains only that space. Each item includes: id, shortId, name, slug, avatarFileId, parentSpaceId, depth.
depth
number
Nesting depth of the requested space. 0 for root-level spaces.
See also: useFetchSpaceBreadcrumb