---
title: "Export matter log entries"
method: POST
path: "/matters/v1/{id}/log/export"
tags: ["Matters"]
---

# Export matter log entries

`POST /matters/v1/{id}/log/export`

Bulk export matter log entries for audits, visibility, and eval pipelines. Supports json, csv, tsv, and jsonl. Limited to 10,000 entries per request.

## Path parameters

- `id` string, required

## Request body

- object
  - `scope` union — Filter by scope: matter, work_item, execution, sharing, all
    - string
    - string[]
  - `event_type` string — Filter by exact event type
  - `work_item_id` string — Filter by work item ID
  - `actor_type` string — Filter by actor type
  - `actor_id` string — Filter by actor ID
  - `start_time` string, date-time — Start of time range (ISO 8601)
  - `end_time` string, date-time — End of time range (ISO 8601)
  - `format` 'json' | 'jsonl' | 'csv' | 'tsv' — Export format. Defaults to jsonl.

## Response `200`

Exported matter log entries

- object
  - `data` object[]

## Other responses

- `401` — Invalid API key
- `403` — Insufficient permissions
- `404` — Matter not found

---

[API](https://skmtc.net/casemark/apis/case-dev-api.md) · [All operations](https://skmtc.net/casemark/apis/case-dev-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casemark/case-dev-api/revisions/5b7e64e6d6f9/schema)
