Freddie Mac Loan Import

Loan Import provides sellers and integrated technology providers the capability to create or modify loans, evaluate purchase eligibility, and provide decisions on representation and warranty relief through Loan Selling Advisor®.

Operations 2

POST /v1/loans/import Loan Import API #
POST /v1/loans/import-status Loan Import File Status API #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/loan-import"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

freddie-mac-loan-import-openapi.json Raw ↑
{
  "openapi" : "3.0.1",
  "info" : {
    "title" : "Loan Import API",
    "version" : "4.0.0"
  },
  "servers" : [ {
    "url" : "https://api-test.freddiemac.com/single-family/lsa"
  } ],
  "security" : [ {
    "bearerAuth" : [ ]
  } ],
  "paths" : {
    "/v1/loans/import" : {
      "post" : {
        "tags" : [ "Loan Import API" ],
        "summary" : "Loan Import API",
        "description" : "The request metadata must be included in the 'requestMetadataJson' field as a JSON object. Update the example JSON below to fit your scenario. \n\n **Example 1: Request Metadata for Seller for import and allocate an existing Loan to a Guarantor contract.**\n\n Please change the following fields to submit a valid request and “Try it out” \n\n 'sellerIdentifier', 'sellerOrganizationBranchIdentifier', 'investorContractIdentifier' \n ```json\n{\n  \"correlationIdentifier\": \"5234-1156-83456\",\n  \"sellerIdentifier\": \"999999\",\n  \"sellerOrganizationBranchIdentifier\": 999999,\n  \"counterPartyType\": \"Seller\",\n  \"overwriteExistingLoan\": true,\n  \"contractUPBLimitIndicator\": false,\n  \"useSellerLoanIdOnly\": false,\n  \"requestToEvaluateLoans\": false,\n  \"investorContractIdentifier\": 99999999\n}\n```\n\n **Example 2: Request Metadata for Seller for import, allocate and evaluate New Cash loan providing Contract number_in the file.**\n\n Please change the following fields to submit a valid request and “Try it out” \n\n 'sellerIdentifier', 'sellerOrganizationBranchIdentifier', 'pricingIdentifier' \n ```json\n{\n  \"correlationIdentifier\": \"1234-1126-83456\",\n  \"sellerIdentifier\": \"999999\",\n  \"sellerOrganizationBranchIdentifier\": 999999,\n  \"counterPartyType\": \"Seller\",\n  \"overwriteExistingLoan\": false,\n  \"contractUPBLimitIndicator\": true,\n  \"useSellerLoanIdOnly\": false,\n  \"pricingIdentifier\": \"M99999999\"\n}\n``` \n\n **Example 3: Request Metadata for Seller for import, allocate and evaluate new Cash Loan.**\n\n Please change the following fields to submit a valid request and “Try it out” \n\n 'sellerIdentifier', 'sellerOrganizationBranchIdentifier', 'investorContractIdentifier' \n ```json\n{\n  \"correlationIdentifier\": \"3234-1126-81456\",\n  \"sellerIdentifier\": \"999999\",\n  \"sellerOrganizationBranchIdentifier\": 999999,\n  \"counterPartyType\": \"Seller\",\n  \"overwriteExistingLoan\": false,\n  \"contractUPBLimitIndicator\": true,\n  \"useSellerLoanIdOnly\": false,\n  \"investorContractIdentifier\": 99999999\n}\n``` \n\n **Example 4: Request Metadata For Seller for Import and evaluate New_Unallocated Loan.**\n\n Please change the following fields to submit a valid request and “Try it out” \n\n 'sellerIdentifier', 'sellerOrganizationBranchIdentifier' \n ```json\n{\n  \"correlationIdentifier\": \"7234-1156-53456\",\n  \"sellerIdentifier\": \"999999\",\n  \"sellerOrganizationBranchIdentifier\": 999999,\n  \"counterPartyType\": \"Seller\",\n  \"overwriteExistingLoan\": false,\n  \"contractUPBLimitIndicator\": false,\n  \"useSellerLoanIdOnly\": false\n  }\n``` \n\n **Example 5: Request Metadata for Secondary Market Advisor [SMA] for Import, allocate and evaluate New loan to a Guarantor contract providing a Pool number in the request metadata.**\n\n Please change the following fields to submit a valid request and “Try it out” \n\n 'sellerIdentifier', 'sellerOrganizationBranchIdentifier','requestingPartyAccountIdentifier', 'pricingIdentifier', 'poolNumber' \n ```json\n{\n  \"correlationIdentifier\": \"9234-1196-53486\",\n  \"sellerIdentifier\": \"999999\",\n  \"sellerOrganizationBranchIdentifier\": 999999, \n  \"requestingPartyAccountIdentifier\": \"SMA999\",\n  \"counterPartyType\": \"SecondaryMarketAdvisor\",\n  \"overwriteExistingLoan\": false,\n  \"contractUPBLimitIndicator\": false,\n  \"useSellerLoanIdOnly\": false,\n  \"pricingIdentifier\": \"M99999999\", \n  \"poolNumber\": \"SA9999\"\n }\n```",
        "operationId" : "importLoanS2S",
        "parameters" : [ {
          "name" : "env",
          "in" : "header",
          "description" : "<p>Environment \n\n </p>",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "default" : "ProductionBaseline",
            "enum" : [ "ProductionBaseline", "Pre-Production" ]
          }
        }, {
          "name" : "X-LIS-VENDOR-IDENTIFIER",
          "in" : "header",
          "description" : "A unique identifier that identifies the vendor.",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "X-LIS-VENDOR-NAME",
          "in" : "header",
          "description" : "The vendor company name that identifies the vendor identifier.",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "X-LIS-VENDOR-SOFTWARE",
          "in" : "header",
          "description" : "The vendor software name utilized to submit the loan through the system.",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "X-LIS-VENDOR-SOFTWARE-VERSION",
          "in" : "header",
          "description" : "The vendor software version name utilized to submit the loan through the system.",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "required" : [ "file", "requestMetadataJson" ],
                "type" : "object",
                "properties" : {
                  "file" : {
                    "type" : "string",
                    "format" : "binary"
                  },
                  "requestMetadataJson" : {
                    "$ref" : "#/components/schemas/LoanImportRequest"
                  }
                }
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/LoanImportResponse"
                },
                "examples" : {
                  "ImportLoanResponse" : {
                    "$ref" : "#/components/examples/ImportLoanResponse"
                  }
                }
              }
            }
          },
          "400" : {
            "description" : "<b>Bad Request</b> \r\n\n <font size='1' color='black'><b>Error codes & details</b></font> \r\n\n <B>400.001</B> SellerIdentifier Required \r\n\n <B>400.002</B> SellerIdentifier Invalid Request Type. \r\n\n <B>400.003</B> FileIdentifier Required \r\n\n <B>400.004</B> FileIdentifier Invalid Request Type.   \r\n\n <B>400.005</B> SellerOrganizationBranchIdentifier Required \r\n\n <B>400.006</B> CorrelationIdentifier Required \r\n\n <B>400.007</B> CorrelationIdentifier Invalid Data Type. \r\n\n <B>400.008</B> PoolNumber Invalid Request Type. \r\n\n <B>400.009</B> Invalid PoolNumber Response\r\n\n <B>400.010</B> ContractUPBLimitIndicator Required \r\n\n ",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/LoanImportFileStatusRequest"
                },
                "examples" : {
                  "SellerIdentifierRequiredResponse" : {
                    "$ref" : "#/components/examples/SellerIdentifierRequiredResponse"
                  },
                  "SellerIdentifierInvalidRequestTypeResponse" : {
                    "$ref" : "#/components/examples/SellerIdentifierInvalidRequestTypeResponse"
                  },
                  "FileIdentifierRequiredResponse" : {
                    "$ref" : "#/components/examples/FileIdentifierRequiredResponse"
                  },
                  "FileIdentifierInvalidRequestTypeResponse" : {
                    "$ref" : "#/components/examples/FileIdentifierInvalidRequestTypeResponse"
                  },
                  "SellerOrganizationBranchIdentifierRequiredResponse" : {
                    "$ref" : "#/components/examples/SellerOrganizationBranchIdentifierRequiredResponse"
                  },
                  "CorrelationIdentifierRequiredResponse" : {
                    "$ref" : "#/components/examples/CorrelationIdentifierRequiredResponse"
                  },
                  "CorrelationIdentifierInvalidDataTypeResponse" : {
                    "$ref" : "#/components/examples/CorrelationIdentifierInvalidDataTypeResponse"
                  },
                  "PoolNumberInvalidRequestTypeResponse" : {
                    "$ref" : "#/components/examples/PoolNumberInvalidRequestTypeResponse"
                  },
                  "InvalidPoolNumberResponse" : {
                    "$ref" : "#/components/examples/InvalidPoolNumberResponse"
                  },
                  "ContractUPBLimitIndicatorRequiredResponse" : {
                    "$ref" : "#/components/examples/ContractUPBLimitIndicatorRequiredResponse"
                  }
                }
              }
            }
          },
          "401" : {
            "description" : "<b>Unauthorized</b> \r\n\n <font size='1' color='black'><b>Error codes & details </b></font> \r\n\n <B>401</B> Rejected by policy",
            "content" : {
              "application/json" : {
                "examples" : {
                  "ImportErrorResponse401" : {
                    "$ref" : "#/components/examples/ImportErrorResponse401"
                  }
                }
              }
            }
          },
          "403" : {
            "description" : "<b>The user does not have the permission to access the function</b> \r\n\n <font size='1' color='black'><b>Error codes & details </b></font> \r\n\n <B>403</B> Rejected by policy",
            "content" : {
              "application/json" : {
                "examples" : {
                  "ImportErrorResponse403" : {
                    "$ref" : "#/components/examples/ImportErrorResponse403"
                  }
                }
              }
            }
          },
          "500" : {
            "description" : "<p><strong>Internal Server Error</strong></p>\n <p><small><small>Error codes &amp; details</small></small></p> <ul><strong>500:</strong> An application error has occurred. Please call 1-800-FREDDIE to report this problem. </ul>",
            "content" : {
              "application/json" : {
                "examples" : {
                  "FileImportStatusInternalErrorResponse" : {
                    "$ref" : "#/components/examples/FileImportStatusInternalErrorResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/loans/import-status" : {
      "post" : {
        "tags" : [ "Loan Import API" ],
        "summary" : "Loan Import File Status API",
        "operationId" : "importLoanS2SStatus",
        "parameters" : [ {
          "name" : "env",
          "in" : "header",
          "description" : "<p>Environment \n\n </p>",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "default" : "ProductionBaseline",
            "enum" : [ "ProductionBaseline", "Pre-Production" ]
          }
        }, {
          "name" : "X-LIS-VENDOR-IDENTIFIER",
          "in" : "header",
          "description" : "A unique identifier that identifies the vendor.",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "X-LIS-VENDOR-NAME",
          "in" : "header",
          "description" : "The vendor company name that identifies the vendor identifier.",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "X-LIS-VENDOR-SOFTWARE",
          "in" : "header",
          "description" : "The vendor software name utilized to submit the loan through the system.",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "X-LIS-VENDOR-SOFTWARE-VERSION",
          "in" : "header",
          "description" : "The vendor software version name utilized to submit the loan through the system.",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/LoanImportFileStatusRequest"
              },
              "examples" : {
                "LoanImportFileStatusRequestForSeller" : {
                  "$ref" : "#/components/examples/LoanImportFileStatusRequestForSeller"
                },
                "LoanImportFileStatusRequestForSMA" : {
                  "$ref" : "#/components/examples/LoanImportFileStatusRequestForSMA"
                }
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/LoanImportFileStatusResponse"
                },
                "examples" : {
                  "LoanImportFileStatusReponseWithoutErrors" : {
                    "$ref" : "#/components/examples/LoanImportFileStatusReponseWithoutErrors"
                  },
                  "LoanImportFileStatusIntermediateResponse" : {
                    "$ref" : "#/components/examples/LoanImportFileStatusIntermediateResponse"
                  },
                  "LoanImportFileStatusReponseWithErrors" : {
                    "$ref" : "#/components/examples/LoanImportFileStatusReponseWithErrors"
                  }
                }
              }
            }
          },
          "400" : {
            "description" : "<b>Bad Request</b> \r\n\n <font size='1' color='black'><b>Error codes & details</b></font> \r\n\n <B>400.001</B> SellerIdentifier Required \r\n\n <B>400.002</B> SellerIdentifier Invalid Request Type. \r\n\n<B>400.003</B> FileIdentifier Required \r\n\n <B>400.004</B> FileIdentifier Invalid Request Type.  \r\n\n <B>400.005</B>  SellerOrganizationBranchIdentifier Required \r\n\n <B>400.006</B>  CorrelationIdentifier Required \r\n\n <B>400.007</B>  CorrelationIdentifier Invalid Data Type. \r\n\n",
            "content" : {
              "application/json" : {
                "examples" : {
                  "SellerIdentifierRequiredResponse" : {
                    "$ref" : "#/components/examples/SellerIdentifierRequiredResponse"
                  },
                  "SellerIdentifierInvalidRequestTypeResponse" : {
                    "$ref" : "#/components/examples/SellerIdentifierInvalidRequestTypeResponse"
                  },
                  "FileIdentifierRequiredResponse" : {
                    "$ref" : "#/components/examples/FileIdentifierRequiredResponse"
                  },
                  "FileIdentifierInvalidRequestTypeResponse" : {
                    "$ref" : "#/components/examples/FileIdentifierInvalidRequestTypeResponse"
                  },
                  "SellerOrganizationBranchIdentifierRequiredResponse" : {
                    "$ref" : "#/components/examples/SellerOrganizationBranchIdentifierRequiredResponse"
                  },
                  "CorrelationIdentifierRequiredResponse" : {
                    "$ref" : "#/components/examples/CorrelationIdentifierRequiredResponse"
                  },
                  "CorrelationIdentifierInvalidDataTypeResponse" : {
                    "$ref" : "#/components/examples/CorrelationIdentifierInvalidDataTypeResponse"
                  }
                }
              }
            }
          },
          "401" : {
            "description" : "<b>Unauthorized</b> \r\n\n <font size='1' color='black'><b>Error codes & details </b></font> \r\n\n <B>401</B> Rejected by policy",
            "content" : {
              "application/json" : {
                "examples" : {
                  "ImportErrorResponse401" : {
                    "$ref" : "#/components/examples/ImportErrorResponse401"
                  }
                }
              }
            }
          },
          "403" : {
            "description" : "<b>The user does not have the permission to access the function</b> \r\n\n <font size='1' color='black'><b>Error codes & details </b></font> \r\n\n <B>403</B> Rejected by policy",
            "content" : {
              "application/json" : {
                "examples" : {
                  "ImportErrorResponse403" : {
                    "$ref" : "#/components/examples/ImportErrorResponse403"
                  }
                }
              }
            }
          },
          "500" : {
            "description" : "<p><strong>Internal Server Error</strong></p>\n <p><small><small>Error codes &amp; details</small></small></p> <ul><strong>500:</strong> An application error has occurred. Please call 1-800-FREDDIE to report this problem. </ul>",
            "content" : {
              "application/json" : {
                "examples" : {
                  "FileImportStatusInternalErrorResponse" : {
                    "$ref" : "#/components/examples/FileImportStatusInternalErrorResponse"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components" : {
    "schemas" : {
      "LoanImportRequest" : {
        "description" : "This is the metadata for Loan Import processing.",
        "required" : [ "correlationIdentifier", "sellerIdentifier", "sellerOrganizationBranchIdentifier", "counterPartyType", "overwriteExistingLoan", "contractUPBLimitIndicator", "useSellerLoanIdOnly" ],
        "type" : "object",
        "properties" : {
          "correlationIdentifier" : {
            "type" : "string",
            "description" : "The unique identifier that is provided by the Seller or Secondary Market Advisor for each request.",
            "example" : "9999"
          },
          "sellerIdentifier" : {
            "maxLength" : 6,
            "type" : "string",
            "description" : "The unique identifier assigned to a party, which may be an individual, a counterparty, or a related organization.",
            "example" : "999999"
          },
          "sellerOrganizationBranchIdentifier" : {
            "type" : "integer",
            "description" : "The unique identifier assigned for an organization unit.",
            "example" : 999999
          },
          "requestingPartyAccountIdentifier" : {
            "type" : "string",
            "description" : "The unique identifier assigned to a party, which may be an individual or a counterparty.",
            "example" : "SMA999"
          },
          "counterPartyType" : {
            "type" : "string",
            "description" : "A discrete set of values that specifies the different roles that a counterparty will perform in relationship with Freddie Mac.",
            "example" : "SecondaryMarketAdvisor"
          },
          "overwriteExistingLoan" : {
            "type" : "boolean",
            "description" : "Indicator to allow loans to be overwritten during modification.",
            "example" : true
          },
          "contractUPBLimitIndicator" : {
            "type" : "boolean",
            "description" : "Indicator to provide an error message when the total Unpaid Principal Balance Amount of the loans being allocated to a Cash Contract exceeds the Contract Amount.",
            "example" : false
          },
          "useSellerLoanIdOnly" : {
            "type" : "boolean",
            "description" : "Indicator to use seller loan identifier as the loan identifier to determine loan's uniqueness during creation or modification of a loan.",
            "example" : false
          },
          "requestToEvaluateLoans" : {
            "description" : "Indicator to request to evaluate loans during creation or modification of a loan.",
            "type" : "boolean",
            "example" : false
          },
          "pricingIdentifier" : {
            "type" : "string",
            "description" : "A unique identification assigned to an entity (e.g., Seller, Seller Family) or contracting vehicle (e.g., MA, MC).",
            "example" : "M99999999"
          },
          "investorContractIdentifier" : {
            "type" : "integer",
            "description" : "A unique identifier for a group of loans identified as part of a cash pool or a security pool.",
            "example" : 99999999
          },
          "poolNumber" : {
            "type" : "string",
            "description" : "The unique designation assigned to the security by the issuer.",
            "example" : "SA9999"
          }
        }
      },
      "LoanImportResponse" : {
        "description" : "The Import loan file status results details.",
        "required" : [ "estimatedTimeToRetrieveImportResultsInSecs", "fileIdentifier", "fileName", "fileStatus", "sellerIdentifier" ],
        "type" : "object",
        "properties" : {
          "responseDetails" : {
            "type" : "object",
            "properties" : {
              "fileStatus" : {
                "maxLength" : 30,
                "type" : "string",
                "description" : "The status of the import loan file.",
                "example" : "InProgress"
              },
              "fileIdentifier" : {
                "type" : "integer",
                "description" : "The file identifier for the import loan file.",
                "example" : 38587
              },
              "sellerIdentifier" : {
                "maxLength" : 6,
                "type" : "string",
                "description" : "The unique identifier assigned to a party, which may be an individual, a counterparty, or a related organization.",
                "example" : "999999"
              },
              "fileName" : {
                "maxLength" : 130,
                "type" : "string",
                "description" : "The name of the import loan file.",
                "example" : "3H49Loans_ImpErr_ProdErr_ImpWrng 3Loans.xml"
              },
              "estimatedTimeToRetrieveImportResultsInSecs" : {
                "type" : "integer",
                "description" : "The estimated time, in seconds, to retrieve the import results.",
                "example" : 15
              },
              "errors" : {
                "type" : "array",
                "items" : {
                  "properties" : {
                    "errorCode" : {
                      "type" : "string",
                      "description" : "A unique code value associated with the error message.",
                      "example" : "LI0019"
                    },
                    "errorMessage" : {
                      "type" : "string",
                      "description" : "The error message corresponding to the error code sent.",
                      "example" : "The value entered for the Financed Unit Count is not a valid value. Please correct the value to a number between 1 and 4 and resubmit the loan."
                    },
                    "errorType" : {
                      "type" : "string",
                      "description" : "The type of error triggered such as Import, Product, Allocation, Evaluation and Representation and Warranty Relief.",
                      "example" : "ImportError"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "LoanImportFileStatusRequest" : {
        "description" : "This is the request metadata for Loan Import Status processing.",
        "required" : [ "correlationIdentifier", "sellerIdentifier", "sellerOrganizationBranchIdentifier", "counterPartyType", "fileIdentifier" ],
        "type" : "object",
        "properties" : {
          "correlationIdentifier" : {
            "type" : "string",
            "description" : "The unique identifier that is provided by the Seller or Secondary Market Advisor for each request.",
            "example" : "9999"
          },
          "sellerIdentifier" : {
            "maxLength" : 6,
            "type" : "string",
            "description" : "The unique identifier assigned to a party,  which may be an individual, a counterparty, or a related organization.",
            "example" : "999999"
          },
          "sellerOrganizationBranchIdentifier" : {
            "type" : "integer",
            "description" : "The unique identifier assigned for an organization unit.",
            "example" : 999999
          },
          "requestingPartyAccountIdentifier" : {
            "type" : "string",
            "description" : "The unique identifier assigned to a party, which may be an individual or a counterparty.",
            "example" : "SMA999"
          },
          "counterPartyType" : {
            "type" : "string",
            "description" : "A discrete set of values that specifies the different roles that a counterparty will perform in relationship with Freddie Mac.",
            "example" : "Seller"
          },
          "fileIdentifier" : {
            "type" : "integer",
            "description" : "The file identifier for the import loan file.",
            "example" : 9999
          }
        }
      },
      "LoanImportFileStatusResponse" : {
        "description" : "The Import loan file status results details.",
        "required" : [ "fileCreationTime", "fileIdentifier", "fileName", "fileStatus", "organizationBranchIdentifier", "requestToEvaluateLoans", "sellerIdentifier", "totalCurrentUPB", "totalLoans", "totalLoansProcessed", "userIdentifier" ],
        "type" : "object",
        "properties" : {
          "fileStatusResultsResponse" : {
            "type" : "array",
            "items" : {
              "properties" : {
                "fileIdentifier" : {
                  "description" : "The file identifier for the import loan file.",
                  "type" : "integer",
                  "format" : "int64",
                  "example" : 99999
                },
                "userIdentifier" : {
                  "description" : "The unique identifier assigned for a user.",
                  "type" : "string",
                  "example" : "FREDDIE_ALLROLE10"
                },
                "fileName" : {
                  "description" : "The name of the import loan file.",
                  "maxLength" : 130,
                  "type" : "string",
                  "example" : "Loan_Cash_Retained_SIT44_New_2025-06-24 112158_000250_147357.xml"
                },
                "fileStatus" : {
                  "description" : "The status of the import loan file.",
                  "type" : "string",
                  "maxLength" : 30,
                  "example" : "InProgress, Error, Completed"
                },
                "fileCreationTime" : {
                  "description" : "The date and time the import loan file was imported.",
                  "type" : "string",
                  "example" : "2025-09-19 10:40 AM"
                },
                "sellerIdentifier" : {
                  "description" : "The unique identifier assigned to a party, which may be an individual, a counterparty, or a related organization.",
                  "maxLength" : 6,
                  "type" : "string",
                  "example" : "999999"
                },
                "organizationBranchIdentifier" : {
                  "description" : "The unique identifier assigned for an organization unit.",
                  "type" : "integer",
                  "format" : "int64",
                  "example" : 999999
                },
                "totalLoans" : {
                  "description" : "The total count of loans identified in the import loan file.",
                  "type" : "integer",
                  "format" : "int32",
                  "example" : 2
                },
                "totalLoansProcessed" : {
                  "description" : "The total count of loans that were successfully processed.",
                  "type" : "integer",
                  "format" : "int32",
                  "example" : 2
                },
                "totalCurrentUPB" : {
                  "description" : "The total Current UPB of loans that were successfully created and/or modified.",
                  "type" : "number",
                  "format" : "double",
                  "example" : 489000
                },
                "totalLoansWithErrors" : {
                  "description" : "The total count of loans that have import errors.",
                  "type" : "integer",
                  "format" : "int32",
                  "example" : 1
                },
                "totalCurrentUPBOfLoansWithImportErrors" : {
                  "description" : "The total Current UPB of loans that have import errors.",
                  "type" : "number",
                  "format" : "double",
                  "example" : 244500
                },
                "totalCurrentUPBOfLoansWithProductErrors" : {
                  "description" : "The total Current UPB of loans that have product errors.",
                  "type" : "number",
                  "format" : "double",
                  "example" : 244500
                },
                "totalCurrentUPBOfLoansWithImportWarnings" : {
                  "description" : "The total Current UPB of loans that have import warnings.",
                  "type" : "number",
                  "format" : "double",
                  "example" : 244500
                },
                "totalLoansWithProductErrors" : {
                  "description" : "The total count of loans that have product errors.",
                  "type" : "integer",
                  "format" : "int32",
                  "example" : 1
                },
                "totalLoansWithProductLabelled" : {
                  "description" : "The total count of loans that were successfully labeled to a Loan Reference Product Label.",
                  "type" : "integer",
                  "format" : "int32",
                  "example" : 1
                },
                "totalLoansWithImportWarnings" : {
                  "description" : "The total count of loans that have import warnings.",
                  "type" : "integer",
                  "format" : "int32",
                  "example" : 1
                },
                "totalLoansWithProductAndImportWarnings" : {
                  "description" : "The total count of loans that have both product errors and import warnings.",
                  "type" : "integer",
                  "format" : "int32",
                  "example" : 1
                },
                "totalLoansWithEvaluationErrors" : {
                  "description" : "The total count of loans that have critical evaluation errors.",
                  "type" : "integer",
                  "format" : "int32",
                  "example" : 1
                },
                "totalLoansWithEvaluationWarnings" : {
                  "description" : "The total count of loans imported that have evaluation warnings.",
                  "type" : "integer",
                  "format" : "int32",
                  "example" : 1
                },
                "totalLoansNotEligibleForRNWAssetRelief" : {
                  "description" : "The total count of loans imported that are not eligible for Representation and Warranty Asset Relief.",
                  "type" : "integer",
                  "format" : "int32",
                  "example" : 1
                },
                "totalLoansNotEligibleForRNWCollateralRelief" : {
                  "description" : "The total count of loans imported that are not eligible for Representation and Warranty Collateral Relief."

# --- truncated at 32 KB (76 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/freddie-mac/refs/heads/main/openapi/freddie-mac-loan-import-openapi.json