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

# Read the activity log

> Trigger runs with their per-stage credit cost. Pass `entryId` for a single entry with its full `steps[]` trace — the most detailed audit surface in the API. Passing `page` or `pageSize` returns a paginated response that echoes both; without either you get the most recent entries capped by `limit`.



## OpenAPI

````yaml /api-reference/workspace-api.json get /workspaceapi/agents/{agentId}/activity-log
openapi: 3.1.0
info:
  title: Abundly Workspace API
  description: >-
    Read-only access to workspace-level and per-agent data. Every endpoint is a
    GET authenticated with a workspace API key (wk_) that has the Workspace read
    API scope.


    Private agents are listed by /workspaceapi/agents but return 403 on every
    per-agent endpoint, so enumerate from
    /workspaceapi/agents?includeOverview=true rather than iterating agent ids.
  version: 1.0.0
servers:
  - url: https://service.abundly.ai
    description: Shared platform
  - url: https://{tenant}.service.abundly.ai
    description: Dedicated deployment
    variables:
      tenant:
        default: your-tenant
security:
  - workspaceApiKey: []
paths:
  /workspaceapi/agents/{agentId}/activity-log:
    get:
      summary: Read the activity log
      description: >-
        Trigger runs with their per-stage credit cost. Pass `entryId` for a
        single entry with its full `steps[]` trace — the most detailed audit
        surface in the API. Passing `page` or `pageSize` returns a paginated
        response that echoes both; without either you get the most recent
        entries capped by `limit`.
      operationId: agents-agentId-activity-log
      parameters:
        - name: agentId
          in: path
          required: true
          description: The agent id.
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Max entries (default 100).
          schema:
            type: integer
            minimum: 1
            maximum: 500
        - name: page
          in: query
          required: false
          description: If set, return paginated results.
          schema:
            type: integer
            minimum: 1
        - name: pageSize
          in: query
          required: false
          description: Page size when page is set (default 50).
          schema:
            type: integer
            minimum: 1
            maximum: 200
        - name: entryId
          in: query
          required: false
          description: If set, return a single activity log entry by id.
          schema:
            type: string
        - name: newerThan
          in: query
          required: false
          description: >-
            ISO date string. If set, returns only entries newer than this
            timestamp.
          schema:
            type: string
      responses:
        '200':
          description: Success. Empty result sets are also 200.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Response fields for this endpoint are not modelled in the spec
                  yet. See the Workspace API guide for the shapes.
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
components:
  responses:
    Error:
      description: >-
        Error. Every failure on this API returns JSON with a single `error`
        field.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                description: >-
                  Human-readable message. Every error on this API uses this
                  shape.
                type: string
            required:
              - error
            additionalProperties: false
  securitySchemes:
    workspaceApiKey:
      type: http
      scheme: bearer
      description: Workspace API key (wk_) with the Workspace read API scope enabled.

````