Private preview of the new site. Not live.

reports.listSaved

The shop's saved reports, by name. Owner or office only.

WhoAgents can call this
RESTGET /v1/reports/saved
MCP toolreports_listSaved
Writesno
AreaCosts, expenses and reports

When to use it

The shop's saved reports, by name. Owner or office only.

What to tell the owner

Tell them what you found in plain words. Don't read back raw fields.

Input

FieldTypeRequired
shop_idstring (uuid)yes

Example

GET https://doingwork.work/v1/reports/saved?shop_id=00000000-0000-4000-8000-000000000000

Output

FieldTypeAlways there
reportsarrayyes
reports[].report_idstring (uuid)yes
reports[].namestringyes
reports[].op_idstringyes
reports[].paramsobjectyes
reports[].date_range['string', 'null']yes
reports[].created_bystring (uuid)yes
reports[].created_atstring (date-time)yes
reports[].updated_atstring (date-time)yes
{
  "reports": [
    {
      "report_id": "00000000-0000-4000-8000-000000000000",
      "name": "Ruiz Plumbing",
      "op_id": "00000000-0000-4000-8000-000000000000",
      "params": {},
      "date_range": "...",
      "created_by": "00000000-0000-4000-8000-000000000000",
      "created_at": "...",
      "updated_at": "..."
    }
  ]
}

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.