✨ Get 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.

Authentication

Authorizationstring
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>

Query parameters

end_datestringOptional

End date/time (ISO-8601) for log filtering.

methodenumOptionalDefaults to all
HTTP request method used in the log.
orderingstringOptional
Which field to use when ordering the results.
pageintegerOptional

[or “start”] Current page index.

page_sizeintegerOptional

[or “length”] Logs per page, use -1 to obtain all logs (might be slow).

projectintegerOptional
Project ID to filter logs.
searchstringOptional

Search expression using “AND”/“OR” to filter by request URL.

start_datestringOptional

Start date/time (ISO-8601) for log filtering.

userintegerOptional
User ID to filter logs.
workspaceintegerOptional
Workspace owner ID to filter logs.

Response

Activity logs
datalist of objects
recordsFilteredinteger
recordsTotalinteger

Errors