Retrieve a single expediente and all of its related records in one request. Unlike the list endpoint, this response includes the full set of scalar fields plus three nested relations:Documentation Index
Fetch the complete documentation index at: https://mintlify.com/sheeplettuce/Monitor/llms.txt
Use this file to discover all available pages before exploring further.
aseguradora (linked insurer), historial_estado (status-change audit log, newest-first), and evidencia (file metadata). All authenticated roles may call this endpoint.
Endpoint
Path parameter
The unique claim number that serves as the expediente’s primary key (e.g.
SIN-2024-001). Must be a non-empty string — passing an empty segment returns 400.Request
No query parameters or request body.Response — 200 OK
Returns a single expediente object with all scalar fields and nested relations.Core fields
Primary key — the siniestro (claim) number.
Invoice number for the repair.
Internal work-order reference.
Service advisor assigned to this claim.
Current workflow status. One of
Ingreso, Restauracion, Pendiente_de_salida, or Salida.Storage location for evidence files. One of
Local or Nube. Defaults to Local.Foreign key to the
aseguradora table.FK to the
usuario who created this record.Date fields
Date the vehicle entered the shop. No time component — stored at
12:00:00 UTC to avoid timezone drift.Date the damage estimate (valuación) was completed.
Date the insurer authorized the repair.
Date all replacement parts were received in full.
Date the vehicle repair was completed.
Vehicle fields
Vehicle make (e.g.
"Toyota").Vehicle model (e.g.
"Corolla").Body type or trim (e.g.
"Sedán", "SUV").Vehicle color.
License plate number.
Free-text vehicle description field (sometimes used for VIN or additional notes).
Client fields
Full name of the policyholder / vehicle owner.
Client phone number.
Client email address.
Staff fields
Body technician (carrocero) assigned to this unit.
Mechanic assigned to this unit.
General observations or notes about the repair.
Insurer-communication fields
Free-text field for notes exchanged with the insurer.
Timestamp of the latest insurer comment. Full datetime with timezone.
Custom dato fields
These four slot pairs store shop-specific milestones or tracking values. Each has a text label (datoN) and an associated timestamp (datoN_fecha_hora).
Custom tracking label slot 1 (up to 500 chars).
Timestamp for
dato1.Custom tracking label slot 2.
Timestamp for
dato2.Custom tracking label slot 3.
Timestamp for
dato3.Custom tracking label slot 4.
Timestamp for
dato4.Document checklist flags
Boolean flags indicating whether each required document has been received. All default tonull (not yet confirmed).
Admission work order received.
Client government-issued ID received.
Vehicle registration card received.
Insurance policy cover page received.
Repair authorization letter received.
Deductible payment receipt received.
Final settlement document received.
Customer satisfaction survey completed.
Nested relations
The linked insurer record.
Audit log of all status transitions for this expediente, ordered newest-first.
Metadata records for every file attached to this expediente. Does not include binary content — use the Evidencias endpoints to download files.
Example response body
Error responses
| Status | Body | Cause |
|---|---|---|
400 | { "error": "No. Siniestro requerido" } | The :no_siniestro path segment is missing or not a valid string |
401 | { "error": "Token requerido" } | No Authorization header provided |
401 | { "error": "Token inválido o expirado" } | JWT verification failed |
404 | { "error": "Expediente no encontrado" } | No record with that no_siniestro exists |
500 | { "error": "Error al obtener el expediente" } | Database or internal server error |