---
title: "Get a build's activity"
method: GET
path: "/v1/jobs/{id}/activity"
tags: ["jobs"]
---

# Get a build's activity

`GET /v1/jobs/{id}/activity`

## Request

- Base URL: `https://api.pomerado.ai`
- URL: `https://api.pomerado.ai/v1/jobs/{id}/activity`
- Auth: HTTP bearer

Returns what a build did, one entry per step in time order, each in the stage it happened in: the stages it went through, the first page it opened, its sign-in steps, its steps on the website, its example and test runs, a move to another connection, the questions it asked you and how it ended.

- Business accounts only. You read the activity of a build whose job you can read with GET /v1/jobs/{id}.
- An entry never holds what was typed to sign in, a code, an answer, a question's words, a path or a URL.
- label says what a step was allowed to do on the website: read, write or sign_in. result says how a step went, when it has one.
- Entries from the build's records are kept 90 days.

## Path parameters

- `id` string, required

## Response `200`

The build's activity

- BuildActivity
  - `job_id` string, required
  - `entries` object[], required
    - `at` string, required: When it happened, an ISO 8601 UTC time
    - `stage` 'queued' | 'checking_login' | 'exploring' | 'building' | 'publishing', required: The build stage it happened in
    - `kind` 'stage' | 'queued' | 'worker' | 'opened' | 'sign_in' | 'browse' | 'write' | 'example' | 'test' | 'blocked' | 'connection' | 'question' | 'answer' | 'outcome', required: stage: a stage started. queued: the build was accepted. worker: another worker continued it. opened: the first page it opened. sign_in: a sign-in step. browse: steps that only read the site. write: a step that changes the site. example: a run of your example. test: a test run. blocked: the site blocked a test browser. connection: it tried another connection or kind of browser. question and answer: a question it asked you, and your answer. outcome: how the build ended
    - `text` string, required: What happened, in a sentence
    - `label` 'read' | 'write' | 'sign_in': What the step was allowed to do on the website: read, write or sign_in
    - `result` 'passed' | 'failed': How it went, when it has a result
  - `incomplete` boolean, required: Some entries are missing because a record could not be read yet. Read it again later for any that can be read then
  - `truncated` boolean, required: The build has more records than one read takes, so some of its earliest entries are left out

## Other responses

- `400`: invalid_request
- `401`: unauthorized, reauthentication_required
- `403`: business_account_required, forbidden
- `404`: not_found
- `500`: internal_error
- `503`: temporarily_unavailable

---

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