DBT Capital · Schema

GetDocumentsV2RequestBody

CompanyFinanceLoansSwedenBusiness

Properties

Name Type Description
sourceProvider object
documentId object
tags object
relations object
createdByType string
includeArchived boolean
order string
View JSON Schema on GitHub

JSON Schema

dbt-se-get-documents-v2-request-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dbt-se/json-schema/dbt-se-get-documents-v2-request-body-schema.json",
  "title": "GetDocumentsV2RequestBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dbt-se-documents-api-openapi.yml#/components/schemas/GetDocumentsV2RequestBody",
  "type": "object",
  "properties": {
    "sourceProvider": {
      "type": "object",
      "properties": {
        "eq": {
          "type": "string",
          "enum": [
            "google-drive",
            "sie",
            "files",
            "db-service"
          ],
          "description": "The type of document manager used to store the document. One per source provider.",
          "title": "DocumentManagerType"
        },
        "neq": {
          "type": "string",
          "enum": [
            "google-drive",
            "sie",
            "files",
            "db-service"
          ],
          "description": "The type of document manager used to store the document. One per source provider.",
          "title": "DocumentManagerType"
        }
      }
    },
    "documentId": {
      "type": "object",
      "properties": {
        "in": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "nin": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "tags": {
      "type": "object",
      "properties": {
        "in": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DocumentTagType"
          }
        },
        "nin": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DocumentTagType"
          }
        }
      }
    },
    "relations": {
      "type": "object",
      "properties": {
        "containsType": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DocumentRelationType"
          }
        },
        "nContainsType": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DocumentRelationType"
          }
        },
        "in": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DocumentRelationFilter"
          }
        },
        "nin": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DocumentRelationFilter"
          }
        },
        "accuracyThreshold": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        }
      }
    },
    "createdByType": {
      "type": "string",
      "enum": [
        "dbt-staff-member",
        "system",
        "national-identification-number"
      ]
    },
    "includeArchived": {
      "type": "boolean",
      "default": false
    },
    "order": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "desc"
    }
  },
  "$defs": {
    "DocumentRelationFilter": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "organisation"
              ]
            },
            "value": {
              "type": "string"
            }
          },
          "required": [
            "type",
            "value"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "other"
              ]
            },
            "value": {
              "type": "string"
            }
          },
          "required": [
            "type",
            "value"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "national-identification-number"
              ]
            },
            "value": {
              "type": "string"
            }
          },
          "required": [
            "type",
            "value"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "case"
              ]
            },
            "value": {
              "type": "integer"
            }
          },
          "required": [
            "type",
            "value"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "physical-person-id"
              ]
            },
            "value": {
              "type": "string",
              "format": "uuid"
            }
          },
          "required": [
            "type",
            "value"
          ]
        }
      ]
    },
    "DocumentRelationType": {
      "type": "string",
      "enum": [
        "organisation",
        "other",
        "national-identification-number",
        "case"
      ]
    },
    "DocumentTagType": {
      "type": "string",
      "enum": [
        "STRUCTURE",
        "COVENANT-DOCUMENTATION",
        "LOAN-AGREEMENT",
        "OTHER",
        "FALLBACK-FINANCIALS",
        "ANALYSIS-MODEL",
        "UC",
        "ANNUAL-REPORT",
        "PITCH-DECK",
        "CAP-TABLE",
        "BUDGET",
        "BUDGET-EXTRACTION-ATTEMPTED",
        "GENERATED-EXPERIMENTAL-ANALYSIS-MODEL",
        "GENERATED-ANALYSIS-MODEL",
        "CORPORATE-SHEET",
        "CREDIT-COMMITTEE-MINUTES",
        "BOARD-MINUTES"
      ]
    }
  }
}

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/dbt-se-get-documents-v2-request-body"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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