---
title: "The last lines of an app’s output (stdout and stderr together)"
method: GET
path: "/api/computers/{id}/services/{serviceId}/logs"
tags: ["apps"]
---

# The last lines of an app’s output (stdout and stderr together)

`GET /api/computers/{id}/services/{serviceId}/logs`

## Request

- Base URL: `https://www.orgo.ai`
- URL: `https://www.orgo.ai/api/computers/{id}/services/{serviceId}/logs`
- Auth: HTTP bearer

## Path parameters

- `id` string, required
- `serviceId` string, uuid, required

## Query parameters

- `lines` integer

## Response `200`

{ id, name, lines, found, log }. found is false before the app first wrote anything.

- object
  - `id` string
  - `name` string
  - `lines` integer
  - `found` boolean
  - `log` string

## Other responses

- `404`: Not found on this computer.
- `409`: The computer is not running (COMPUTER_NOT_RUNNING).
- `429`: Over one of the account's rate limits (rate_limited): `limit` names it, `retry_after` and Retry-After say how many seconds to wait. Limits are per account (the workspace owner when the request acts on a computer or a workspace) and set by its plan (x-rate-limits).

## Changes

- **2026-10-30** `afb6f0ee1aac`: 1 info
  - added the non-success response with the status `429`
- **2026-10-18** `dcaee154d80e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/orgo/apis/orgo-api/changes/api/computers/:id/services/:serviceId/logs/get.md)

---

[API](https://skmtc.dev/orgo/apis/orgo-api.md) - [All operations](https://skmtc.dev/orgo/apis/orgo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/orgo/apis/orgo-api/revisions/e4c1e7379fa5?raw)
