List available reports
GET /api/v1/{bucket}/reports
GET
/api/v1/{bucket}/reports
Returns all pre-built report definitions. Optionally filter by a search query that matches against report name, description, category, and tags.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” bucket
required
string
Flock bucket ID. The caller must have access to this bucket.
Example
exampleQuery Parameters
Section titled “Query Parameters ” q
string
Search query to filter reports by name, description, category, or tags.
Example
membershipResponses
Section titled “ Responses ”List of reports
object
data
required
Array<object>
object
id
required
string
Example
age_summary name
required
string
Example
Age Summary description
required
string
Example
Counts people by age band. Excludes deceased. category
required
string
Example
people tags
required
Array<string>
Example
[ "age", "demographics"]Example
{ "data": [ { "id": "age_summary", "name": "Age Summary", "description": "Counts people by age band. Excludes deceased.", "category": "people", "tags": [ "age", "demographics", "birthday", "dob" ] } ]}Authentication required
object
error
required
object
code
required
Machine-readable error code.
string
Example
unauthorized message
required
Human-readable error message.
string
Example
Authentication requiredExample
{ "error": { "code": "unauthorized", "message": "Authentication required" }}Access denied to bucket
object
error
required
object
code
required
Machine-readable error code.
string
Example
unauthorized message
required
Human-readable error message.
string
Example
Authentication requiredExample
{ "error": { "code": "forbidden", "message": "Access denied to bucket 'example'" }}