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

# List Activities



## OpenAPI

````yaml GET /api/v1/activities/
openapi: 3.0.3
info:
  title: Nekt API
  version: v1
  description: Nekt API Documentation
  contact:
    email: support@nekt.ai
servers:
  - url: https://api.nekt.ai
security: []
paths:
  /api/v1/activities/:
    get:
      tags:
        - v1
      operationId: v1_activities_list
      parameters:
        - in: query
          name: activity_type
          schema:
            type: array
            items:
              type: string
          description: Multiple values may be separated by commas.
          explode: false
          style: form
        - in: query
          name: created_at__gt
          schema:
            type: string
            format: date-time
        - in: query
          name: created_at__gte
          schema:
            type: string
            format: date-time
        - in: query
          name: created_at__lt
          schema:
            type: string
            format: date-time
        - in: query
          name: created_at__lte
          schema:
            type: string
            format: date-time
        - in: query
          name: destination_id
          schema:
            type: array
            items:
              type: string
          description: Multiple values may be separated by commas.
          explode: false
          style: form
        - in: query
          name: notebook_slug
          schema:
            type: array
            items:
              type: string
          description: Multiple values may be separated by commas.
          explode: false
          style: form
        - name: page
          required: false
          in: query
          description: A page number within the paginated result set.
          schema:
            type: integer
        - name: page_size
          required: false
          in: query
          description: Number of results to return per page.
          schema:
            type: integer
        - in: query
          name: sort
          schema:
            type: array
            items:
              type: string
              enum:
                - '-created_at'
                - '-updated_at'
                - created_at
                - updated_at
          description: |-
            Ordering

            * `created_at` - Created at
            * `-created_at` - Created at (descending)
            * `updated_at` - Updated at
            * `-updated_at` - Updated at (descending)
          explode: false
          style: form
        - in: query
          name: source_id
          schema:
            type: array
            items:
              type: string
          description: Multiple values may be separated by commas.
          explode: false
          style: form
        - in: query
          name: transformation_id
          schema:
            type: array
            items:
              type: string
          description: Multiple values may be separated by commas.
          explode: false
          style: form
        - in: query
          name: updated_at__gt
          schema:
            type: string
            format: date-time
        - in: query
          name: updated_at__gte
          schema:
            type: string
            format: date-time
        - in: query
          name: updated_at__lt
          schema:
            type: string
            format: date-time
        - in: query
          name: updated_at__lte
          schema:
            type: string
            format: date-time
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedActivityList'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PaginatedActivityList:
      type: object
      required:
        - count
        - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?page=4
        previous:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?page=2
        results:
          type: array
          items:
            $ref: '#/components/schemas/Activity'
    Activity:
      type: object
      description: >-
        Serializer mixin: relabels the actor as "Nekt Support" for
        customer-facing

        output when the row was produced during a support impersonation session.


        Add to any serializer whose model is an ``ImpersonationAttributedModel``
        and

        that exposes ``created_by`` and/or ``triggered_by``. The real user stays
        in the

        DB and the real agent stays in the ImpersonationSession audit trail.


        The API contract is preserved: an EXPANDED actor field returns the full

        "Nekt Support" object, while an UNEXPANDED one returns the
        ``NEKT_SUPPORT_ID``

        sentinel int — same scalar-id (integer) vs object shape as a normal
        user. We

        never return the real user's id here (the frontend would resolve it
        against the

        org and surface the impersonated customer instead of "Nekt Support").
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        activity_type:
          allOf:
            - $ref: '#/components/schemas/ActivityTypeEnum'
          readOnly: true
        changed_fields:
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
        created_by_system:
          type: boolean
          readOnly: true
          nullable: true
        pipeline_automatically_paused_after_x_failures:
          type: integer
          readOnly: true
          nullable: true
        created_by:
          type: integer
          readOnly: true
          description: User that performed the activity (Expandable)
        source:
          type: string
          readOnly: true
          description: Source that was affected by the activity (Expandable)
        destination:
          type: string
          readOnly: true
          description: Destination that was affected by the activity (Expandable)
        transformation:
          type: string
          readOnly: true
          description: Transformation that was affected by the activity (Expandable)
        table:
          type: string
          readOnly: true
          description: Table that was affected by the activity (Expandable)
        volume:
          type: string
          readOnly: true
          description: Volume that was affected by the activity (Expandable)
        run:
          type: string
          readOnly: true
          description: Pipeline run that was affected by the activity (Expandable)
        visualization:
          type: string
          readOnly: true
          description: Visualization of the activity (Expandable)
        secret:
          type: string
          readOnly: true
          description: Secret that was affected by the activity (Expandable)
      required:
        - activity_type
        - changed_fields
        - created_at
        - created_by
        - created_by_system
        - destination
        - id
        - pipeline_automatically_paused_after_x_failures
        - run
        - secret
        - source
        - table
        - transformation
        - updated_at
        - visualization
        - volume
    ActivityTypeEnum:
      enum:
        - add-source
        - update-source
        - update-source-status
        - update-source-trigger
        - remove-source
        - add-destination
        - update-destination
        - update-destination-status
        - update-destination-trigger
        - remove-destination
        - add-transformation
        - update-transformation
        - update-transformation-status
        - update-transformation-trigger
        - remove-transformation
        - add-layer
        - remove-layer
        - remove-table
        - add-user-invitation
        - update-user-invitation
        - revoke-user-invitation
        - ignore-access-request
        - accept-access-request
        - add-volume
        - update-volume-description
        - remove-volume
        - add-visualization
        - update-visualization
        - remove-visualization
        - add-secret
        - update-secret
        - remove-secret
        - cancel-pipeline-run
        - pipeline-automatically-paused-after-x-failures
        - github-sync
        - add-context-document
        - update-context-document
        - remove-context-document
        - set_payment_method
        - select_subscription_plan
        - purchase_credits
      type: string
      description: >-
        * `add-source` - Add Source

        * `update-source` - Update Source

        * `update-source-status` - Update Source Status

        * `update-source-trigger` - Update Source Trigger

        * `remove-source` - Remove Source

        * `add-destination` - Add Destination

        * `update-destination` - Update Destination

        * `update-destination-status` - Update Destination Status

        * `update-destination-trigger` - Update Destination Trigger

        * `remove-destination` - Remove Destination

        * `add-transformation` - Add Transformation

        * `update-transformation` - Update Transformation

        * `update-transformation-status` - Update Transformation Status

        * `update-transformation-trigger` - Update Transformation Trigger

        * `remove-transformation` - Remove Transformation

        * `add-layer` - Add Layer

        * `remove-layer` - Remove Layer

        * `remove-table` - Remove Table

        * `add-user-invitation` - Add User Invitation

        * `update-user-invitation` - Update User Invitation

        * `revoke-user-invitation` - Revoke User Invitation

        * `ignore-access-request` - Ignore Access Request

        * `accept-access-request` - Accept Access Request

        * `add-volume` - Add Volume

        * `update-volume-description` - Update Volume Description

        * `remove-volume` - Remove Volume

        * `add-visualization` - Add Visualization

        * `update-visualization` - Update Visualization

        * `remove-visualization` - Remove Visualization

        * `add-secret` - Add Secret

        * `update-secret` - Update Secret

        * `remove-secret` - Remove Secret

        * `cancel-pipeline-run` - Cancel Pipeline Run

        * `pipeline-automatically-paused-after-x-failures` - Pipeline
        Automatically Paused After X Failures

        * `github-sync` - GitHub Sync

        * `add-context-document` - Add Context Document

        * `update-context-document` - Update Context Document

        * `remove-context-document` - Remove Context Document

        * `set_payment_method` - Set Payment Method

        * `select_subscription_plan` - Select Subscription Plan

        * `purchase_credits` - Purchase Credits
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'API Key authentication. Format: ''x-api-key: api_key'''

````