> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pomerado.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a build's activity

> 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.

<Accordion title="Details">
  * 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.

  * **Callers:** an API key, an integration's API key, an MCP OAuth token or a Dashboard session.

  * **Permission:** `jobs:read`.

  * **Effect:** Changes nothing.

  * **Errors:** [`business_account_required`](/errors#business_account_required), [`not_found`](/errors#not_found), and the [errors any request can get](/errors).
</Accordion>


## OpenAPI

````yaml /api-reference/openapi.json get /v1/jobs/{id}/activity
openapi: 3.1.0
info:
  title: Pomerado API
  version: '1'
  description: >-
    Run and build website tools, follow their jobs, and manage logins, API keys
    and webhooks. Authenticate with a Pomerado API key (pom_…), an MCP OAuth
    token or a Dashboard session as a Bearer token.
servers:
  - url: https://api.pomerado.ai
security: []
tags:
  - name: account
    x-group: Account
  - name: api_keys
    x-group: API keys
  - name: connected_apps
    x-group: Connected apps
  - name: usage
    x-group: Usage
  - name: quota
    x-group: Quota
  - name: billing
    x-group: Billing
  - name: integrations
    x-group: Integrations
  - name: connect
    x-group: Connect
  - name: code
    x-group: Code
  - name: logins
    x-group: Saved logins
  - name: two_factor
    x-group: 2FA
  - name: login_access
    x-group: Login access
  - name: tools
    x-group: Tools
  - name: webhooks
    x-group: Webhooks
  - name: runs
    x-group: Runs
  - name: builds
    x-group: Builds
  - name: jobs
    x-group: Jobs
  - name: files
    x-group: Files
  - name: team
    x-group: Team
paths:
  /v1/jobs/{id}/activity:
    get:
      tags:
        - jobs
      summary: Get a build's activity
      description: >-
        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.
      operationId: jobs.get_activity
      parameters:
        - name: id
          in: path
          required: true
          description: 'a job ID: job_ and 32 lowercase hex digits'
          schema:
            type: string
            examples:
              - job_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
      responses:
        '200':
          description: The build's activity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildActivity'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: business_account_required, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearer: []
components:
  schemas:
    BuildActivity:
      type: object
      required:
        - job_id
        - entries
        - incomplete
        - truncated
      properties:
        job_id:
          type: string
        entries:
          type: array
          items:
            type: object
            required:
              - at
              - stage
              - kind
              - text
            properties:
              at:
                type: string
                description: When it happened, an ISO 8601 UTC time
              stage:
                type: string
                enum:
                  - queued
                  - checking_login
                  - exploring
                  - building
                  - publishing
                description: The build stage it happened in
              kind:
                type: string
                enum:
                  - stage
                  - queued
                  - worker
                  - opened
                  - sign_in
                  - browse
                  - write
                  - example
                  - test
                  - blocked
                  - connection
                  - question
                  - answer
                  - outcome
                description: >-
                  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:
                type: string
                description: What happened, in a sentence
              label:
                type: string
                enum:
                  - read
                  - write
                  - sign_in
                description: >-
                  What the step was allowed to do on the website: read, write or
                  sign_in
              result:
                type: string
                enum:
                  - passed
                  - failed
                description: How it went, when it has a result
            additionalProperties: false
        incomplete:
          type: boolean
          description: >-
            Some entries are missing because a record could not be read yet.
            Read it again later for any that can be read then
        truncated:
          type: boolean
          description: >-
            The build has more records than one read takes, so some of its
            earliest entries are left out
      additionalProperties: false
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - docs_url
          properties:
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            details:
              type: object
              required: []
              properties: {}
              additionalProperties:
                $id: /schemas/unknown
          additionalProperties: false
      additionalProperties: false
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.