---
title: "Server Logs"
description: "<p>Server logs capture runtime information from your deployed apps. These logs help you monitor app performance, debug runtime issues, and track server-side events for your Launch deployments.</p>"
url: "https://www.contentstack.com/docs/developers/apis/launch-api/server-logs"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-01-13"
---

# Server Logs

Server logs capture runtime information from your deployed apps. These logs help you monitor app performance, debug runtime issues, and track server-side events for your Launch deployments.

## Get Server Logs

### Get Server Logs

**GET** `/projects/{project_uid}/environments/{environment_uid}/deployments/{deployment_uid}/logs/server-logs`

The Get Server Logs request fetches the server logs of a specific deployment of an environment of your project in Launch using the project\_uid, environment\_uid, and deployment\_uid path parameters.

#### URL Parameters

- **project_uid** (required)
  Enter the project\_uid of the project where the environments belong.
- **environment_uid** (required)
  Enter the environment\_uid of the environment associated with your deployment.
- **deployment_uid** (required)
  Enter the deployment\_uid for the deployment whose server logs you want to retrieve.

#### Query Parameters

- **endTime** (required)
  Provide the ending time value in numeric string
- **startTime** (required)
  Provide the starting time value in numeric string

#### Headers

- **authorization** (optional)
  Use a bearer token to authenticate if you're not using the authtoken header. Format: Bearer . If provided, the organization\_uid header isn't required.
- **authtoken** (optional)
  Use an authentication token if the Authorization header isn't provided. \*\*Requires the organization\_uid header.\*\* When using authtoken authentication, you must explicitly provide the organization\_uid header. The organization\_uid cannot be derived from project\_uid for Launch REST APIs.
- **x-cs-api-version** (optional)
  Enter the API version. Default is 1.0
- **organization_uid** (optional)
  ⚠️ \*\*REQUIRED when using authtoken authentication\*\* - you must explicitly provide this header. Optional with Authorization Bearer token (organization\_uid can be derived from the token).

#### Sample Response

```json
{
  "serverLogs": [
    {
      "message": " ✓ Ready in 239ms\n",
      "timestamp": "2025-12-03T10:44:36.645Z",
      "source": "server-logs"
    },
    {
      "message": "   ▲ Next.js 15.3.1\n",
      "timestamp": "2025-12-03T10:44:43.181Z",
      "source": "server-logs"
    }
  ]
}
```