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

# Application Details

> Retrieves detailed information about an application by its ID.

<ParamField path="id" type="string" required>
  The application ID to retrieve details. If the application belongs to a workspace, include the workspace ID in the format `appId-workspaceId`.
</ParamField>

### Response

<ResponseField name="response" type="object">
  The application details.

  <Expandable title="Toggle object">
    <ResponseField name="id" type="string">
      The application ID.
    </ResponseField>

    <ResponseField name="cluster" type="integer">
      The application cluster ID.
    </ResponseField>

    <ResponseField name="type" type="integer">
      The application type.
    </ResponseField>

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

    <ResponseField name="description" type="string">
      The application description.
    </ResponseField>

    <ResponseField name="owner_id" type="string">
      The application owner ID.
    </ResponseField>

    <ResponseField name="owner_plan_id" type="integer">
      The owner's plan ID.
    </ResponseField>

    <ResponseField name="language" type="string">
      The application programming language (e.g., `javascript`).
    </ResponseField>

    <ResponseField name="ram" type="integer">
      The application RAM in MB.
    </ResponseField>

    <ResponseField name="status" type="string">
      The application status (e.g., `up`).
    </ResponseField>

    <ResponseField name="subdomain" type="string | null">
      The application subdomain, if applicable.
    </ResponseField>

    <ResponseField name="custom_domain" type="string | null">
      The custom domain of the application, if applicable.
    </ResponseField>

    <ResponseField name="last_snapshot" type="string | null" format="date-time">
      The timestamp of the application's last snapshot.
    </ResponseField>

    <ResponseField name="main_file" type="string">
      The main file of the application.
    </ResponseField>

    <ResponseField name="version" type="string">
      The runtime version (e.g., `recommended` or `latest`).
    </ResponseField>

    <ResponseField name="auto_restart" type="boolean">
      Whether the application automatically restarts on failure.
    </ResponseField>

    <ResponseField name="start_command" type="string | null">
      The startup command for the application, if specified.
    </ResponseField>

    <ResponseField name="use_credits" type="boolean">
      Whether the application uses credits.
    </ResponseField>

    <ResponseField name="credits_used" type="number">
      The amount of credits used by the application.
    </ResponseField>

    <ResponseField name="offline_since" type="string | null" format="date-time">
      The timestamp since the application went offline, if applicable.
    </ResponseField>

    <ResponseField name="created_at" type="string" format="date-time">
      The timestamp when the application was created.
    </ResponseField>

    <ResponseField name="updated_at" type="string" format="date-time">
      The timestamp when the application was last updated.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "response": {
      "id": "app-abc123def456",
      "cluster": 1,
      "type": 1,
      "name": "API Simples",
      "description": "I have a description :)",
      "owner_id": "user-993591427428790342",
      "owner_plan_id": 1,
      "language": "javascript",
      "ram": 128,
      "status": "up",
      "subdomain": "myapp.vertraweb.app",
      "custom_domain": null,
      "last_snapshot": "2026-03-09T15:51:47.234Z",
      "main_file": "index.js",
      "version": "recommended",
      "auto_restart": true,
      "start_command": "node index.js",
      "use_credits": false,
      "credits_used": 0,
      "offline_since": null,
      "created_at": "2026-03-09T15:51:47.234Z",
      "updated_at": "2026-03-20T15:06:41.449Z"
    }
  }
  ```
</ResponseExample>

### Error Responses

<ResponseField name="code" type="string">
  The error code indicating the reason for the failure. Possible values:

  * `UNAUTHORIZED`: The user is not authenticated or does not have sufficient permissions.
  * `APP_NOT_FOUND`: The specified application does not exist.
</ResponseField>

<ResponseField name="message" type="string">
  A descriptive message providing additional details about the error.
</ResponseField>

<ResponseExample>
  ```json Error Response (404) theme={null}
  {
    "code": "APP_NOT_FOUND"
  }
  ```

  ```json Error Response (403) theme={null}
  {
    "code": "UNAUTHORIZED"
  }
  ```
</ResponseExample>
