> ## Documentation Index
> Fetch the complete documentation index at: https://nevermined.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get per-member credit-burn attribution

> Returns credit-burn totals attributed to each organization member across the org’s tier plans, with each member’s burn count and the timestamp of their most recent burn (`lastBurnAt`, nullable). Pass `planId` to narrow the report to a single tier plan; otherwise every tier-plan burn is rolled up to one total per member. Credit amounts are serialised as strings (bigint). Requires a Nevermined API key. Requires active organization membership. Requires the organization to be on the Premium tier or higher.



## OpenAPI

````yaml /api-reference/organizations-openapi.json get /organizations/{orgId}/analytics/credits-by-member
openapi: 3.0.0
info:
  title: Nevermined Organizations API
  description: >-
    Manage a Nevermined organization programmatically — members, tiers, groups &
    budgets, treasury wallets, customers, webhooks, analytics, and
    agent-discovery surfaces.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.sandbox.nevermined.app/api/v1
    description: Sandbox
  - url: https://api.live.nevermined.app/api/v1
    description: Live
security: []
tags:
  - name: Organizations
    x-group: General
    description: Organization settings, members & roles, and workspace context.
  - name: Organizations - Billing
    x-group: Billing
    description: Tiers, subscriptions, invoices, checkout, and the public tier catalog.
  - name: Groups
    x-group: Groups & Budgets
    description: Organization groups, per-group budgets, and shared payment methods.
  - name: Organizations - Wallets
    x-group: Wallets
    description: Custodial stablecoin treasury wallets.
  - name: Organizations - Customers
    x-group: Customers
    description: The white-label customer CRM (Enterprise).
  - name: Organizations - Analytics
    x-group: Analytics
    description: Revenue, MRR, usage, conversion, and per-member metrics.
  - name: Organizations - Webhooks
    x-group: Webhooks
    description: Outbound webhook subscriptions and deliveries.
  - name: Organizations - Activity
    x-group: Activity
    description: The organization activity feed.
  - name: Organizations - Realtime
    x-group: Realtime
    description: Realtime WebSocket secret management (Enterprise).
  - name: Invitations
    x-group: Invitations
    description: Invite people to an organization.
  - name: Organizations - Integration
    x-group: Agent Discovery
    description: >-
      Public agent-discovery surfaces (llms.txt, agentic-instructions.md,
      ai-catalog.json).
paths:
  /organizations/{orgId}/analytics/credits-by-member:
    get:
      tags:
        - Organizations - Analytics
      summary: Get per-member credit-burn attribution
      description: >-
        Returns credit-burn totals attributed to each organization member across
        the org’s tier plans, with each member’s burn count and the timestamp of
        their most recent burn (`lastBurnAt`, nullable). Pass `planId` to narrow
        the report to a single tier plan; otherwise every tier-plan burn is
        rolled up to one total per member. Credit amounts are serialised as
        strings (bigint). Requires a Nevermined API key. Requires active
        organization membership. Requires the organization to be on the Premium
        tier or higher.
      operationId: OrganizationAnalyticsController_creditsByMember
      parameters:
        - name: orgId
          required: true
          in: path
          description: Organization ID
          schema:
            type: string
            example: org-abc123
        - name: limit
          required: false
          in: query
          description: Maximum number of members to return (1–1000).
          schema:
            example: 100
            type: number
        - name: groupId
          required: false
          in: query
          description: >-
            Restrict attribution to a single group's spend. Omit for all
            members.
          schema:
            example: grp-9f2a1c
            type: string
        - name: planId
          required: false
          in: query
          description: >-
            Restrict attribution to a single tier plan. Omit to roll up all tier
            plans.
          schema:
            example: plan-5d8f2a
            type: string
        - name: to
          required: false
          in: query
          description: ISO-8601 end date (inclusive). Omit for no upper bound.
          schema:
            example: '2026-02-01T23:59:59.999Z'
            type: string
        - name: from
          required: false
          in: query
          description: ISO-8601 start date (inclusive). Omit for no lower bound.
          schema:
            example: '2026-01-01T00:00:00.000Z'
            type: string
      responses:
        '200':
          description: Credits-by-member breakdown
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditsByMemberResponseDto'
        '401':
          description: Missing or invalid Nevermined API key
        '403':
          description: >-
            Caller is not an organization member, or the org is not on the
            Premium tier or higher
      security:
        - Authorization: []
components:
  schemas:
    CreditsByMemberResponseDto:
      type: object
      properties:
        items:
          description: Per-member credit-burn attribution rows.
          type: array
          items:
            $ref: '#/components/schemas/CreditsByMemberItemDto'
      required:
        - items
    CreditsByMemberItemDto:
      type: object
      properties:
        memberId:
          type: string
          description: Organization member ID.
          example: om-3c9d1f7a
        memberAddress:
          type: string
          description: Wallet address of the member.
          example: '0x1234abcd5678ef901234abcd5678ef901234abcd'
        totalCreditsBurned:
          type: string
          description: >-
            Total credits burned by this member, serialised as a string
            (bigint).
          example: '3200'
        burnCount:
          type: number
          description: Number of burn operations attributed to the member.
          example: 88
        lastBurnAt:
          type: string
          nullable: true
          description: >-
            ISO-8601 timestamp of the member’s most recent burn, or `null` if
            none in the period.
          example: '2026-05-18T11:42:00.000Z'
      required:
        - memberId
        - memberAddress
        - totalCreditsBurned
        - burnCount
  securitySchemes:
    Authorization:
      scheme: bearer
      bearerFormat: JWT
      type: http

````

## Related topics

- [Organizations](/docs/solutions/organizations/overview.md)
- [Analytics](/docs/solutions/organizations/analytics.md)
- [Managing Payment Plans](/docs/api-reference/cli/plans.md)
- [Managing AI Agents](/docs/api-reference/cli/agents.md)
- [Get a group and its members](/docs/api-reference/groups/get-a-group-and-its-members.md)
