---
title: "Get account values for querying bill line items."
method: GET
path: "/organizations/{orgId}/dataexplorer/bills/accounts"
tags: ["DataExplorer"]
---

# Get account values for querying bill line items.

`GET /organizations/{orgId}/dataexplorer/bills/accounts`

## Request

- Base URL: `https://api.m3ter.com`
- URL: `https://api.m3ter.com/organizations/{orgId}/dataexplorer/bills/accounts`
- Auth: OAuth 2
  - Authorization code: `https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize`, token URL `https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/token`
  - Client credentials, token URL `/oauth/token`
- TypeScript: <https://skmtc.dev/m3ter-com/apis/m3ter-api/docs/organizations/:orgId/dataexplorer/bills/accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

Get account values for querying bill line items.

## Path parameters

- `orgId` string, required

## Query parameters

- `limit` integer

## Response `200`

Returns a list of accounts.

- AccountsResponse: Response containing accounts used for filtering bill queries.
  - `accountCodes` string[]: A list of account codes.
  - `accounts` Account[]: A list of accounts.
    - `code` string: Account code
    - `name` string: Account name

## Other responses

- `4XX`: Error message
- `5XX`: Error message

## Changes

- **2026-10-16** `85c514abc692`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/m3ter-com/apis/m3ter-api/changes/organizations/:orgId/dataexplorer/bills/accounts/get.md)

---

[API](https://skmtc.dev/m3ter-com/apis/m3ter-api.md) - [All operations](https://skmtc.dev/m3ter-com/apis/m3ter-api/llms.txt) - [OpenAPI document](https://skmtc.dev/m3ter-com/apis/m3ter-api/revisions/85c514abc692?raw)
