The whole source, organized and ready to query: every endpoint on this page answers in milliseconds. Every response carries
as_of: how current the data is. How datasets work.Search the resolutions
POST /pe/servir-tsc/resolutions-search/v1 Dataset
One search over both chambers and the full text of every resolution since 2010, filtered by number, year, chamber or session date.
as_of (how current the data is), the applied filters, total (matches across every page), page, per_page, total_pages, count and results[], most recent session first. Every result carries id (the resolution’s permanent identifier), resolution_number and resolution_year (e.g. 5763 of 2025), chamber (primera_sala or segunda_sala), resolution_key (how it is cited, e.g. 5763-2025-primera_sala), title, resolution_date (the session it belongs to), entity (the public entity the case is against), expediente, regime, subject, summary (the tribunal’s own sumilla), text_status (ok, scanned or missing), document_url, page_url and uploaded_at.
Search results leave out the text: a single resolution can run to tens of thousands of characters.
query still matches against it, so a phrase from the body finds the resolution; read the text itself with the Tribunal del Servicio Civil Resolution endpoint.One resolution, in full
POST /pe/servir-tsc/resolution/v1 Dataset
as_of, found, resolution_id and resolution, which carries everything the search returns plus content: a window onto the full text, with text, offset, total_length, has_more and next_offset. Every result carries id (the resolution’s permanent identifier), resolution_number and resolution_year (e.g. 5763 of 2025), chamber (primera_sala or segunda_sala), resolution_key (how it is cited, e.g. 5763-2025-primera_sala), title, resolution_date (the session it belongs to), entity (the public entity the case is against), expediente, regime, subject, summary (the tribunal’s own sumilla), text_status (ok, scanned or missing), document_url, page_url and uploaded_at.
Long resolutions are read a range at a time: send
offset and limit, then pass the response’s next_offset back as offset until has_more is false. content is null when text_status is scanned (the tribunal published that resolution as an image) or missing; document_url still links the document.An
id the tribunal has not published returns found: false with HTTP 200, not an error.Full reference
Schemas, all response fields, and an interactive playground.