---
title: "✨ Get activity logs"
method: GET
path: "/api/activity-logs/"
tags: ["Activity Logs"]
---

# ✨ Get activity logs

`GET /api/activity-logs/`

<Card href="https://humansignal.com/goenterprise">
        <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
        <p style="margin-top: 10px; font-size: 14px;">
            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
        </p>
    </Card>
Retrieve activity logs filtered by workspace, project, user, HTTP method, date range or search query.

## Query parameters

- `end_date` string
- `method` 'DELETE' | 'GET' | 'PATCH' | 'POST' | 'PUT' | 'all'
- `ordering` string
- `page` integer
- `page_size` integer
- `project` integer
- `search` string
- `start_date` string
- `user` integer
- `workspace` integer

## Response `200`

Activity logs

- ActivityLogResponse[]
  - `data` ActivityLog[], required
    - `datetime` string, date-time, required
    - `duration` integer, nullable — Duration of response generation in ms
    - `email` string, required
    - `extra_data` unknown
    - `http_referer` string
    - `id` integer, required
    - `ip_address` string, nullable
    - `organization_id` integer, nullable — Organization id
    - `project_id` integer, nullable — Project id if request has it
    - `request_method` string, required
    - `request_url` string, required
    - `response_code` string, required
    - `user_agent` string
    - `user_id` integer, required
    - `user_session` string, nullable
    - `workspace_owner_id` integer, nullable — Owner id of workspace where action performed
  - `recordsFiltered` integer, required
  - `recordsTotal` integer, required

## Other responses

- `404` — No more logs found

---

[API](https://skmtc.net/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.net/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/revisions/1d13f90af57a/schema)
