Ucotron Cortex
Partner API

¿Ya se puede peritar? Estado de la imagen post-evento y su nubosidad.

Flow guide: Damage assessment

POST
/v1/damage/feasibility
AuthorizationBearer <token>

Clave de API. Se acuña una sola vez y no se vuelve a mostrar. Hay dos por organización y no son intercambiables: uco_live_ sirve contra producción y uco_sbox_ contra el sandbox; presentar una contra el entorno equivocado responde 401 environment_mismatch.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/damage/feasibility" \  -H "Content-Type: application/json" \  -d '{    "peril": "string",    "eventDate": "string"  }'

{  "status": "ready",  "peril": "granizo",  "footprintType": "hail",  "eventDate": "2026-01-15",  "pre": {    "from": "2025-12-16",    "to": "2026-01-13",    "scenes": [      {        "id": "S2A_20260105",        "datetime": "2026-01-05T14:02:11Z",        "cloudCover": 8      }    ],    "usableScenes": 1,    "bestCloudPct": 8  },  "post": {    "from": "2026-01-18",    "to": "2026-02-09",    "scenes": [      {        "id": "S2B_20260122",        "datetime": "2026-01-22T14:01:58Z",        "cloudCover": 12      }    ],    "usableScenes": 1,    "bestCloudPct": 12  },  "retryAfter": null,  "message": "Hay imagen suficiente antes y después del evento (mejor escena posterior: 12 % de nubes).",  "maxCloudPct": 40}