---
title: "Reads what is online"
method: GET
path: "/lambdas/{privateKey}/deployment"
tags: ["Deployment"]
---

# Reads what is online

`GET /lambdas/{privateKey}/deployment`

## Request

- Base URL: `https://genhttp.dev/api/v1`
- URL: `https://genhttp.dev/api/v1/lambdas/{privateKey}/deployment`
- Auth: none declared

Which version, since when, and until when it stays online unless it is used.

## Path parameters

- `privateKey` string, required

## Response `200`

What is online

- DeploymentResponse: What is online, and for how long.
  - `Deployed` boolean: Whether a version is online
  - `Version` integer, nullable: The version that is online; absent while none is
  - `DeployedAt` string, date-time, nullable: When it went online
  - `DeployedUntil` string, date-time, nullable: When it is taken offline unless it is visited or edited before then; absent for a tier that keeps it online

## Other responses

- `204`: A response containing no body
- `404`: No lambda has this editor key. A key that never existed and the key of a deleted lambda are answered alike.

---

[API](https://skmtc.dev/genhttp/apis/genhttp-lambda-api.md) · [All operations](https://skmtc.dev/genhttp/apis/genhttp-lambda-api/llms.txt) · [OpenAPI document](https://skmtc.dev/genhttp/apis/genhttp-lambda-api/revisions/8b36699e03df?raw)
