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

# Credential counts and latest createdAt grouped by status.

> Lightweight polling endpoint. Returns one bucket per consent status with the count and the most recent createdAt. Use this to detect whether a cached list is stale (count or latestCreatedAt changed) without fetching the list. Rejected credentials are never persisted so that bucket is always { count: 0, latestCreatedAt: null }.



## OpenAPI

````yaml products/didx-me/api-reference/v1/me-wallet.json get /v2/credentials/summary
openapi: 3.0.0
info:
  version: 1.0.0
  title: Me Wallet API
  description: >2-

          
    OpenAPI documentation for Me Wallet API

          
    Following JSON:API spec https://jsonapi.org/format/ approach to response
    payload format.


    **v1 endpoints are deprecated.** See the [Migration Guide (v1 to
    v2)](migration-guide) for details.

          
     - [JSON - OpenAPI Specification](/me-wallet/api/openapi.json)
servers:
  - url: https://test.didxtech.com/me-wallet/api
security:
  - bearerAuth: []
tags:
  - name: users
    description: User info
  - name: tenants
    description: Tenant management
  - name: credentials
    description: User credential management
  - name: presentations
    description: Presentation management
  - name: org-credentials
    description: Organization endpoints — credential issuance
  - name: org-presentations
    description: Organization endpoints — presentation requests
paths:
  /v2/credentials/summary:
    get:
      tags:
        - credentials
      summary: Credential counts and latest createdAt grouped by status.
      description: >-
        Lightweight polling endpoint. Returns one bucket per consent status with
        the count and the most recent createdAt. Use this to detect whether a
        cached list is stale (count or latestCreatedAt changed) without fetching
        the list. Rejected credentials are never persisted so that bucket is
        always { count: 0, latestCreatedAt: null }.
      responses:
        '200':
          description: Per-status credential summary.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CredentialStatusSummaryApiResponse'
components:
  schemas:
    CredentialStatusSummaryApiResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/CredentialStatusSummary'
        links:
          $ref: '#/components/schemas/ApiLinks'
        meta:
          $ref: '#/components/schemas/ApiMeta'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ApiError'
      required:
        - data
    CredentialStatusSummary:
      type: object
      properties:
        pending:
          $ref: '#/components/schemas/CredentialStatusBucket'
        accepted:
          $ref: '#/components/schemas/CredentialStatusBucket'
        rejected:
          $ref: '#/components/schemas/CredentialStatusBucket'
      required:
        - pending
        - accepted
        - rejected
    ApiLinks:
      type: object
      properties:
        self:
          type: string
          format: uri
        first:
          type: string
          format: uri
        last:
          type: string
          format: uri
        prev:
          type: string
          format: uri
        next:
          type: string
          format: uri
        related:
          type: string
          format: uri
    ApiMeta:
      type: object
      additionalProperties:
        nullable: true
    ApiError:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
        code:
          type: string
        title:
          type: string
        detail:
          type: string
        source:
          type: object
          properties:
            pointer:
              type: string
            parameter:
              type: string
        meta:
          type: object
          additionalProperties:
            nullable: true
      required:
        - detail
    CredentialStatusBucket:
      type: object
      properties:
        count:
          type: integer
          minimum: 0
        latestCreatedAt:
          type: string
          nullable: true
          format: date-time
      required:
        - count
        - latestCreatedAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````