---
updatedAt: 2026-06-02T21:08:59.000Z
agentTools:
  projectIndex: https://docs.bridgeft.com/llms.txt
---

# Filter all lot records

Returns a filtered list of lot records

# OpenAPI definition

````json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Wealthtech API",
    "description": "RESTful API for controlling and interacting with Atlas data",
    "version": "2.6.0"
  },
  "servers": [
    {
      "url": "https://api.bridgeft.com/v2"
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true,
    "samples-enabled": true
  },
  "paths": {
    "/jobs/": {
      "get": {
        "tags": [
          "Jobs"
        ],
        "summary": "List all Jobs",
        "description": "Returns a list of jobs",
        "operationId": "getJobs",
        "parameters": [
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/page"
          }
        ],
        "responses": {
          "200": {
            "description": "An enveloped list of Jobs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "type": "string",
                      "example": "list"
                    },
                    "has_next": {
                      "type": "boolean"
                    },
                    "has_previous": {
                      "type": "boolean"
                    },
                    "current_page": {
                      "type": "integer",
                      "example": 2
                    },
                    "total_pages": {
                      "type": "integer",
                      "example": 5
                    },
                    "page_size_limit": {
                      "type": "integer",
                      "example": 10000
                    },
                    "total_items": {
                      "type": "integer",
                      "example": 50
                    },
                    "data": {
                      "$ref": "#/components/schemas/Jobs"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/data/source/lots/filter": {
      "post": {
        "tags": [
          "Source Lots"
        ],
        "summary": "Filter all lot records",
        "description": "Returns a filtered list of lot records",
        "operationId": "filterSourceLots",
        "parameters": [
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/page"
          },
          {
            "$ref": "#/components/parameters/related",
            "schema": {
              "enum": [
                "accounts",
                "securities"
              ]
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/paths/~1data~1source~1lots~1latest/get/requestBody/content/application~1json/schema"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "An enveloped list of lots",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "type": "string",
                      "example": "list"
                    },
                    "has_next": {
                      "type": "boolean"
                    },
                    "has_previous": {
                      "type": "boolean"
                    },
                    "current_page": {
                      "type": "integer",
                      "example": 2
                    },
                    "total_pages": {
                      "type": "integer",
                      "example": 5
                    },
                    "page_size_limit": {
                      "type": "integer",
                      "example": 10000
                    },
                    "total_items": {
                      "type": "integer",
                      "example": 50
                    },
                    "data": {
                      "$ref": "#/components/schemas/SourceLot"
                    },
                    "related": {
                      "type": "object",
                      "properties": {
                        "accounts": {
                          "type": "object",
                          "properties": {
                            "account_id": {
                              "$ref": "#/components/schemas/Account"
                            }
                          }
                        },
                        "securities": {
                          "type": "object",
                          "properties": {
                            "security_id": {
                              "$ref": "#/components/schemas/Security"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/paths/~1jobs~1/get/responses/400"
          }
        }
      }
    },
    "/data/source/lots/latest": {
      "get": {
        "tags": [
          "Source Lots"
        ],
        "summary": "Latest Lots Records",
        "description": "Returns a list of the most recent lot records as of the latest date reported by the custodian. Request body fields can be included in request body, or as query parameters for optional filtering.",
        "operationId": "getSourceLotsLatest",
        "parameters": [
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/page"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "reported_date"
                ],
                "properties": {
                  "id": {
                    "title": "Id",
                    "description": "The unique resource id for the lot",
                    "type": "integer"
                  },
                  "account_id": {
                    "description": "The id of the Account associated with this lot",
                    "type": "integer"
                  },
                  "account_ids": {
                    "description": "Provide a list of Account IDs to filter.",
                    "type": "array",
                    "items": {
                      "type": "integer"
                    },
                    "example": [
                      216897,
                      216898
                    ]
                  },
                  "security_id": {
                    "description": "The id of the Security associated with this lot",
                    "type": "integer"
                  },
                  "source_security_symbol": {
                    "description": "The symbol of the corresponding security as reported by the source if applicable",
                    "type": "string"
                  },
                  "source_security_cusip": {
                    "description": "The cusip of the corresponding security as reported by the source if applicable",
                    "type": "string"
                  },
                  "source": {
                    "title": "Financial institution data source",
                    "description": "Custodian or source the lot data comes from. ALT=Altruist, APX=Apex Fintech Solutions, AXO=Axos Advisory Services, DST=DST Systems, FPR=Fidelity 401k/403b, IBK=Interactive Brokers, NFS=Fidelity Investments, PER=Pershing, PTA=Pontera, SEI=SEI Investments, SWB=Charles Schwab, TDA=TD Ameritrade (Available prior to Sept. 2, 2023), EGB=Eaglebrook, MLT=Millenium Trust, TIA=TIAA Financial Services, WFO=Wells Fargo",
                    "type": "string",
                    "enum": [
                      "ALT",
                      "APX",
                      "AXO",
                      "DST",
                      "FPR",
                      "IBK",
                      "NFS",
                      "PER",
                      "PTA",
                      "SEI",
                      "SWB",
                      "TDA (Available prior to Sept. 2, 2023)",
                      "EGB",
                      "MLT",
                      "TIA",
                      "WFO"
                    ]
                  },
                  "account_number": {
                    "description": "The account number of the Account associated with this lot",
                    "type": "string"
                  },
                  "advisor_code": {
                    "description": "The advisor code of the Account associated with this lot",
                    "type": "string"
                  },
                  "reported_date": {
                    "description": "The date the custodian reports the lot",
                    "type": "string",
                    "format": "date-time"
                  },
                  "lot_identifier": {
                    "description": "The custodian reported lot identifier if applicable",
                    "type": "string"
                  },
                  "abs_current_quantity": {
                    "description": "The quantity of shares for the reported lot",
                    "type": "number",
                    "format": "float"
                  },
                  "abs_current_market_value": {
                    "description": "The market value of the shares for the reported lot",
                    "type": "number",
                    "format": "float"
                  },
                  "abs_cost_basis": {
                    "description": "The total cost of the shares for the reported lot",
                    "type": "number",
                    "format": "float"
                  },
                  "abs_adjusted_cost_basis": {
                    "description": "The total adjusted cost of the shares for the reported lot",
                    "type": "number",
                    "format": "float"
                  },
                  "unrealized_gain_loss": {
                    "description": "The current unrealized gains for the lot if reported",
                    "type": "number",
                    "format": "float"
                  },
                  "acquisition_date": {
                    "description": "The date that the corresponding lot was initially opened (even outside of the current account)",
                    "type": "string",
                    "format": "date-time"
                  },
                  "abs_acquisition_quantity": {
                    "description": "The original quantity of shares which opened the corresponding lot",
                    "type": "number",
                    "format": "float"
                  },
                  "direction": {
                    "description": "Flag to indicate if lot is Long or Short. Potential values, L = Long, S = Short",
                    "type": "string",
                    "enum": [
                      "L",
                      "S"
                    ]
                  },
                  "fully_known": {
                    "description": "True if the cost basis for this lot is fully known",
                    "type": "boolean"
                  },
                  "wash_sale": {
                    "description": "True if the lot is affected by a wash sale",
                    "type": "boolean"
                  },
                  "disallowed_loss_amount": {
                    "description": "True if the lot amount is disallowed",
                    "type": "boolean"
                  },
                  "certified": {
                    "description": "True if the cost basis is certified",
                    "type": "boolean"
                  },
                  "lot_selection_method": {
                    "description": "The lot selection method of the lot if reported by the source",
                    "type": "string"
                  },
                  "created_at_utc": {
                    "description": "Timestamp for when the record was created",
                    "type": "string",
                    "format": "date-time"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "An enveloped list of lots",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "type": "string",
                      "example": "list"
                    },
                    "has_next": {
                      "type": "boolean"
                    },
                    "has_previous": {
                      "type": "boolean"
                    },
                    "current_page": {
                      "type": "integer",
                      "example": 2
                    },
                    "total_pages": {
                      "type": "integer",
                      "example": 5
                    },
                    "page_size_limit": {
                      "type": "integer",
                      "example": 10000
                    },
                    "total_items": {
                      "type": "integer",
                      "example": 50
                    },
                    "data": {
                      "$ref": "#/components/schemas/SourceLots"
                    },
                    "related": {
                      "type": "object",
                      "properties": {
                        "accounts": {
                          "type": "object",
                          "properties": {
                            "account_id": {
                              "$ref": "#/components/schemas/Account"
                            }
                          }
                        },
                        "securities": {
                          "type": "object",
                          "properties": {
                            "security_id": {
                              "$ref": "#/components/schemas/Security"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/paths/~1jobs~1/get/responses/400"
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "limit": {
        "name": "pager.limit",
        "in": "query",
        "description": "Number of items to return per page",
        "required": false,
        "schema": {
          "type": "integer"
        },
        "example": 10000
      },
      "page": {
        "name": "pager.page",
        "in": "query",
        "description": "Current page number",
        "required": false,
        "schema": {
          "type": "integer"
        },
        "example": 1
      },
      "related": {
        "name": "related",
        "in": "query",
        "description": "Select data related to identifiers in the response data. When a related query parameter is selected, a new json field\nwill be populated in the response with a map of the relevant related data.\n\n** Example **\n\nGET `https://api.bridgeft.com/v2/{selectedResource}?related=accounts`\n\nResponse:\n\n```\n{\n  \"object\": \"object\"\n  \"has_next\": true,\n  \"has_previous\": false,\n  \"current_page\": 1,\n  \"total_pages\": 10,\n  \"page_size_limit\": 100,\n  \"has_next\": true,\n  \"data\": [\n    {\n      id: 1,\n      account_id\": \"SOMEACCOUNTID1\",\n      ...\n    },\n    {\n      id: 1,\n      account_id\": \"SOMEACCOUNTID2\",\n      ...\n    }\n  ]\n  \"accounts\": {\n    \"SOMEACCOUNTID1\": {\n      id: \"SOMEACCOUNTID1\",\n      ...\n    },\n    \"SOMEACCOUNTID2\": {\n      id: \"SOMEACCOUNTID2\",\n      ...\n    }\n  }\n}\n```\n\nPopulating the related query parameter will pull additional information in the request for supported related data without reaching out to an additional endpoint.\n\nSee dropdown for the supported related fields for the resource.\n",
        "required": false,
        "schema": {
          "type": "string",
          "example": "securities"
        }
      }
    },
    "schemas": {
      "Account": {
        "type": "object",
        "properties": {
          "id": {
            "title": "Object ID",
            "description": "Unique ID for this account object",
            "type": "integer"
          },
          "name": {
            "title": "Account name",
            "description": "Populated from custodian data",
            "type": "string"
          },
          "firm_id": {
            "title": "Firm Id",
            "description": "ID of the owning firm",
            "type": "integer"
          },
          "entity_id": {
            "title": "Entity id",
            "description": "See Entity ID Prefixes",
            "type": "string",
            "deprecated": true
          },
          "household_id": {
            "title": "Household Id",
            "description": "Household Id this account belongs to",
            "type": "integer"
          },
          "short_name": {
            "title": "Short name",
            "description": "The account short name or \"SNAM\"",
            "type": "string",
            "deprecated": true
          },
          "inception_date": {
            "title": "Inception date",
            "description": "Date of account inception, if applicable. May differ from opening date.",
            "type": "string",
            "format": "date-time"
          },
          "close_date": {
            "title": "Close date",
            "description": "Date the account was closed, if applicable",
            "type": "string",
            "format": "date-time",
            "deprecated": true
          },
          "status": {
            "title": "Status",
            "description": "Status of the account object. It can be funded, papered, closed or slate. Funded account is considered active account, Papered or Closed account is inactive, and Stale is unknown",
            "type": "string",
            "enum": [
              "funded",
              "papered",
              "closed",
              "stale"
            ],
            "deprecated": true
          },
          "benchmarks_ids": {
            "title": "Benchmark id list",
            "description": "List of ids for benchmarks associated with the account",
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "is_account": {
            "title": "Is account?",
            "description": "Is this entity an account? (Yes)",
            "type": "boolean"
          },
          "is_household": {
            "title": "Is household",
            "description": "Is this entity a household? (No)",
            "type": "boolean"
          },
          "number": {
            "title": "Account number",
            "description": "Account number",
            "type": "string"
          },
          "custodian": {
            "title": "Financial institution data source",
            "description": "Custodian the account data comes from. ALT=Altruist, APX=Apex Fintech Solutions, AXO=Axos Advisory Services, DST=DST Systems, FPR=Fidelity 401k/403b, IBK=Interactive Brokers, NFS=Fidelity Investments, PER=Pershing, PTA=Pontera, SEI=SEI Investments, SWB=Charles Schwab, EGB=Eaglebrook, MLT=Millenium Trust, TIA=TIAA Financial Services, WFO=Wells Fargo",
            "type": "string",
            "enum": [
              "ALT",
              "APX",
              "AXO",
              "DST",
              "FPR",
              "IBK",
              "NFS",
              "PER",
              "PTA",
              "SEI",
              "SWB",
              "EGB",
              "MLT",
              "TIA",
              "WFO"
            ]
          },
          "address_1": {
            "title": "Client address",
            "description": "First line address",
            "type": "string"
          },
          "address_2": {
            "title": "Client address",
            "description": "Second line address",
            "type": "string"
          },
          "address_3": {
            "title": "Client address",
            "description": "Third line address",
            "type": "string"
          },
          "city": {
            "title": "Client city",
            "description": "City of the account-holder",
            "type": "string"
          },
          "state": {
            "title": "Client state",
            "description": "State of the account-holder",
            "type": "string"
          },
          "zip_code": {
            "title": "Client zip code",
            "description": "Zip code of the account-holder",
            "type": "string"
          },
          "country": {
            "title": "Client country",
            "description": "Country of the account-holder",
            "type": "string"
          },
          "acct_type": {
            "title": "Account type",
            "description": "Type of account. Example, IRA Roth, 401k, etc.",
            "type": "string"
          },
          "is_tax_deferred": {
            "title": "Deferred tax account?",
            "description": "True if this account is tax deferrable. This data is typically provided by the financial institution",
            "type": "boolean"
          },
          "is_taxable": {
            "title": "Taxable account?",
            "description": "True if this account is taxable. This data is typically provided by the financial institution",
            "type": "boolean"
          },
          "payment_source": {
            "title": "Method of collecting fees for this account",
            "description": "C=billed at the custodian D=billed directly",
            "type": "string",
            "enum": [
              "C",
              "D"
            ]
          },
          "first_billable_date": {
            "title": "First billable date",
            "description": "The date at which this account begins accruing advisor fees",
            "type": "string",
            "format": "date-time"
          },
          "billing_splits_ids": {
            "title": "Billing splits id list",
            "description": "List of ids of splits associated with this account",
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "fee_structures_ids": {
            "title": "Fee structure id list",
            "description": "List of ids of fee structures associated with this account",
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "display_name": {
            "title": "Display name",
            "description": "Display name of the account",
            "type": "string"
          },
          "display_number": {
            "title": "Display number",
            "description": "Display number of the account",
            "type": "string"
          },
          "is_direct_billed": {
            "title": "Is direct billed?",
            "description": "Is this account directly billed?",
            "type": "boolean"
          },
          "is_custodian_billed": {
            "title": "Is custodain billed?",
            "description": "Is this account billed at the custodian level?",
            "type": "boolean"
          },
          "is_active": {
            "title": "Is active?",
            "description": "Is this an active account?",
            "type": "boolean",
            "deprecated": true
          },
          "is_closed": {
            "title": "Is closed?",
            "description": "Is this a closed account?",
            "type": "boolean",
            "deprecated": true
          },
          "first_cost_basis_date": {
            "title": "First cost basis date",
            "description": "First date when cost basis information is known for this account",
            "type": "string",
            "format": "date-time"
          },
          "last_cost_basis_date": {
            "title": "Last cost basis date",
            "description": "Most recent date when cost basis information is known for this account",
            "type": "string",
            "format": "date-time"
          },
          "first_positions_date": {
            "title": "First positions date",
            "description": "First date when positions information is known for this account",
            "type": "string",
            "format": "date"
          },
          "last_positions_date": {
            "title": "Last positions date",
            "description": "Most recent date when positions information is known for this account",
            "type": "string",
            "format": "date"
          },
          "first_quarantine_date": {
            "title": "First quarantine date",
            "description": "Earliest date at which this account was quarantined for data reconciliation, or null if it's not currently quarantined",
            "type": "string",
            "format": "date",
            "deprecated": true
          },
          "last_reporting_date": {
            "title": "Last reporting date",
            "description": "Lastest date when the reporting information was recorded for this account",
            "type": "string",
            "format": "date"
          },
          "first_transactions_date": {
            "title": "First transactions date",
            "description": "First date when transaction information was recorded for this account",
            "type": "string",
            "format": "date"
          },
          "last_transactions_date": {
            "title": "Last transactions date",
            "description": "Latest date when transaction information was recorded for this account",
            "type": "string",
            "format": "date"
          },
          "first_funded_date": {
            "title": "Fist funded date",
            "description": "Date when the account was first funded",
            "type": "string",
            "format": "date-time",
            "deprecated": true
          },
          "target_allocation_id": {
            "title": "Target allocation ID",
            "description": "Target allocation id associated with this account",
            "type": "integer"
          },
          "investment_model_id": {
            "title": "Investment model ID",
            "description": "Investment model id associated with this account",
            "type": "integer"
          },
          "required_cash": {
            "title": "Required cash",
            "description": "Required cash amount in dollars to be set aside for withdrawals",
            "type": "number"
          },
          "advisor_code": {
            "title": "Advisor code",
            "description": "[Deprecated] Please refer to the `advisor_codes` field. `advisor_code` will be removed in future versions.",
            "type": "string",
            "deprecated": true
          },
          "advisor_codes": {
            "title": "Advisor Codes",
            "description": "The list of Advisor Codes that the account is associated with.",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "buy_securities_ids": {
            "title": "Buy securities ids",
            "description": "Securities specifically to buy",
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "do_not_buy_securities_ids": {
            "title": "Do not buy securities ids",
            "description": "Securities specifically to not buy",
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "sell_securities_ids": {
            "title": "Sell securiteis ids",
            "description": "Securities specifically to sell",
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "do_not_sell_securities_ids": {
            "title": "Do not sell securities ids",
            "description": "Securities specifically to not sell",
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "notes": {
            "title": "Notes",
            "description": "General notes on account entered by user",
            "type": "string"
          },
          "unsupervised_securities_ids": {
            "title": "Unsupervised securities ids",
            "description": "Securities to be excluded in trading integrations (e.g. rebalancing calculations)",
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "required_cash_frequency": {
            "title": "Required cash frequency",
            "description": "Required cash frequency for this account object. M for monthly, Q for quarterly, O for one time",
            "type": "string",
            "enum": [
              "",
              "M",
              "Q",
              "O"
            ]
          },
          "first_performance_date": {
            "title": "First performance date",
            "description": "First performance date for this account",
            "type": "string",
            "format": "date-time"
          },
          "first_papered_date": {
            "title": "First papered date",
            "description": "Date when the account was first papered",
            "type": "string",
            "format": "date-time",
            "deprecated": true
          },
          "last_portfolio_data_date": {
            "title": "Last portfolio data date",
            "description": "Date for the last portfolio data for this account object",
            "type": "string",
            "format": "date-time"
          },
          "tax_id_token": {
            "title": "Tax ID Token",
            "description": "Tokenized representation of the account's owning tax ID.",
            "type": "string"
          },
          "is_pledged_account": {
            "title": "Is Pledged Account",
            "description": "Boolean that determines whether or not an account is a pledged account.",
            "type": "boolean"
          },
          "source_margin_indicator": {
            "title": "Source Margin Indicator",
            "description": "Raw margin account designation as received directly from the custodian. Values vary by custodian (e.g., True/False for SWB, \"1\"/\"R\"/\"T\"/\"Z\"/blank for NFS, \"Y\"/\"N\" for PER, \"Margin\"/\"Portfolio Margin\"/\"Cash\" for IBK).",
            "type": "string"
          },
          "restrictions": {
            "title": "Account Restrictions",
            "description": "List of restriction descriptions or restriction codes as provided by the custodian.",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "description": "The restriction code",
                  "type": "string"
                },
                "description": {
                  "description": "The restriction description",
                  "type": "string"
                }
              }
            }
          },
          "prime_brokerage_indicator": {
            "title": "Prime Brokerage Indicator",
            "description": "The prime brokerage indicator passed through from the custodian (if they provide it).\n\nPlease consulte the [data dictionary](https://docs.bridgeft.com/docs/data-dictionary-v26) for details about possible values from the custodian.\n",
            "type": "string"
          },
          "account_type_reported": {
            "title": "Account Type Reported",
            "description": "Raw account type passed through from custodians.",
            "type": "string"
          },
          "registration_type_reported": {
            "title": "Registration Type Reported",
            "description": "Raw registration type passed through from custodians.",
            "type": "string"
          },
          "registration_lines_reported": {
            "title": "Registration Lines Reported",
            "description": "Raw registration lines passed through from custodians.",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "created_at_utc": {
            "description": "Timestamp for when the record was created",
            "type": "string",
            "format": "date-time"
          },
          "updated_at_utc": {
            "description": "Timestamp for when the record was updated",
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "SourceLot": {
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "The unique resource id for the lot",
            "type": "integer"
          },
          "account_id": {
            "description": "The id of the Account associated with this lot",
            "type": "integer"
          },
          "security_id": {
            "description": "The id of the Security associated with this lot",
            "type": "integer"
          },
          "source_security_symbol": {
            "description": "The symbol of the corresponding security as reported by the source if applicable",
            "type": "string"
          },
          "source_security_cusip": {
            "description": "The cusip of the corresponding security as reported by the source if applicable",
            "type": "string"
          },
          "source": {
            "title": "Financial institution data source",
            "description": "Custodian or source the lot data comes from. ALT=Altruist, APX=Apex Fintech Solutions, AXO=Axos Advisory Services, DST=DST Systems, FPR=Fidelity 401k/403b, IBK=Interactive Brokers, NFS=Fidelity Investments, PER=Pershing, PTA=Pontera, SEI=SEI Investments, SWB=Charles Schwab, TDA=TD Ameritrade (Available prior to Sept. 2, 2023), EGB=Eaglebrook, MLT=Millenium Trust, TIA=TIAA Financial Services, WFO=Wells Fargo",
            "type": "string",
            "enum": [
              "ALT",
              "APX",
              "AXO",
              "DST",
              "FPR",
              "IBK",
              "NFS",
              "PER",
              "PTA",
              "SEI",
              "SWB",
              "TDA (Available prior to Sept. 2, 2023)",
              "EGB",
              "MLT",
              "TIA",
              "WFO"
            ]
          },
          "account_number": {
            "description": "The account number of the Account associated with this lot",
            "type": "string"
          },
          "feed_code": {
            "description": "The feed code of the Account associated with this lot",
            "type": "string"
          },
          "reported_date": {
            "description": "The date the custodian reports the lot",
            "type": "string",
            "format": "date-time"
          },
          "lot_identifier": {
            "description": "The custodian reported lot identifier if applicable",
            "type": "string"
          },
          "abs_current_units": {
            "description": "The quantity of shares for the reported lot",
            "type": "number",
            "format": "float"
          },
          "abs_current_value": {
            "description": "The market value of the shares for the reported lot using the source-provided price",
            "type": "number",
            "format": "float"
          },
          "abs_current_value_unit_price": {
            "description": "Prevailing price per unit of the security, as determined by the source provider",
            "type": "number",
            "format": "float"
          },
          "abs_current_value_reported": {
            "description": "Current market value as reported directly from source lots",
            "type": "number",
            "format": "float"
          },
          "abs_current_value_unit_price_reported": {
            "description": "Price as reported directly from source lots",
            "type": "number",
            "format": "float"
          },
          "abs_cost_basis": {
            "description": "The total cost of the shares for the reported lot",
            "type": "number",
            "format": "float"
          },
          "abs_adjusted_cost_basis": {
            "description": "The total adjusted cost of the shares for the reported lot",
            "type": "number",
            "format": "float"
          },
          "unrealized_gain_loss": {
            "description": "Difference between abs_current_value and abs_cost_basis. If either is null, this field will be null, but treated as zero for aggregating unrealized gain/loss",
            "type": "number",
            "format": "float"
          },
          "unrealized_gain_loss_reported": {
            "description": "The current unrealized gains for the lot if reported",
            "type": "number",
            "format": "float"
          },
          "realized_gain_loss_reported": {
            "description": "Realized gain/loss for partially closed lots as reported by the data source, or null if not provided",
            "type": "number",
            "format": "float"
          },
          "original_open_date": {
            "description": "The date that the corresponding lot was initially opened (even outside of the current account) if reported",
            "type": "string",
            "format": "date-time"
          },
          "abs_original_open_units": {
            "description": "The original quantity of shares which opened the corresponding lot, if reported",
            "type": "number",
            "format": "float"
          },
          "direction": {
            "description": "Flag to indicate if lot is Long or Short. Potential values, L = Long, S = Short",
            "type": "string",
            "enum": [
              "L",
              "S"
            ]
          },
          "cost_basis_fully_known": {
            "description": "True if the cost basis for this lot is fully known",
            "type": "boolean"
          },
          "cost_basis_fully_known_reported": {
            "description": "Source-provided determination of whether cost basis is known. Null if the source doesn't provide such indications of completed cost basis information",
            "type": "boolean"
          },
          "wash_sale": {
            "description": "True if the lot is affected by a wash sale",
            "type": "boolean"
          },
          "disallowed_loss_amount": {
            "description": "Lost amount that cannot be used for tax offset, if the lot is part of a wash sale violation",
            "type": "number",
            "format": "float"
          },
          "certified": {
            "description": "True if the cost basis is certified",
            "type": "boolean"
          },
          "lot_selection_method": {
            "description": "The lot selection method of the lot if reported by the source",
            "type": "string"
          },
          "original_data": {
            "description": "The raw data exactly as reported by the source with original field names",
            "type": "object",
            "deprecated": true
          },
          "created_at_utc": {
            "description": "Timestamp for when the record was created",
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "Security": {
        "type": "object",
        "properties": {
          "id": {
            "description": "The unique resource id for the Security",
            "type": "integer"
          },
          "cusip": {
            "description": "A unique nine-character code for the security",
            "type": "string"
          },
          "symbol": {
            "description": "The symbol used to represent the Security",
            "type": "string"
          },
          "description": {
            "description": "The description of the Security",
            "type": "string"
          },
          "master_asset_class": {
            "description": "Asset class associated with the security. EQ for Equity Asset Class, DT for Fixed Income Asset Class, CA for Cash Asset Class, CE for Cash Equivalent Asset Class, MX for Mixed Asset Class or Other Class, UC for Unclassified Asset Class, ETF for ETF Asset Class, CR for Crypto Asset Class, and empty string for Unknown Asset Class",
            "type": "string",
            "enum": [
              "EQ",
              "DT",
              "CA",
              "CE",
              "MX",
              "UC",
              "ETF",
              "CR"
            ]
          },
          "broad_code": {
            "description": "The broad code of the Security",
            "type": "string",
            "deprecated": true
          },
          "sic_code": {
            "description": "The sic code of the security",
            "type": "string"
          },
          "issue_type": {
            "description": "An internal mapping of the Security's issue code",
            "type": "string",
            "deprecated": true
          },
          "issue_type_code": {
            "description": "The Security's issue code",
            "type": "integer",
            "deprecated": true
          },
          "security_type": {
            "description": "The type of this Security. \"Alternative\" Includes structures products, MBS, CDO, etc. \"Option\" Includes options on equities and futures. \"Fund\" Includes a fund that is not a ETF of mutual fund.",
            "type": "string",
            "enum": [
              "Stock",
              "Bond",
              "Cash",
              "Cash Equivalent",
              "ETF",
              "Mutual Fund",
              "Alternative",
              "Option",
              "Fund",
              "Crypto",
              "Unknown"
            ]
          },
          "identifier": {
            "description": "The primary identifier for the Security",
            "type": "string"
          },
          "prefixed_identifier": {
            "description": "The primary identifier for the Security with a prefix indicating the identifier type. S for Listed Symbol, C for Custodian",
            "type": "string",
            "enum": [
              "S",
              "C"
            ]
          },
          "bond_rating": {
            "description": "Bond Rating of Bond provided by the custodian (currently only supported for Pershing Securities)",
            "type": "string"
          },
          "maturity_date": {
            "description": "Maturity Date of Bond provided by the custodian (currently only supported for Pershing Securities)",
            "type": "string",
            "format": "date-time"
          },
          "expiration_date": {
            "description": "Expiration Date of Options, Rights and Warrants provided by the custodian  (currently only supported for Pershing Securities)",
            "type": "string",
            "format": "date-time"
          },
          "created_at_utc": {
            "description": "Timestamp for when the record was created",
            "type": "string",
            "format": "date-time"
          },
          "updated_at_utc": {
            "description": "Timestamp for when the record was updated",
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string"
          },
          "validation_errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Bearer"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
````