useProjectDefaultItems
Agent Runtimes / hooks/useProjects / useProjectDefaultItems
Function: useProjectDefaultItems()
useProjectDefaultItems(
projectUid):UseQueryResult<NoInfer<{ }>,Error>
Defined in: src/hooks/useProjects.ts:267
Hook to fetch the default notebook and document UIDs for a project.
This calls the spacer GET /spaces/:uid/default-items endpoint which
returns the UID of the first notebook and first document in the space.
Parameters
projectUid
string | undefined
Returns
UseQueryResult<NoInfer<{ }>, Error>