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

# List Activities

> Lists activities for an organization



## OpenAPI

````yaml https://console.lomaplatform.com/api/org/v1/openapi get /api/org/v1/activities
openapi: 3.1.0
info:
  title: LOMA Organization API
  version: 2.78.1
  description: >-
    API for managing organizational data on LOMA.

    ### Authentication


    Your API Key should be passed in the `API-Key` header formatted as
    `KEY_ID:KEY_SECRET`.


    Organization admins can create API keys in the LOMA console.
  contact:
    email: support@lomaplatform.com
servers:
  - url: https://console.lomaplatform.com
security: []
paths:
  /api/org/v1/activities:
    get:
      tags:
        - Activities
      summary: List Activities
      description: Lists activities for an organization
      parameters:
        - in: query
          name: page
          schema:
            type: number
            minimum: 1
            default: 1
        - in: query
          name: limit
          schema:
            type: number
            minimum: 1
            maximum: 1000
            default: 100
        - in: query
          name: sort
          schema:
            type: string
            enum:
              - created_at
              - updated_at
            default: created_at
        - in: query
          name: direction
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
      responses:
        '200':
          description: 200 OK
          headers:
            total-count:
              schema:
                type: string
              required: true
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    created_at:
                      type: string
                    updated_at:
                      type: string
                    start_date:
                      type: string
                    end_date:
                      type: string
                    status:
                      type: string
                    spend:
                      type: string
                    executed_by:
                      type:
                        - string
                        - 'null'
                    notes:
                      type:
                        - string
                        - 'null'
                    user:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        email:
                          type: string
                      required:
                        - id
                        - name
                        - email
                    preset:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                      required:
                        - id
                        - name
                    category:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                      required:
                        - id
                        - name
                    kpis:
                      type:
                        - array
                        - 'null'
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          name:
                            type: string
                          value:
                            type:
                              - number
                              - 'null'
                          description:
                            type:
                              - string
                              - 'null'
                          is_positive_better:
                            type:
                              - boolean
                              - 'null'
                        required:
                          - id
                          - name
                          - value
                          - description
                          - is_positive_better
                    locations:
                      type:
                        - array
                        - 'null'
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          name:
                            type: string
                          external_id:
                            type: string
                        required:
                          - id
                          - name
                          - external_id
                  required:
                    - id
                    - created_at
                    - updated_at
                    - start_date
                    - end_date
                    - status
                    - spend
                    - executed_by
                    - notes
                    - user
                    - preset
                    - category
                    - kpis
                    - locations
        '400':
          description: 400 Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      issues:
                        type: array
                        items: {}
                      name:
                        type: string
                    required:
                      - issues
                      - name
                required:
                  - error
        '401':
          description: 401 Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      status:
                        type: number
                      message:
                        type: string
                    required:
                      - status
                      - message
                required:
                  - error
                example:
                  error:
                    status: 401
                    message: Invalid API Key
      security:
        - apiKeyHeader: []
components:
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      in: header
      name: API-Key
      description: API Key for the organization

````