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

# Get a failure group's activity

> Returns the group's activity timeline (newest first): creation, authored edits, status changes, merges, member joins, repeat sightings, and removals. Derived from the revision trail and the membership-event log.



## OpenAPI

````yaml /api-reference/openapi.generated.json get /api/failure-groups/{id}/activity
openapi: 3.1.0
info:
  title: Empirical API
  version: 1.0.0
  description: Programmatic access to Empirical test runs, snoozes, and more.
  contact:
    name: Empirical
    url: https://empirical.run
servers:
  - url: https://api.empirical.run
security:
  - Bearer: []
tags:
  - name: Test Runs
    description: Trigger, list, and inspect end-to-end test runs.
  - name: Test Cases
    description: >-
      Browse the Playwright test cases synced from a project's repository and
      manage their tags.
  - name: Environments
    description: >-
      Named deployment targets (slug + Playwright project filters) a project's
      tests run against.
  - name: Snoozes
    description: Temporarily suppress known test failures for specific Playwright tests.
  - name: Analytics
    description: Aggregated test-run, test-count and test-case analytics for a project.
  - name: Resources
    description: >-
      Project file resources — uploads stored in R2 and external link-type files
      (e.g. Google Sheets).
  - name: Failure Groups
    description: >-
      Durable, cross-run identities for failure modes, carrying the latest
      triage diagnosis.
  - name: Badges
    description: Public README status badge images (SVG) for project environments.
paths:
  /api/failure-groups/{id}/activity:
    get:
      tags:
        - Failure Groups
      summary: Get a failure group's activity
      description: >-
        Returns the group's activity timeline (newest first): creation, authored
        edits, status changes, merges, member joins, repeat sightings, and
        removals. Derived from the revision trail and the membership-event log.
      operationId: getFailureGroupActivity
      parameters:
        - schema:
            type: string
            minLength: 1
            description: Failure group ID.
          required: true
          description: Failure group ID.
          name: id
          in: path
      responses:
        '200':
          description: The activity timeline.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FailureGroupActivityResponse'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    FailureGroupActivityResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            events:
              type: array
              items:
                $ref: '#/components/schemas/FailureGroupActivityEvent'
          required:
            - events
          description: Response payload.
      required:
        - data
    ErrorResponse:
      type: object
      properties:
        data:
          nullable: true
          description: Always null for error responses.
        error:
          type: object
          properties:
            message:
              type: string
              description: Human-readable error message.
          required:
            - message
          description: Error details.
      required:
        - data
        - error
    FailureGroupActivityEvent:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - created
            - edited
            - status_changed
            - merged
            - member_added
            - member_seen
            - member_removed
        at:
          type: string
        source_run_id:
          type: integer
          nullable: true
        changed_fields:
          type: array
          nullable: true
          items:
            type: string
        from_status:
          type: string
          nullable: true
        to_status:
          type: string
          nullable: true
        merged_from_group_id:
          type: string
          nullable: true
        merged_from_label:
          type: string
          nullable: true
        member:
          type: object
          nullable: true
          properties:
            test_case_id:
              type: string
              description: Test case ID (normalized 41-character Playwright test id).
            environment_id:
              type: integer
              nullable: true
            match_source:
              type: string
              nullable: true
            match_score:
              type: number
              nullable: true
            chat_session_id:
              type: integer
              nullable: true
              description: >-
                For agent-attached members, the chat session that decided the
                attach.
          required:
            - test_case_id
            - environment_id
            - match_source
            - match_score
            - chat_session_id
        actor:
          type: object
          nullable: true
          properties:
            kind:
              type: string
              enum:
                - user
                - agent
                - api_key
                - system
            id:
              type: string
              nullable: true
            name:
              type: string
              nullable: true
            email:
              type: string
              nullable: true
          required:
            - kind
            - id
            - name
            - email
          description: >-
            Who authored the change. Null on machine-driven member events and on
            changes made before attribution existed.
      required:
        - id
        - type
        - at
        - source_run_id
        - changed_fields
        - from_status
        - to_status
        - merged_from_group_id
        - merged_from_label
        - member
        - actor
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer

````