Almanac · Schema

ReportPostResponse

Company

Properties

Name Type Description
cuit string
sections object
status object
generated_at string
informe_id stringnull
cache_hit boolean true si esta respuesta REUTILIZA un informe ya persistido y cobrado, sin correr el Motor ni cobrar de nuevo — dos casos: (a) replay de la MISMA Idempotency-Key (ver el header en POST /v1/reports), o (
tipo_accion object
costo_unidades integer
View JSON Schema on GitHub

JSON Schema

almanac-ar-report-post-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/almanac-ar/json-schema/almanac-ar-report-post-response-schema.json",
  "title": "ReportPostResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/almanac-ar-v1-openapi.json#/components/schemas/ReportPostResponse",
  "allOf": [
    {
      "$ref": "#/$defs/ReportResult"
    },
    {
      "type": "object",
      "properties": {
        "informe_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "cache_hit": {
          "type": "boolean",
          "description": "true si esta respuesta REUTILIZA un informe ya persistido y cobrado, sin correr el Motor ni cobrar de nuevo — dos casos: (a) replay de la MISMA Idempotency-Key (ver el header en POST /v1/reports), o (b) esta request perdió una carrera de generación CONCURRENTE contra otra para el mismo CUIT+cuenta y recibió el resultado de la ganadora. Desde 2026-08-06 este endpoint YA NO cachea por tiempo: sin Idempotency-Key, un POST repetido para el mismo CUIT SIEMPRE corre el Motor y SIEMPRE cobra, aunque el último informe tenga segundos de antigüedad."
        },
        "tipo_accion": {
          "$ref": "#/$defs/TipoAccion"
        },
        "costo_unidades": {
          "type": "integer",
          "minimum": 0
        }
      },
      "required": [
        "informe_id"
      ],
      "additionalProperties": false
    }
  ],
  "$defs": {
    "ReportResult": {
      "type": "object",
      "properties": {
        "cuit": {
          "type": "string"
        },
        "sections": {
          "type": "object",
          "properties": {
            "identidad": {
              "$ref": "#/$defs/ReportSection"
            },
            "crediticio": {
              "$ref": "#/$defs/ReportSection"
            },
            "cheques": {
              "$ref": "#/$defs/ReportSection"
            },
            "screening": {
              "$ref": "#/$defs/ReportSection"
            },
            "comex": {
              "$ref": "#/$defs/ReportSection"
            },
            "riesgoFiscal": {
              "$ref": "#/$defs/ReportSection"
            },
            "marcas": {
              "$ref": "#/$defs/ReportSection"
            },
            "concursos": {
              "$ref": "#/$defs/ReportSection"
            }
          }
        },
        "status": {
          "$ref": "#/$defs/ReportStatus"
        },
        "generated_at": {
          "type": "string"
        }
      },
      "required": [
        "cuit",
        "sections",
        "status",
        "generated_at"
      ],
      "additionalProperties": false
    },
    "ReportSection": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ReportSectionField"
          }
        },
        "source": {
          "type": "string"
        },
        "snapshot_date": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ok",
            "parcial",
            "no_disponible"
          ]
        },
        "error_reason": {
          "type": "string"
        }
      },
      "required": [
        "title",
        "fields",
        "source",
        "snapshot_date",
        "status"
      ],
      "additionalProperties": {
        "nullable": true
      },
      "description": "Sección normalizada del informe. Además de los campos listados, algunas secciones traen un bloque propio: 'crediticio' → `entidades[]`, 'comex' → `comex`, 'riesgoFiscal' → `riesgoFiscal`, 'marcas' → `marcas[]`, 'concursos' → `concursos[]`. Ver NormalizedSection en lib/informes/types.ts (repo) para el detalle completo de cada bloque."
    },
    "ReportSectionField": {
      "type": "object",
      "properties": {
        "label": {
          "type": "string"
        },
        "value": {
          "type": [
            "string",
            "null"
          ]
        },
        "fuente_dataset_id": {
          "type": "string"
        },
        "snapshot_date": {
          "type": "string"
        }
      },
      "required": [
        "label",
        "value",
        "fuente_dataset_id",
        "snapshot_date"
      ],
      "additionalProperties": false
    },
    "ReportStatus": {
      "type": "string",
      "enum": [
        "ok",
        "parcial",
        "no_resuelto"
      ],
      "description": "'ok': todas las secciones resolvieron con dato real. 'parcial': al menos una sección tiene dato real, pero no todas. 'no_resuelto': ninguna fuente entregó nada — no se cobra."
    },
    "TipoAccion": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "nuevo",
        "actualizacion",
        null
      ],
      "description": "Qué acción representa la consulta, en lenguaje de cliente — nunca 'créditos'. 'nuevo': primer informe de este CUIT para la cuenta (200 unidades). 'actualizacion': ya existía un informe previo (50 unidades) — se cobra siempre, cambie o no cambie el contenido respecto del informe anterior."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/almanac-ar-report-post-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.