List case movements
list_movementsRetrieve a CNJ case's procedural movements (docket entries), newest first and grouped by instance, or filter with a since date to track new updates.
Instructions
List the procedural movements (docket entries) of a case, newest first by default, grouped by instance. Each movement carries its TPU code, the Portuguese name, structured complements and, for common codes, a plain-English hint. Use since to get only new movements. Expect 20-60 s latency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| court | No | DataJud court alias, e.g. 'tjsp', 'trf1', 'trt2', 'tre-sp', 'stj'. Optional when looking up a case number: the origin court is derived from the number. Pass it explicitly to read the record held by a higher court (e.g. 'stj'), since appeals keep the origin case number. | |
| limit | No | Max movements per instance | |
| order | No | desc | |
| since | No | Only movements on or after this ISO date/time | |
| cnjNumber | Yes | CNJ unified case number, formatted (NNNNNNN-DD.AAAA.J.TR.OOOO) or as 20 digits. Check digits are validated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| court | Yes | ||
| found | Yes | ||
| cnjNumber | Yes | ||
| instances | Yes |