{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ledger Analytics Cashflow Models API",
    "version": "0.0.30"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Cashflow Models",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List cashflow models",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.korra.com/analytics/cashflow-model",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return per page."
              }
            ]
          },
          "docs": "List cashflow models"
        },
        {
          "info": {
            "name": "Create a cashflow model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.korra.com/analytics/cashflow-model",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Composes a cashflow model from a previously fitted development model and tail model, referenced by name."
        },
        {
          "info": {
            "name": "List available cashflow model types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.korra.com/analytics/cashflow-model-type"
          },
          "docs": "List available cashflow model types"
        },
        {
          "info": {
            "name": "Retrieve a cashflow model",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.korra.com/analytics/cashflow-model/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifier of the resource."
              }
            ]
          },
          "docs": "Retrieve a cashflow model"
        },
        {
          "info": {
            "name": "Delete a cashflow model",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.korra.com/analytics/cashflow-model/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifier of the resource."
              }
            ]
          },
          "docs": "Delete a cashflow model"
        },
        {
          "info": {
            "name": "Predict from a cashflow model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.korra.com/analytics/cashflow-model/:id/predict",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifier of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Runs cashflow prediction. `predict_config.initial_loss_name` optionally names an\ninitial loss triangle to seed the projection.\n"
        }
      ]
    }
  ],
  "bundled": true
}