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

# Get Exclusions For Search

> Retrieve exclusion records related to a specific business search.

This endpoint returns exclusion records that match the business information
from the specified search, such as business name, tax ID, or other identifiers.
Results are only available if the caller's organization has an active
consortium membership (granted by submitting exclusion data).

Results are paginated and ordered by creation date (newest first).



## OpenAPI

````yaml /api-reference/openapi.json get /businesses/{id}/exclusions
openapi: 3.1.0
info:
  title: baselayer-api-service
  version: 0.1.0
servers:
  - url: https://api.baselayer.com/
security: []
paths:
  /businesses/{id}/exclusions:
    get:
      tags:
        - Exclusions
      summary: Get Exclusions For Search
      description: >-
        Retrieve exclusion records related to a specific business search.


        This endpoint returns exclusion records that match the business
        information

        from the specified search, such as business name, tax ID, or other
        identifiers.

        Results are only available if the caller's organization has an active

        consortium membership (granted by submitting exclusion data).


        Results are paginated and ordered by creation date (newest first).
      operationId: get_exclusions_for_search_businesses__id__exclusions_get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Business ID
            description: The unique identifier of the business to retrieve exclusions for.
            examples:
              - 412a49b5-7466-426b-bf1e-081b00b54576
              - 9d5a286e-a6d6-4d6c-a38e-8b7ea50accd5
          description: The unique identifier of the business to retrieve exclusions for.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Maximum number of exclusion records to return
            default: 10
            title: Limit
          description: Maximum number of exclusion records to return
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: Number of exclusion records to skip
            default: 0
            title: Offset
          description: Number of exclusion records to skip
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/v1.ExclusionResponse'
                title: >-
                  Response Get Exclusions For Search Businesses  Id  Exclusions
                  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    v1.ExclusionResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: Unique identifier for the exclusion record.
          examples:
            - 2d110c5b-665b-42fa-ba0c-c3f74f1c57ca
        name:
          type: string
          title: Name
          description: Legal name of the business.
          examples:
            - Acme Corp
        address:
          type: string
          title: Address
          description: Full business address.
          examples:
            - 123 Main St, City, ST 12345
        tin:
          anyOf:
            - type: string
            - type: 'null'
          title: Tin
          description: Tax identification number.
          examples:
            - '123456789'
        product_type:
          $ref: '#/components/schemas/ProductType'
          description: Type of financial product.
        application_date:
          type: string
          format: date
          title: Application Date
          description: Date when application was submitted.
          examples:
            - '2026-06-02'
        opened_on:
          type: string
          format: date
          title: Opened On
          description: Date when account was opened.
          examples:
            - '2026-07-02'
        closed_on:
          type: string
          format: date
          title: Closed On
          description: Date when account was closed.
          examples:
            - '2026-08-01'
        closure_status:
          $ref: '#/components/schemas/ClosureStatus'
          description: What happened to the money at closure.
        closure_reason:
          $ref: '#/components/schemas/ClosureReason'
          description: Specific cause of closure.
        owner_first_name:
          type: string
          title: Owner First Name
          description: Primary owner's first name.
          examples:
            - John
        owner_last_name:
          type: string
          title: Owner Last Name
          description: Primary owner's last name.
          examples:
            - Doe
        additional_notes:
          anyOf:
            - type: string
            - type: 'null'
          title: Additional Notes
          description: Additional notes about the exclusion.
          examples:
            - Customer filed for bankruptcy on 2023-05-15
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Date and time when the exclusion record was created.
          examples:
            - '2026-08-31T10:31:07.820990'
      type: object
      required:
        - id
        - name
        - address
        - tin
        - product_type
        - application_date
        - opened_on
        - closed_on
        - closure_status
        - closure_reason
        - owner_first_name
        - owner_last_name
        - created_at
      title: ExclusionResponse (v1)
      description: |-
        Response model for exclusion data.

        This model defines the structure for exclusion-related API responses.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProductType:
      type: string
      enum:
        - BNK
        - CC
        - WC
        - LOC
        - EQF
        - MCA
        - PMT
        - Other
      title: ProductType
    ClosureStatus:
      type: string
      enum:
        - WO
        - SD
        - CL
        - PIF
      title: ClosureStatus
      description: What happened to the money when the account closed.
    ClosureReason:
      type: string
      enum:
        - WPF
        - WIF
        - WSF
        - WFU
        - WBC
        - WUP
        - WBK
        - WCX
        - CAE
        - PIF
      title: ClosureReason
      description: >-
        The specific cause of closure.


        Distinct from :class:`ClosureStatus` (what happened to the money) and

        :class:`ClosureFamily` (which bucket the cause falls in). When a case
        fits

        more than one family, members file the primary driver: confirmed fraud

        beats compliance beats credit, and within fraud, synthetic beats

        first-party.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````