Ucotron Cortex
API reference

The tenant's policies.

Flow guide: Portfolio and plots

GET
/v1/policies

Authorization

bearerFixtureToken
AuthorizationBearer <token>

Token fixture del sandbox. Hay tres: acceso completo, sólo lectura y otra organización — para poder ejercitar 200, 403 y 404 cross-tenant. Ninguno es un secreto.

In: header

Query Parameters

cursor?string

Opaco. Usá el nextCursor de la página anterior; construirlo a mano se rompe cuando cambie la paginación.

limit?integer
Range1 <= value <= 250
Default25

Header Parameters

x-ucotron-tenant-id?string

Organización. Si viene, tiene que coincidir con la de la credencial: un header que la sobreescribiera sería el propio bypass.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/policies"
{  "data": [    {      "policyId": "policy_sbox_ac91ce43",      "clientId": "client_sbox_e7d43e17",      "portfolioId": "portfolio_sbox_58159f1a",      "aoiIds": [        "aoi_sbox_f0c86d81"      ],      "peril": "hail",      "sumInsuredUsd": 780000,      "deductiblePct": 10,      "coverage": {        "start": "2025-11-15T00:00:00.000Z",        "end": "2026-04-30T00:00:00.000Z"      },      "status": "active"    }  ],  "page": {    "nextCursor": null,    "previousCursor": null,    "limit": 25,    "hasMore": true  }}