ApiKeys
List API key activity
Returns the sends attributed to an API key, newest first. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.
GET
Returns the sends attributed to an API key, newest first. Pass nextCursor back as cursor for the next page; it is null on the last page.
apiKeyheader
x-api-key<token>id*stringMatch
^key_[0-9a-hjkmnp-tv-z]{16,24}$limit?|nullcursor?stringApiKeyActivityPage
application/json- response
items*array<>nextCursor*string|nullimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.apiKeys.getActivity({ "id": "example"});Example Response
{ "items": [ { "id": "string", "timestamp": "string", "method": "string", "endpoint": "string", "statusCode": 100, "latency": 0 } ], "nextCursor": "string"}