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

# Browse Profile Tier Points by Source

> A `GET` to the `/profiles/{profile}/tiers/points/by-source` endpoint returns
every tier point the profile holds against a given source entity. When
`source=transaction` is supplied, the response also includes tier points
attached to that transaction's line items.



## OpenAPI

````yaml get /v3/profiles/{profile}/tiers/points/by-source
openapi: 3.1.0
info:
  title: Omneo
  version: 0.0.1
servers:
  - url: https://api.{tenant}.getomneo.com/api
    variables:
      tenant:
        default: example
security: []
paths:
  /v3/profiles/{profile}/tiers/points/by-source:
    get:
      tags:
        - Profile Tier Point
      summary: Browse Profile Tier Points by Source
      description: >-
        A `GET` to the `/profiles/{profile}/tiers/points/by-source` endpoint
        returns

        every tier point the profile holds against a given source entity. When

        `source=transaction` is supplied, the response also includes tier points

        attached to that transaction's line items.
      operationId: profiles.tiers.points.by-source
      parameters:
        - name: profile
          in: path
          required: true
          description: The profile ID
          schema:
            type: string
            format: uuid
        - name: source
          in: query
          required: true
          schema:
            type: string
            enum:
              - benefit
              - transaction
              - transaction_item
        - name: identifier_type
          in: query
          required: true
          schema:
            type: string
            enum:
              - id
              - external_id
              - receipt_ref
        - name: identifier
          in: query
          required: true
          schema:
            type: string
        - name: page[size]
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Array of `TierPoint`
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TierPoint'
                required:
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '403':
          $ref: '#/components/responses/AuthorizationException'
        '404':
          $ref: '#/components/responses/ModelNotFoundException'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    TierPoint:
      type: object
      properties:
        id:
          type: integer
        profile_id:
          type: string
        point_definition_id:
          type: integer
        value:
          type: integer
        issued_at:
          type: string
        accrued_at:
          type:
            - string
            - 'null'
        status:
          type: string
        source_id:
          type:
            - integer
            - 'null'
        source_type:
          type:
            - string
            - 'null'
        source:
          type: 'null'
        meta:
          type:
            - array
            - 'null'
          items: {}
        created_at:
          type: string
        updated_at:
          type: string
      required:
        - id
        - profile_id
        - point_definition_id
        - value
        - issued_at
        - accrued_at
        - status
        - source_id
        - source_type
        - source
        - meta
        - created_at
        - updated_at
      title: TierPoint
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    AuthorizationException:
      description: Authorization error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ModelNotFoundException:
      description: Not found
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors

````