> ## 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 run's log

> Returns one run your team started and its log, one line per event in time order: the start, each worker start, the tool's browser steps, the site's own requests after its last page load (at most 32 per browser), the result's size and the end.

<Accordion title="Details">
  * The start line names who started the run: the member's name or email, and the API key's name.

  * A request line never holds a query, matrix parameters, headers, cookies or body. In its path, a credential Pomerado recognizes reads as \[secret withheld], a card number as \[card withheld], and other personal data as a tag such as \[EMAIL#7c21e0b4].

  * A log is kept 90 days.

  * **Callers:** 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/runs/{id}/log
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/runs/{id}/log:
    get:
      tags:
        - runs
      summary: Get a run's log
      description: >-
        Returns one run your team started and its log, one line per event in
        time order: the start, each worker start, the tool's browser steps, the
        site's own requests after its last page load (at most 32 per browser),
        the result's size and the end.
      operationId: runs.get_log
      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 run and its log
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunLog'
        '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:
    RunLog:
      type: object
      required:
        - run
        - lines
        - incomplete
      properties:
        run:
          $ref: '#/components/schemas/Run'
        lines:
          type: array
          items:
            type: object
            required:
              - at
              - event
              - fields
            properties:
              at:
                type: string
              event:
                type: string
                enum:
                  - run.started
                  - run.worker_started
                  - browser.step
                  - browser.steps_omitted
                  - site.request
                  - run.result
                  - run.finished
              fields:
                type: object
                required: []
                properties: {}
                additionalProperties:
                  anyOf:
                    - type: string
                    - type: number
                    - type: boolean
            additionalProperties: false
        incomplete:
          type: boolean
          description: >-
            Some of the run's lines are missing: a record could not be read yet,
            or the run has more records than one log reads. Read the log again
            later for any that can be read then
      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
    Run:
      type: object
      required:
        - id
        - status
        - tool_id
        - tool_name
        - integration_id
        - integration_name
        - effect
        - write_status
        - source
        - started_by
        - login_id
        - revision
        - attempts
        - created_at
        - started_at
        - completed_at
        - duration_ms
      properties:
        id:
          type: string
        status:
          type: string
          enum:
            - queued
            - running
            - needs_input
            - succeeded
            - failed
            - cancelled
        tool_id:
          type: string
        tool_name:
          anyOf:
            - type: string
            - type: 'null'
        integration_id:
          anyOf:
            - type: string
            - type: 'null'
        integration_name:
          anyOf:
            - type: string
            - type: 'null'
        effect:
          anyOf:
            - type: string
              enum:
                - read
                - write
            - type: 'null'
        write_status:
          anyOf:
            - type: string
              enum:
                - not_attempted
                - may_have_applied
                - applied
                - not_applied
            - type: 'null'
        source:
          anyOf:
            - type: string
              enum:
                - mcp
                - api
                - dashboard
            - type: 'null'
        started_by:
          type: object
          required:
            - member_id
            - name
            - email
            - api_key
          properties:
            member_id:
              type: string
              description: The member's user ID
            name:
              anyOf:
                - type: string
                - type: 'null'
            email:
              anyOf:
                - type: string
                - type: 'null'
            api_key:
              anyOf:
                - type: object
                  required:
                    - id
                    - name
                  properties:
                    id:
                      type: string
                    name:
                      type: string
                  additionalProperties: false
                - type: 'null'
          additionalProperties: false
        login_id:
          anyOf:
            - type: string
            - type: 'null'
        revision:
          type: object
          required:
            - id
            - published_at
          properties:
            id:
              type: string
            published_at:
              anyOf:
                - type: string
                - type: 'null'
          additionalProperties: false
        attempts:
          type: integer
          description: a non-negative number
          minimum: 0
        created_at:
          type: string
        started_at:
          anyOf:
            - type: string
            - type: 'null'
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
        duration_ms:
          anyOf:
            - type: integer
              description: a non-negative number
              minimum: 0
            - type: 'null'
      additionalProperties: false
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

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