Skip to main content
POST
/
matters
/
v1
/
{id}
/
log
/
export
Export matter log entries
curl --request POST \
  --url https://api.case.dev/matters/v1/{id}/log/export \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "scope": "<string>",
  "event_type": "<string>",
  "work_item_id": "<string>",
  "actor_type": "<string>",
  "actor_id": "<string>",
  "start_time": "2023-11-07T05:31:56Z",
  "end_time": "2023-11-07T05:31:56Z",
  "format": "json"
}
'
{
  "data": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Body

application/json
scope

Filter by scope: matter, work_item, execution, sharing, all

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
enum<string>

Export format. Defaults to jsonl.

Available options:
json,
jsonl,
csv,
tsv

Response

Exported matter log entries

data
object[]