User activity API for a recent-actions feed
Show each person what they did lately. It covers files, email, security scans, AI and the data warehouse.
Problems we solve
Does any of this sound like your week?
Did my upload go through?
Call GET /api/v1/user/activity. You get one feed with a success, failed or pending status.
Support tickets ask if an email was sent.
Link to the activity view. The answer is already on screen for files, email, AI, warehouse and scans.
I need a quick look at what failed.
Add status=failed to the request. You see which of your own actions did not finish.
I do not want to build a history page per service.
One endpoint returns one filterable history for files, warehouse, AI, email and security scans.
What it does
- The User Activity API answers one question for the signed-in person. It is "what have I done lately?" It reads the access logs the platform already keeps. It gives back one feed. The feed covers files, the data warehouse, AI requests, email and security scans.
- It solves a small but constant request. Users ask "did my upload go through?" and "did that email send?" They also ask "what did I scan last week?" Without this, someone builds a page for each. With it, one endpoint returns one history you can filter. You can drop it into a profile page or an account screen.
- You can filter the feed by service (files, warehouse, ai, email or security). You can also filter by status (success, failed or pending). It looks back 30 days by default. You can ask for 1 to 365 days. Page through it with limit and offset, up to 500 per page.
- A statistics call counts the same events by service and by action. You pick the time window. It suits a small "your month" panel. Summary calls for files, security, AI and the warehouse add more detail. They show what the person stores and what they did with it. They show scans they ran, AI they used, and how they use the warehouse.
- It is scoped to the caller. You see your own activity, not other people's. The data comes from logs for your account. Sign in with a Bearer token from Takelan SSO or an X-API-Key header. Over the limit you get a 429 with a Retry-After header.
- Pricing that stays affordable. Start free*. *Free test level; past the limits, non-critical calls slow or pause and nothing is charged unless you turn overage on. Connected ShadowCradle organizations can switch on Takelan SSO and these base-included services with one switch. Airgap licences work without any Takelan connection.
Example use cases6 examples
"Recent activity" on a profile page
A developer adds a feed to the account screen with one call. It shows the last 7 days. Users see what they did without opening a ticket.
Self-service support
A support team links to the activity view. A customer asks if an email left or an upload failed. The answer is already on screen, with a success or failed status.
Spot failures early
An admin filters by status=failed. They see which of their own actions did not finish, such as an upload or an email send.
A monthly "your usage" panel
A small business uses the statistics call. It shows each staff member counts by service and action for the past 30 days.
AI usage at a glance
A team lead checks the AI summary to see how much AI they have used. Then they talk to the account owner about limits.
Security check-in
A person who scans downloads before opening them can see their scan history in one place.
Try it
My recent failed actions, last 7 days
curl "https://app.takelan.com/api/v1/user/activity?days=7&status=failed&limit=20" \
-H "X-API-Key: $TAKELAN_API_KEY"
# Response (abridged, fictional)
# {
# "activities": [
# { "service": "email", "action": "send", "status": "failed",
# "timestamp": "2026-10-24T09:12:44Z" }
# ],
# "total": 1, "limit": 20, "offset": 0, "period_days": 7
# }Each item also has details for its service. Values shown are fictional.
Counts by service
curl "https://app.takelan.com/api/v1/user/statistics?days=30" \ -H "X-API-Key: $TAKELAN_API_KEY"
Endpoints6 endpoints
GET /api/v1/user/activityUnified feed. Filters: service (files, warehouse, ai, email, security), status, days (1-365), limit (up to 500) and offset.GET /api/v1/user/statisticsCounts by service and by action over a window.GET /api/v1/user/filesWhat you store and what you did with it lately.GET /api/v1/user/securityMalware scans you have run.GET /api/v1/user/aiAI requests you made and what they used.GET /api/v1/user/warehouseWhat you stored in the data warehouse and how you use it.
MCP
Available as tools through /mcp/utils. Every route here is a read, so a read-only key works. An agent sees the activity of the person whose key it holds. It never sees anyone else's. Writes are off by default, though this family has none. About MCP
Common questions
how to show a user their recent activity in my app
Call GET /api/v1/user/activity with their token. Optionally filter by service and status, and set days. Render the items as a list.
which services does the user activity feed cover
Files, the data warehouse, AI requests, email and security scans. Filter with the service parameter. Use files, warehouse, ai, email or security.
how far back does activity history go
It defaults to 30 days. You can ask for 1 to 365 days with the days parameter.
can an admin see another user's activity with this api
No. These routes return the caller's own activity. For records across your whole account, use the access logs of that service. One example is the warehouse access-logs endpoint.
how do I find failed actions
Add status=failed to the activity request. Valid statuses are success, failed and pending.
how do I count activity by service
GET /api/v1/user/statistics returns counts by service and by action for the time window you set.
does it need a special permission
It needs a valid sign-in or API key for the tenant. Read-only keys work because every route is a read.
is the user activity api free
It is negotiable on price: start free*. *Free test level; past the limits, non-critical calls slow or pause and nothing is charged unless you turn overage on.
