Business report document containing analysis, metrics, or summaries. Tracks report metadata, creator, department, reporting period, status, and file location.
https://api.mockly.codes/reports?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/reportsGet a collection of reports
/business/reports/reports/:idGet a single report by ID
/business/reports/:id/reports/metaGet resource metadata and schema
/business/reports/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/reports?q=laptopGET https://api.mockly.codes/reports?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 reports
fetch('https://api.mockly.codes/reports?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/reports?count=10'
)
data = response.json()curl "https://api.mockly.codes/reports?count=10"fetch('https://api.mockly.codes/reports?nocache=true')idintegerUnique identifier for the report record
random_inttitlestringTitle or name of the report
sentencetypestringType or category of report (e.g., financial, sales, performance, audit, quarterly)
worddescriptionstringSummary or overview of what the report contains and its purpose
paragraphcreated_bystringFull name of the person who authored or created the report
namedepartmentstringDepartment or division that generated or owns this report
departmentperiod_startstringStart date of the reporting period covered by this report
past_datedateperiod_endstringEnd date of the reporting period covered by this report
past_datedatestatusstringCurrent status of the report (e.g., draft, final, published, archived)
statusfile_urlstringURL or file path where the report document is stored (PDF, Excel, etc.)
urluricreated_atstringTimestamp when the report was created
past_datedate-timecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request