Get the event log

SDK platic.cases.listEvents()

Review what happened in a case by sending its caseId. Read events oldest first. This route returns only the log, with the same content as events in Get a case.

Example

const events = await platic.cases.listEvents("case_123");

Path parameters

ParameterTypeDescriptionRequired
caseIdstringCase id✓

Response

200 OK. data is the complete list, not paginated.

{
  "status": "success",
  "data": [
    {
      "id": "000001-0",
      "caseId": "Es4kP9wLx2QmZ7bN1cVd",
      "actor": { "kind": "agent", "id": "Ag6bV8nM1qW3eR5t" },
      "at": "2026-11-12T15:04:00.000Z",
      "kind": "opened",
      "data": {
        "folio": "INV-0143",
        "escalationId": "Et7hQ2mVx9LpRk3s",
        "priority": "normal",
        "assigneeIds": ["Us9fG3hJ6kL2mN8b"],
        "summary": "Asks to fix the tax ID on the invoice for order 48213."
      }
    },
    {
      "id": "000002-0",
      "caseId": "Es4kP9wLx2QmZ7bN1cVd",
      "actor": { "kind": "api", "id": "Ak7Pz2Lm9Qx4Wc6e" },
      "at": "2026-11-12T15:12:00.000Z",
      "kind": "accepted",
      "data": { "userId": "Us2qW4eR6tY8uI0o", "previousUserId": null, "notifyCustomer": true }
    },
    {
      "id": "000003-0",
      "caseId": "Es4kP9wLx2QmZ7bN1cVd",
      "actor": { "kind": "user", "id": "Us2qW4eR6tY8uI0o" },
      "at": "2026-11-12T16:40:00.000Z",
      "kind": "closed",
      "data": { "reason": "resolved", "note": "The invoice was reissued with the correct tax ID." }
    }
  ]
}

Each element of data is an event, with the fields in the event log.

Errors

Statusdetails.codeWhen
404CASE_NOT_FOUNDThe case does not exist in this workspace

The errors that come up on any operation are in the introduction.

Notes

  • The log's user ids do not come with an email next to them. To see who each person is, match the ids against the case's assigneeIds and assigneeEmails.
  • This route has no tool of its own in the MCP: get_case already returns the log.