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

# Get Application Status

> Collect status information about your application.

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  The API key for your account. You can find this in your [account settings](https://squarecloud.app/en/account/security).
</ParamField>

### Parameters

<ParamField path="app_id" type="string" placeholder="Application ID" required>
  The ID of the application. You can find this in the URL of your application's dashboard.
</ParamField>

<ParamField path="rawData" type="boolean" placeholder="true or false">
  If you want raw data. True, returns the values in bytes.
</ParamField>

### Response

<ResponseField name="status" type="string">
  Indicates whether the call was successful.. `success` if successful, `error` if not.
</ResponseField>

<ResponseField name="response" type="object">
  The contents of the response.

  <Expandable title="Toggle object">
    <ResponseField name="cpu" type="string">
      The CPU usage of the application.
    </ResponseField>

    <ResponseField name="ram" type="string">
      The RAM usage of the application.
    </ResponseField>

    <ResponseField name="status" type="string">
      The status of the application.
    </ResponseField>

    <ResponseField name="running" type="boolean">
      Indicates whether the application is currently running.
    </ResponseField>

    <ResponseField name="storage" type="string">
      The storage used by the application.
    </ResponseField>

    <ResponseField name="network" type="object">
      <Expandable title="Toggle object">
        <ResponseField name="total" type="string">
          The total network usage of the application.
        </ResponseField>

        <ResponseField name="now" type="string">
          The current network usage of the application.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="uptime" type="number">
      The uptime of the application in milliseconds.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
      "status": "success",
      "response": {
          "cpu": "0.01%",
          "ram": "31.79",
          "status": "running",
          "running": true,
          "storage": "2.72MB",
          "network": {
              "total": "602 KB ↑ 134 KB ↓",
              "now": "14 KB ↑ 3.3 KB ↓"
          },
          "uptime": 1662927833666
      }
  }
  ```
</ResponseExample>
