Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.judit.io/llms.txt

Use this file to discover all available pages before exploring further.

Glossary organized in three layers: Brazilian legal concepts, payload properties (request/response fields) and internal architecture (datalake, hot storage, crawler).
🤖 Use this glossary as a quick reference. For the full structure of each object (Lawsuit, Entity, Warrant, Penal Execution), check the Schemas.
TermMeaning
CNJNational Council of Justice — unique lawsuit number in pattern NNNNNNN-DD.AAAA.J.TR.OOOO (20 digits).
CPFIndividual taxpayer ID (Federal Revenue). 11 digits.
CNPJLegal-entity registry. 14 digits. Accepts the new alphanumeric format (RFB IN 2229/24).
OABBrazilian Bar Association ID. Lawyer identifier in <number><state> format (e.g. 123456SP).
RJIIndividual Judicial Registry assigned by BNMP 2.0 to each wanted person.
TermMeaning
Lawsuit coverHeader set: number, class, subject, claim amount, parties, distribution date, district, judge.
StepEach movement/entry recorded in the case files. Listed chronologically.
PartyPerson, company or authority involved (Plaintiff, Defendant, Interested, Lawyer).
SideParty side: Active (Plaintiff), Passive (Defendant), Interested (Third party).
County (comarca)Territorial division of the judiciary — jurisdiction of a 1st-instance judge.
Court (vara)Jurisdictional unit within a county (Civil, Criminal, Labor, etc.).
InstanceLawsuit degree: 1 (originating) or 2 (appeal).
ClassProcedure type (e.g. Common Civil Procedure, Writ of Mandamus).
SubjectTopic/matter as per the CNJ table (e.g. Traffic Accident).
DistributionDate when the lawsuit was officially assigned to a court.
Final judgment (trânsito em julgado)Final decision with no appeals available.
TermMeaning
State JusticeTJ of each state — general civil/criminal jurisdiction.
Federal JusticeTRFs (1 to 6) — Union, agencies, federal disputes.
Labor JusticeTST + TRTs (1 to 24) — labor relations.
Electoral JusticeTSE + TREs — elections and electoral crimes.
Military JusticeSTM + State Military Justice — military crimes.
Superior CourtsSTF, STJ, TST, TSE, STM.
BNMPNational Arrest Warrant Database — CNJ database with active warrants.
Full list: Court Coverage.
TermMeaning
Judicial secrecyLawsuit restricted to bound parties. Requires the lawyer’s credential (see Credentials Vault).
secrecy_level 0–5Secrecy scale. 0 = public; 5 = absolute secrecy.
Arrest warrantJudicial arrest order (preventive, temporary, definitive, recapture). Collected from BNMP.
Penal executionSentence-enforcement lawsuit, with phases like progression and parole.

Payload properties (request/response)

FieldWhat it is
request_idUUID generated when you create a request (POST /requests).
response_idUUID of each response generated for a request (multiple possible).
tracking_idUUID of a tracker (POST /tracking).
callback_idUnique UUID per webhook delivery (use for idempotency).
origin_idUUID linking child requests to a parent request.
FieldWhat it is
cache_ttl_in_daysHow many days a cached result stays valid before forcing a fresh fetch.
cached_responsetrue = response from datalake; false = fresh fetch from court. See Webhook.
is_fallback_sourceIndicates the data came from a secondary source (e.g. court was offline).
dictionary_updated_atDate of the last dictionary update (subjects, classes).
FieldWhat it is
sideParty side: Active, Passive, Interested, Unknown.
amount_gte / amount_lteMinimum/maximum claim amount.
distribution_date_gte / _lteDistribution-date window.
last_step_date_gte / _lteLast-step date window.
tribunals.keys + not_equalIncludes (false) or excludes (true) courts — see Coverage.
subject_codes.keys + not_equalOfficial CNJ subject codes.
classification_codes.keys + not_equalOfficial CNJ class codes.
party_namesFilter by party name.
party_documentsFilter by party CPF/CNPJ.
FieldWhat it is
pageCurrent page (1-based).
page_sizeItems per page (max 1000).
page_countTotal items in this page.
all_countAbsolute total of items matched by the filter.
all_pages_countTotal pages considering page_size.
page_dataArray with current-page items.
FieldWhat it is
recurrenceInterval (in days) between tracker runs.
notification_emailsEmails that receive notifications on every update.
notification_filters.step_termsTerms that filter which steps trigger notifications.
tracked_items_countTotal items (lawsuits) the tracker is following.
hour_rangeHour of the day when the tracker runs.
FieldWhat it is
entity_idInternal UUID.
entity_typeperson (PF) or company (PJ).
main_documentCPF (PF) or CNPJ (PJ).
aka_namesOther associated names/aliases.
addressesList of addresses.
contactsPhones and emails.
parents(PF) Parents (mother/father).
partners(PJ) Partners and administrators.
branch_activities(PJ) CNAE activities.
legal_nature(PJ) Legal nature.
revenue_service_activeStatus with the Federal Revenue.
FieldWhat it is
warrant_typewarrant_of_arrest or recapture.
arrest_typepreventive, temporary, definitive.
law_type.number / descriptionInfringed law/articles.
issue_date / expiration_dateIssue and expiration dates.
duration_years / _months / _daysCalculated sentence.
regimeAberto, Semiaberto, Fechado.
judgementSummarySentence/order text.
FieldWhat it is
error.nameError name (e.g. HttpBadRequestError, HttpNotFoundError).
error.messageError group (e.g. BAD_REQUEST).
error.dataValidation details/messages.
LAWSUIT_NOT_FOUNDapplication_error returned when a search has no result.

Judit internal architecture

TermWhat it is
DatalakeCentral repository of lawsuits collected by Judit (≈ hundreds of millions of lawsuits).
Hot StorageHigh-performance cache layer — source of synchronous queries.
CrawlerRobot that collects data at courts. Each collection generates a crawl_id.
On-DemandReal-time fetch mode, bypassing the datalake.
ServiceURLFunction
Requestsrequests.production.judit.ioCreate and read async requests.
Trackingtracking.production.judit.ioContinuous monitoring.
Lawsuitslawsuits.production.judit.ioSynchronous datalake, registration data, attachments.
Crawlercrawler.production.judit.ioCredentials Vault.
User(internal)Auth and callback management.
EventWhen it fires
response_createdEach new response generated (cache or court).
request_completedEnd of a request flow.
tracking_responseEach new movement detected by a tracker.
Details at Webhooks.
TermWhat it is
crawl_idUUID of the crawler run that collected the data.
dashboard_id(Optional) Link with specific dashboards.
criminaltrue for criminal-sphere lawsuits.
is_fallback_sourceData collected from a secondary source.
revenue_update_dateLast Federal Revenue update for the entity.
datalake_id / datalake_segmentInternal datalake identifiers.
possible_homonym / potential_homonymIndicates suspected homonym in the result.

Next steps

  • Court Coverage — acronyms to use in filters.
  • Lawsuit Schema — full structure of the main object.
  • Enums — literal values accepted per property.
  • FAQ — frequently asked questions.