---
search:
  tags:
    - Observability
    - GET
seo:
  description: >-
    text/event-stream, the live counterpart of GET… Reference for the GET
    /v1/apps/{project}/invocations/tail endpoint in the Sproutboat Cloud API.
sidebar:
  label: Stream a running app's runs live, one per request
  badge: GET
title: Stream a running app's runs live, one per request
type: openapi-operation
---
`text/event-stream`, the live counterpart of `GET /v1/apps/{project}/invocations`. Each `data:` line is one JSON object with a `type`:

- `ready`, once, first.
- `invocation`, with an `invocation` object (the same shape as in the list) when a run finishes. It carries the console lines and the error that came with
  it, matched by order. `time` is the host's time when it finished. Lines no run claims within about 2 seconds arrive on their own as a `system`
  invocation. A request that runs longer than that can therefore show its early lines apart from it.
- `dropped`, `closed` and the `: keepalive` comment: as in `GET /v1/apps/{project}/tail`. The viewer limits, the 10 minute session and the rate
  cap (100 invocations a second after the filters) are the same, and share the same slots.

`GET /v1/apps/{project}/tail` is unchanged: the Wrangler-shaped events `sproutboat tail` reads. Query strings and secret values are removed as in the list.

`GET /v1/apps/{project}/invocations/tail`
