---
title: "List feature credits entries of a feature for an account"
method: GET
path: "/accounts/{account_id}/features/{feature_id}/entries"
tags: ["Entitlements"]
---

# List feature credits entries of a feature for an account

`GET /accounts/{account_id}/features/{feature_id}/entries`

## Request

- Base URL: `https://api.togai.com`
- URL: `https://api.togai.com/accounts/{account_id}/features/{feature_id}/entries`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/togaihq/apis/togai-apis/docs/accounts/:account_id/features/:feature_id/entries/get.ts> (a function with typed inputs; its response is checked against the schema)

This API let’s you to list the feature credits entries of a feature for an account

## Path parameters

- `account_id` string, required
- `feature_id` string, required

## Query parameters

- `pageSize` integer
- `nextToken` string

## Response `200`

Success response

- GetFeatureCreditEntriesPaginatedResponse
  - `data` FeatureCreditEntry[]
    - `id` string, required
    - `source` 'ENTITLEMENT' | 'PRICE_PLAN' | 'OVERAGE' | 'REFUND', required: Source of the feature credit
    - `status` 'ACTIVE' | 'EXPIRED' | 'VOIDED', required: Status of the feature credit entry
    - `effectiveFrom` string, date-time, required
    - `effectiveUntil` string, date-time, required
    - `granted` number
    - `balance` number
    - `used` number, required
  - `nextToken` string

## Other responses

- `400`: Bad request. Please check the response message for failure details.
- `401`: Credential is not valid. Please check the response message for failure details.
- `403`: Credential does not have access to add a license entry.
- `422`: Unable to process the query parameters provided. Please check our docs for the api limits - https://togai.io/docs/limits.
- `429`: Request throttled. Please check the response message on the failure details.
- `default`: Error response

## Changes

- **2023-11-03** `a6c96c5ec06e`: 1 warning
  - added the new `REFUND` enum value to the `data/items/source` response property for the response status `200`
- **2023-10-09** `16b435d2f602`: 2 breaking, 2 info
  - removed the required property `data/items/sourceId` from the response with the `200` status
  - removed the required property `data/items/sourceType` from the response with the `200` status
  - added the required property `data/items/id` to the response with the `200` status
  - added the required property `data/items/source` to the response with the `200` status
- **2023-10-06** `4d0b22a4b65c`: 3 info
  - added the new optional `query` request parameter `nextToken`
  - added the new optional `query` request parameter `pageSize`
  - added the required property `data/items/status` to the response with the `200` status
- **2023-09-07** `cfabb13f9886`: 1 info
  - endpoint added
- **2023-09-02** `6b13f6f47735`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/togaihq/apis/togai-apis/changes/accounts/:account_id/features/:feature_id/entries/get.md)

---

[API](https://skmtc.dev/togaihq/apis/togai-apis.md) - [All operations](https://skmtc.dev/togaihq/apis/togai-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/togaihq/apis/togai-apis/revisions/442f5d8f4aa0?raw)
