packets

The recent packet log for this session — the same feed the Activity tab shows.

A ring buffer of what this session has sent and received, kept for debugging. Poll incrementally by passing the previous reply's `lastSeq` as `after`. Payloads are truncated and large arrays trimmed, so this is a diagnostic rather than a data source.

In Session & character.

Request

POST /api/v1/sessions/{accountKey}/actions/packets

Parameters

NameTypeRequiredDescription
afterintegernoOnly entries with a `seq` above this. Pass the last reply's `lastSeq`.
limitintegernoHow many to return; the most recent win. Defaults to 200.

Example request

{ "after": 1180, "limit": 2 }

Response

`{ entries, lastSeq }`, oldest first.

FieldTypeMeaning
entries[].seqintegerMonotonic within the session. Feed the highest back as `after`.
entries[].directionstring`send` or `recv`.
lastSeqintegerThe newest sequence number, whether or not any entry was returned.

Example response

{
  "entries": [
    { "seq": 1181, "ts": 1755734412.41, "direction": "send",
      "id": 2001, "name": "MARKETPLACE_ITEM_LIST_REQ", "size": 18,
      "summary": "currentPage=1", "payload": { "currentPage": 1 } },
    { "seq": 1182, "ts": 1755734412.83, "direction": "recv",
      "id": 2002, "name": "MARKETPLACE_ITEM_LIST_RES", "size": 8241,
      "summary": "12 itemInfos, maxPage=8", "payload": { "currentPage": 1, "maxPage": 8 } }
  ],
  "lastSeq": 1182
}

See also

DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.