Skip to main content
GET
/
v1
/
account
/
activity
Get recent API requests for current API key owner
curl --request GET \
  --url https://api.stophy.dev/v1/account/activity \
  --header 'Authorization: Bearer <token>'
{
  "limit": 123,
  "activity": [
    {
      "id": "<string>",
      "endpoint": "<string>",
      "url": "<string>",
      "status": "<string>",
      "credits": 123,
      "responseTimeMs": 123,
      "metadata": {},
      "createdAt": "<string>"
    }
  ]
}
Use this endpoint to retrieve a history of API activity, including requests, endpoints used, and credit consumption.the response is clean, predictable, and ready for downstream tasks like monitoring, analytics, and debugging.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100

Response

limit
integer | null
activity
object[] | null