VENUZ API Español

audit.read: Activity log of the accounts of the key.

GET /v2/audit · MCP tool audit_read · Activity log

What it does

Activity log of the accounts of the key.

When to use it

Lists what the team did on the accounts this key can use (connected an account, changed a price, deleted media, sent a mass message…), newest first, with who did it and counters for the last day and week. Filter by account, action or time range. Only entries tied to an account appear: agency-wide entries (sign-ins, billing, team changes) are not available to account keys yet. It never returns IP addresses, browsers, emails or the free-form detail of an entry; where VENUZ keeps a before/after (API changes, Calypso on/off, persona, AI Poke) it returns it as change, with any free text redacted. It reads the copy VENUZ keeps and never changes anything.

Permission and cost

Permissionaudit:read
EffectRead only: it never changes anything.
Cost classstore — costs 1 unit (reads the copy VENUZ keeps)
ScopeThe accounts this key can use.
PeriodNo cap on days (x-venuz-window-unbounded): Reads the audit log VENUZ keeps, a page at a time with next_cursor.
Page sizeUp to 100 per page (x-venuz-page-max).

Parameters

NameInTypeRequiredDescription
account_idquerystring (uuid)noOnly entries of this account. Omit for every account the key can use.
actionqueryone of "api.agent_connected", "api.change", "api.of_scheduled_post_cancelled", "auth.register", "auth.login", "auth.logout", "auth.change_password", "auth.forgot_password", "auth.reset_password", "auth.email_verified", "auth.email_change_requested", "auth.email_changed", … (190 values)noOnly entries of this action. The list is every action code the API can return.
starts_atquerystring (date-time)noOnly entries at or after this time (ISO 8601 with time zone).
ends_atquerystring (date-time)noOnly entries at or before this time (ISO 8601 with time zone).
cursorquerystring, up to 512 charactersnonext_cursor of the previous page.
limitqueryinteger, 1 to 100, default 50no

Example request (test mode)

With a test key in VENUZ_API_KEY (export VENUZ_API_KEY=vzk_test_…), this request changes nothing: test keys answer from a sample dataset.

curl -X GET "https://open.venuz.ai/v2/audit" \
  -H "Authorization: Bearer $VENUZ_API_KEY"

Example response (200)

{
  "data": [
    {
      "id": "9d4e5f6a-7b8c-4d9e-a0b1-c2d3e4f5a6b7",
      "occurred_at": "2026-09-28T10:42:00.000Z",
      "action": "of_subscribe_price.save",
      "account_id": "3a9e1c7b-2d4f-4b8a-9c6e-1f0d2b3a4c5e",
      "actor": "Alex"
    }
  ],
  "totals": {
    "total": 58,
    "last_24h": 3,
    "last_7d": 11
  },
  "starts_at": null,
  "ends_at": null,
  "accounts": [
    {
      "id": "3a9e1c7b-2d4f-4b8a-9c6e-1f0d2b3a4c5e",
      "name": "Sample Creator",
      "connection": {
        "state": "connected",
        "last_connected_at": "2026-09-28T12:00:00.000Z"
      }
    }
  ],
  "next_cursor": null,
  "source": "store",
  "synced_at": "2026-09-28T12:00:00.000Z"
}

Response fields

FieldTypeRequiredDescription
dataarray of objectyesEntries of the accounts of the key, newest first.
data[].idstring (uuid)yes
data[].occurred_atstring (date-time)yes
data[].actionstringyesCode of what happened, written by VENUZ (for example account.update or vault.media.delete).
data[].account_idstring (uuid)yes
data[].actorstring, or nullyesWho did it. Null when VENUZ did it or the person is no longer in the agency.
data[].changeobjectnoWhat changed, when VENUZ keeps it for this action (changes made through the API, Calypso on/off, the persona, AI Poke, routing rules). Booleans, numbers, ids, dates and state names appear as they are; any free text (names, messages, persona wording, URLs) appears as "[redacted]", so you see which field changed but never what it said. For the persona only the names of the changed fields appear. Absent for actions without a before/after.
data[].change.beforeobject, or nullyesThe fields before, as {"field.path": value} (null when it did not exist).
data[].change.afterobject, or nullyesThe fields after, as {"field.path": value} (null when it no longer exists).
totalsobjectyesEntries of every account the key can use (the filters do not apply).
totals.totalinteger, at least 0yes
totals.last_24hinteger, at least 0yes
totals.last_7dinteger, at least 0yes
starts_atstring (date-time), or nullyesEarliest entry time applied to data (the starts_at you sent). Null: no lower limit.
ends_atstring (date-time), or nullyesLatest entry time applied to data (the ends_at you sent). Null: no upper limit.
accountsarray of objectyesThe accounts that appear in data, with their connection state.
accounts[].idstring (uuid)yes
accounts[].namestringyesDisplay name of the account in VENUZ, set by the agency.
accounts[].connectionobjectyes
accounts[].connection.stateone of "connected", "connecting", "disconnected"yesConnection state of the OnlyFans account in VENUZ, from our stored record. Some accounts not yet moved to the new connection may read disconnected here; checks on the account are not available for them yet.
accounts[].connection.last_connected_atstring (date-time), or nullyesWhen VENUZ last saw the account connected. Null if never.
next_cursorstring, or nullyesPass it as cursor, with the same filters, to get the next page. Null when there are no more results.
sourceone of "store", "onlyfans"yesstore: read from the copy VENUZ keeps (fast, no load on the OnlyFans account). onlyfans: a live check on the account during this call.
synced_atstring (date-time)yesWhen this data was true. For source=store it is when VENUZ last updated its copy (or read it, if the record carries no update time); for source=onlyfans it is the moment OnlyFans answered.

Errors and what to do

Every error is { "error", "message", "fix", "docs_url", "request_id" }. Branch on error; do what fix says.

ErrorHTTPWhat to do
invalid_request400Correct the request, then retry. When details.invalid_fields is present, each entry names a field and what it needs (its message); when details.reason is present, it says what is wrong. The parameters and body of every operation are in the specification.
invalid_api_key401Send a valid key as "Authorization: Bearer vzk_live_..." (or vzk_test_...). If you lost the key, ask the agency to create a new one.
api_key_expired401Ask the agency to rotate the key or create a new one. Keys last at most 366 days.
api_key_revoked401Stop using this key. Ask the agency for a new one if you still need access.
account_not_allowed403The account_id filter names an account this key cannot use. Call GET /v2/whoami and filter by one of its accounts.
api_key_suspended403If details.reason is creator_withdrawn, ask the agency owner to create a new key from an active member of the team. If it is suspended_by_venuz, contact VENUZ support: the same key works again as soon as the suspension is lifted, so do not delete it.
agency_inactive403The agency's VENUZ account is suspended or closed; access resumes when it is active again. Do not delete the key.
api_not_enabled403Ask VENUZ support to enable API access for the agency. Keep the key: it works as soon as access is enabled.
ip_not_allowed403Send the request from one of the addresses allowed on the key, or ask the agency to update the allowed addresses.
insufficient_scope403Call GET /v2/whoami to see what this key can do. Ask the agency to grant the missing permission (listed in details.missing_scopes) or to use a key that has it. If details.withheld_by_creator is true, the key has the permission but the person who created it cannot do this in VENUZ today: they need the role permissions in details.creator_missing_permissions (when details.creator_needs is any_of, any one of them is enough), or the agency must use a key created by someone who has them.
rate_limited429Wait for the number of seconds in the Retry-After header, then retry. Spread requests out instead of retrying in a loop. Each request costs the units of its cost class (header X-Request-Cost: 1 for stored data, 2 for a realtime call to the OnlyFans account or a heavy query), and the RateLimit-* headers show how many units are left for this key and its agency in the current minute.
internal_error500Retry once after a few seconds; do not retry in a loop. If the request was a write, retry with the SAME Idempotency-Key, never a new one. If it keeps failing, contact VENUZ support and include the request_id.
api_halted503Wait for the number of seconds in the Retry-After header, then retry. Your key is still valid.
stored_data_unavailable503Nothing was changed. Wait for the number of seconds in the Retry-After header, then retry once; do not retry in a loop. Narrowing the request (account_id or chat_id, a smaller limit) makes it lighter. If it keeps failing, contact VENUZ support with the request_id.

VENUZ is independent software for agencies. It is not affiliated with, endorsed or sponsored by OnlyFans. OnlyFans is a trademark of its owner.