Administration

company.export.files

List the company's stored files (all but its earlier company exports) with offset and limit (1 to 100, default 50), each with its bucket, path, size and a download link valid for 5 minutes, so a client can download every file, including those too large for company.export. Returns items, total and nextOffset (null on the last page). Administrators only.

GETPOST/api/v1/accounting/company.export.files

Permissions

accounting:readaccounting:admin

Who can call it

admin

Retries

Safe to retry: it only reads

MCP

accounting_company_export_files

Fields

  • offsetinteger

    How many results to skip, for the next page of a list.

    0 to 10000000 · Default 0

  • limitinteger

    How many results to return at most.

    1 to 100 · Default 50

Example

curl https://app.getoatmilk.com/api/v1/accounting/company.export.files \
  -H "Authorization: Bearer $OATMILK_API_KEY"
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

GET/api/v1/accounting/company.export.files
curl https://app.getoatmilk.com/api/v1/accounting/company.export.files \
  -H "Authorization: Bearer $OATMILK_API_KEY"

More in Administration.