{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cognite 3D Asset Mapping Document AI API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Document AI",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Ask questions about one or more documents.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/ai/tools/documents/ask",
            "headers": [
              {
                "name": "content-type",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API endpoint uses a language model to answer questions about documents. Provided with a natural language question and a list of files, the API returns a multi-part answer with references to the locations in the documents that were used to build the answer.\n\n### Limitations\n- Currently, we only support PDF files.\n- The PDF files can be a maximum of 400 pages long.\n- You can only pass 100 files in a single request."
        },
        {
          "info": {
            "name": "Summarize documents.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/ai/tools/documents/summarize",
            "headers": [
              {
                "name": "content-type",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generates concise summaries for a list of input documents using a language model."
        }
      ]
    }
  ],
  "bundled": true
}