useReports
List generated reports with reactive loading and error state.
import { useReports } from 'flowstack-sdk'Report management.
Signature
const { reports, isLoading, error, refreshReports } = useReports()Returns
| Field | Type | Description |
|---|---|---|
reports | ReportInfo[] | Reports, each { name, content, format, createdAt }. |
isLoading | boolean | Fetch in flight. |
error | string | null | Last error message. |
refreshReports | () => Promise<void> | Manual re-fetch. |
Examples
const {
reports, // ReportInfo[] — { name, content, format, createdAt }
isLoading, // boolean
error, // string | null
refreshReports, // () => Promise<void>
} = useReports();See also
useDatasets · useVisualizations · useQuery
Source: README.md#usereports · Also available in llms-full.txt and registry.json.