read
costs

Lists the store’s operating expenses: name, vendor, amount, currency, billing frequency and period. Use for questions ab

Changed on

Lists the store’s operating expenses: name, vendor, amount, currency, billing frequency and period. Use for questions about overhead, fixed costs and profitability inputs.

post/api/v1/tools/get_expenses

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopescosts:read

Request body

object required
limit, integer

Max expenses (default 50).

include_archived, boolean

Include archived expenses (default false).

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision