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

# Get Configuration Status

> Check whether a market is fully configured on-chain

Returns the setup status of the market's infrastructure contracts (liquidation router, insurance fund) and whether the stock token has authorized the market and router contracts.

## Path Parameters

<ParamField path="marketId" type="string" required>Market ID.</ParamField>

## Response Fields

<ResponseField name="data" type="object">
  <Expandable>
    <ResponseField name="liquidationConfigured" type="boolean">Liquidation router is set</ResponseField>
    <ResponseField name="insuranceFundConfigured" type="boolean">Insurance fund is set</ResponseField>
    <ResponseField name="routerAuthorized" type="boolean">Market is authorized on the router</ResponseField>
    <ResponseField name="fullyConfigured" type="boolean">All infrastructure and stock token authorizations complete</ResponseField>

    <ResponseField name="stockTokenAuthStatus" type="object">
      <Expandable>
        <ResponseField name="marketAuthorized" type="boolean">Market authorized on stock token</ResponseField>
        <ResponseField name="routerAuthorized" type="boolean">Router authorized on stock token</ResponseField>
        <ResponseField name="fullyAuthorized" type="boolean">Both authorizations complete</ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}/configuration-status" \
    -H "X-API-Key: trusset_your_key_here"
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "data": {
      "liquidationConfigured": true,
      "insuranceFundConfigured": true,
      "routerAuthorized": true,
      "fullyConfigured": true,
      "stockTokenAuthStatus": {
        "marketAuthorized": true,
        "routerAuthorized": true,
        "fullyAuthorized": true
      }
    }
  }
  ```
</ResponseExample>
