{
  "info": {
    "name": "Extracta.ai — mcp.ai",
    "description": "REST API for the Extracta.ai MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/extracta_ai",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "extracta_ai_create_classification",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/classification",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "classification"
          ]
        },
        "description": "Creates a new document classification configuration. Define a list of possible document types with their characteristics (name, description, unique words). Returns a classification ID that can be used",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"classificationDetails\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "extracta_ai_create_extraction",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/extraction",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "extraction"
          ]
        },
        "description": "Creates a new extraction configuration for processing documents. Define what fields to extract (e.g., names, dates, amounts) and processing options. Returns an extraction ID that can be used to upload",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"extractionDetails\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "extracta_ai_delete_classification",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/classification",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "classification"
          ]
        },
        "description": "Permanently deletes an entire document classification process including all associated batches, results, and uploaded files. Use this when you want to remove a classification that is no longer needed.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"classificationId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "extracta_ai_delete_extraction",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/extraction",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "extraction"
          ]
        },
        "description": "Permanently deletes an extraction job and its configuration from the system. Use this when you want to remove an extraction job that is no longer needed. This action is idempotent - calling it multipl",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"extractionId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "extracta_ai_get_batch_results",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/batch/results",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "batch",
            "results"
          ]
        },
        "description": "Retrieves extraction results for a specific batch of documents. Returns the extracted data for each file in the batch, along with processing status and file information. If the batch is still processi",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"batchId\": \"\",\n  \"extractionId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "extracta_ai_get_credits",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/credits",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "credits"
          ]
        },
        "description": "Retrieves the current credit balance available on the account. The system operates on a per-page consumption model where 1 credit = 1 page of document processing. Use this action to check remaining cr",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "extracta_ai_update_classification",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/classification",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "classification"
          ]
        },
        "description": "Updates an existing document classification by modifying its parameters. Use this to change the classification name, description, or document types (including their keywords and linked extractions). R",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"classificationId\": \"\",\n  \"classificationDetails\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "extracta_ai_update_extraction",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/extraction",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "extraction"
          ]
        },
        "description": "Updates an existing document extraction process by modifying specified parameters. Only fields provided in the request are modified; omitted fields remain unchanged. Use this to change the extraction'",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"extractionId\": \"\",\n  \"extractionDetails\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "extracta_ai_view_classification",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/view/classification",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "view",
            "classification"
          ]
        },
        "description": "Retrieves details of an existing classification configuration including name, description, document types, associated keywords, and linked extraction templates. Use this action to verify classificatio",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"classificationId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "extracta_ai_view_extraction",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/view/extraction",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "view",
            "extraction"
          ]
        },
        "description": "Retrieves detailed configuration and status information for an existing extraction job. Returns the extraction's name, description, language, configured fields, processing options, and any associated ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"extractionId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}