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

# List activity logs

> List activity log entries for the current platform with optional filtering. Pass environment_id to scope to a specific environment. Results are ordered by most recent first.



## OpenAPI

````yaml https://api-staging.keystoneos.xyz/openapi.json get /v1/activity
openapi: 3.1.0
info:
  title: Keystone API
  description: Settlement orchestration API for tokenized Real-World Assets (RWAs).
  version: 0.1.0
servers:
  - url: https://api.keystoneos.xyz
    description: Production
security:
  - bearerAuth: []
tags:
  - name: health
    description: Health and version checks.
  - name: platforms
    description: Register and manage your platform profile.
  - name: environments
    description: Manage platform environments (sandbox, production).
  - name: settlement-templates
    description: View and manage settlement templates.
  - name: settlements
    description: Initiate, monitor, and manage settlements.
  - name: sessions
    description: Create and manage browser-safe session tokens for frontend widgets.
  - name: instructions
    description: Submit and manage bilateral settlement instructions.
  - name: invitations
    description: Invite team members to your platform.
  - name: members
    description: Manage platform team members and roles.
  - name: webhooks
    description: Configure webhook endpoints for real-time event notifications.
  - name: security
    description: IP allowlisting and API access controls.
  - name: activity
    description: Audit trail of platform actions.
  - name: dashboard
    description: Dashboard metrics and statistics.
  - name: callbacks
    description: Provider callback handlers (internal).
  - name: alchemy-webhooks
    description: Alchemy blockchain event webhooks (internal).
  - name: chains
    description: Supported blockchain networks for settlement.
  - name: admin
    description: KeyStone internal administration endpoints.
  - name: admin-platforms
    description: Admin platform management.
  - name: admin-settlements
    description: Admin settlement oversight and intervention.
  - name: admin-compliance
    description: Admin compliance check management.
  - name: admin-activity
    description: Admin system-wide activity logs.
  - name: admin-webhooks
    description: Admin webhook diagnostics.
  - name: internal
    description: Keystone-internal worker endpoints.
  - name: internal-compliance
    description: Internal compliance engine endpoints.
paths:
  /v1/activity:
    get:
      tags:
        - activity
      summary: List activity logs
      description: >-
        List activity log entries for the current platform with optional
        filtering. Pass environment_id to scope to a specific environment.
        Results are ordered by most recent first.
      operationId: list_activity_logs_v1_activity_get
      parameters:
        - name: environment_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            description: Filter by environment ID.
            title: Environment Id
          description: Filter by environment ID.
        - name: type
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by event type (e.g. settlement.created).
            title: Type
          description: Filter by event type (e.g. settlement.created).
        - name: category
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by category (e.g. settlement, compliance).
            title: Category
          description: Filter by category (e.g. settlement, compliance).
        - name: date_from
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            description: Filter logs from this date (inclusive).
            title: Date From
          description: Filter logs from this date (inclusive).
        - name: date_to
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            description: Filter logs until this date (inclusive).
            title: Date To
          description: Filter logs until this date (inclusive).
        - name: search
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Search in description, type, actor_id, resource_id.
            title: Search
          description: Search in description, type, actor_id, resource_id.
        - name: resource_type
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by resource type.
            title: Resource Type
          description: Filter by resource type.
        - name: resource_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by resource ID.
            title: Resource Id
          description: Filter by resource ID.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            description: Maximum number of results.
            default: 50
            title: Limit
          description: Maximum number of results.
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: Number of results to skip.
            default: 0
            title: Offset
          description: Number of results to skip.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse_ActivityLogRead_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PaginatedResponse_ActivityLogRead_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ActivityLogRead'
          type: array
          title: Items
        total:
          type: integer
          title: Total
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
        - items
        - total
        - limit
        - offset
      title: PaginatedResponse[ActivityLogRead]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ActivityLogRead:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        type:
          type: string
          title: Type
        category:
          type: string
          title: Category
        severity:
          type: string
          title: Severity
        description:
          type: string
          title: Description
        actor_type:
          type: string
          title: Actor Type
        actor_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Actor Id
        resource_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Resource Type
        resource_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Resource Id
        method:
          anyOf:
            - type: string
            - type: 'null'
          title: Method
        path:
          anyOf:
            - type: string
            - type: 'null'
          title: Path
        status_code:
          anyOf:
            - type: integer
            - type: 'null'
          title: Status Code
        ip_address:
          anyOf:
            - type: string
            - type: 'null'
          title: Ip Address
        user_agent:
          anyOf:
            - type: string
            - type: 'null'
          title: User Agent
        duration_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duration Ms
        detail:
          anyOf:
            - {}
            - type: 'null'
          title: Detail
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - type
        - category
        - severity
        - description
        - actor_type
        - actor_id
        - resource_type
        - resource_id
        - method
        - path
        - status_code
        - ip_address
        - user_agent
        - duration_ms
        - detail
        - created_at
      title: ActivityLogRead
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Auth0 JWT access token. See
        [Authentication](/getting-started/authentication) for details.

````