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

# List activity

> Who leased, deleted, stored and revoked what, newest first.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/activity
openapi: 3.1.0
info:
  title: envlink API
  version: 1.0.0
  description: >-
    Lease build environments, wire them to your sandbox, and keep snapshots and
    artifacts.
servers:
  - url: https://envlink-api.projectinwork.com
security:
  - bearerAuth: []
tags:
  - name: Environments
  - name: Templates
  - name: Sandboxes
  - name: Snapshots
  - name: Artifacts
  - name: Projects
  - name: Tokens
  - name: Usage
  - name: Account
paths:
  /v1/activity:
    get:
      tags:
        - Usage
      summary: List activity
      description: Who leased, deleted, stored and revoked what, newest first.
      parameters:
        - name: action
          in: query
          schema:
            type: string
          description: Only this action, like environment.create.
        - name: actor
          in: query
          schema:
            type: string
          description: Only this actor.
        - name: before
          in: query
          schema:
            type: integer
          description: Events before this ID.
        - name: limit
          in: query
          schema:
            type: integer
          description: At most this many; 100 by default.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  events:
                    type: array
                    items:
                      $ref: '#/components/schemas/Event'
components:
  schemas:
    Event:
      type: object
      properties:
        id:
          type: integer
        time:
          type: string
          format: date-time
        actor:
          type: string
        actorKind:
          type: string
          enum:
            - user
            - key
        action:
          type: string
          examples:
            - environment.create
        resource:
          type: string
        outcome:
          type: string
          enum:
            - success
            - denied
            - failure
        detail:
          type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A CLI token or an organization API key.

````

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