PandaDoc

documents_metadata_batch_get

Returns metadata for a list of 1-40 documents in a single request — the batch variant of `documents_metadata_get`. Prefer this tool over calling `documents_metadata_get` in a loop. The response is `{count, results[]}`; each entry is keyed by `document_id` and discriminated by `status` (`ok`, `extraction_pending`, `extraction_failed`, `extraction_not_started`, `not_found`, `access_denied`, `internal_error`). A failure for one document does not fail the whole request.

Remote svitlana-omelia/pandadoc

Remote (network-hosted)

Other tools also called documents_metadata_batch_get? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "field_keys": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 150,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional case-sensitive filter on metadata field `key` (the human-readable name returned as `results[].key` by the single-document endpoint, e.g. `Contract value`). Unknown keys are silently ignored. When omitted, every populated field is returned per document."
    },
    "document_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 40,
      "minItems": 1,
      "description": "1-40 document IDs to fetch metadata for. Duplicates are rejected by the server."
    }
  }
}