---
title: "POST /user-event-last-status"
method: POST
path: "/user-event-last-status"
tags: ["v2"]
---

# POST /user-event-last-status

`POST /user-event-last-status`

## Request body

- GetLastUserEventStatus
  - `event-source` string
  - `event-type` string, required
  - `item-name` string, required — Event item name
  - `item-type` string, required — Event item type can be either "target" or type of item eg "static_secret"/"dynamic_secret" To get type of some item run `akeyless describe-item -n {ITEM_NAME} --jq-expression .item_type`
  - `json` boolean — Set output format to JSON
  - `time-back` string — The time back to search the event, for example if the value is "5m" we will return the last user event issued in the last 5 minutes. By default, we will search without any time boundary.
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication

## Response `200`

getLastUserEventStatusResponse wraps response body.

- GetUserEventStatusOutput
  - `access_status` string
  - `event_created_at` string, date-time
  - `status` string

## Other responses

- `default` — errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
