GET
/
api
/
org
/
v1
/
activities
curl --request GET \
  --url https://console.lomaplatform.com/api/org/v1/activities \
  --header 'API-Key: <api-key>'
[
  {
    "id": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "start_date": "<string>",
    "end_date": "<string>",
    "status": "<string>",
    "spend": "<string>",
    "executed_by": "<string>",
    "notes": "<string>",
    "user": {
      "id": "<string>",
      "name": "<string>",
      "email": "<string>"
    },
    "preset": {
      "id": "<string>",
      "name": "<string>"
    },
    "category": {
      "id": "<string>",
      "name": "<string>"
    },
    "kpis": [
      {
        "id": "<string>",
        "name": "<string>",
        "value": 123,
        "description": "<string>",
        "is_positive_better": true
      }
    ],
    "locations": [
      {
        "id": "<string>",
        "name": "<string>",
        "external_id": "<string>"
      }
    ]
  }
]

Authorizations

API-Key
string
header
required

API Key for the organization

Query Parameters

page
number
default:1
Required range: x >= 1
limit
number
default:100
Required range: 1 <= x <= 1000
sort
enum<string>
default:created_at
Available options:
created_at,
updated_at
direction
enum<string>
default:desc
Available options:
asc,
desc

Response

200
application/json
200 OK
id
string
required
created_at
string
required
updated_at
string
required
start_date
string
required
end_date
string
required
status
string
required
spend
string
required
executed_by
string | null
required
notes
string | null
required
user
object
required
preset
object
required
category
object
required
kpis
object[] | null
required
locations
object[] | null
required