{
  "info": {
    "name": "Ragic — mcp.ai",
    "description": "REST API for the Ragic 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/ragic",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "ragic_delete_entry",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/entry",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "entry"
          ]
        },
        "description": "Tool to delete an entry from a Ragic sheet. Use when you need to remove a specific record from a sheet by its record ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"server\": \"\",\n  \"record_id\": 0,\n  \"tab_folder\": \"\",\n  \"sheet_index\": 0,\n  \"account_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ragic_download_file",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/download/file",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "download",
            "file"
          ]
        },
        "description": "Tool to download uploaded files, images, or email attachments from Ragic. Use the file reference returned from API responses (e.g., from record fields).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"server\": \"\",\n  \"account_name\": \"\",\n  \"file_reference\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ragic_get_action_buttons",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/action/buttons",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "action",
            "buttons"
          ]
        },
        "description": "Tool to retrieve the list of available action buttons on a Ragic sheet. Returns action button IDs and names. Use category=massOperation to get buttons available for mass operations.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"server\": \"\",\n  \"category\": \"\",\n  \"tab_folder\": \"\",\n  \"sheet_index\": 0,\n  \"account_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ragic_get_custom_print_report",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/custom/print/report",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "custom",
            "print",
            "report"
          ]
        },
        "description": "Tool to retrieve a custom print report for a Ragic record in various formats (pdf, png, docx). Use when you need to generate and download a formatted report using a specific template.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"server\": \"\",\n  \"record_id\": 0,\n  \"fileFormat\": \"\",\n  \"tab_folder\": \"\",\n  \"sheet_index\": 0,\n  \"account_name\": \"\",\n  \"fileNameRefDomainId\": 0,\n  \"ragicCustomPrintTemplateId\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ragic_get_entry",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/entry",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "entry"
          ]
        },
        "description": "Tool to retrieve a single entry from a Ragic sheet by its record ID. Use when you need to fetch specific record data including field values and optional subtable data.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"v\": \"\",\n  \"info\": false,\n  \"server\": \"\",\n  \"comment\": false,\n  \"history\": false,\n  \"record_id\": 0,\n  \"subtables\": false,\n  \"tab_folder\": \"\",\n  \"sheet_index\": 0,\n  \"account_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ragic_get_record_as_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/record/as/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "record",
            "as",
            "pdf"
          ]
        },
        "description": "Tool to retrieve a PDF version of a Ragic record. Use when you need to export or download a record in PDF format. The PDF will contain the full record data in a formatted document.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"server\": \"\",\n  \"record_id\": 0,\n  \"tab_folder\": \"\",\n  \"sheet_index\": 0,\n  \"account_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ragic_search_records",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search/records",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search",
            "records"
          ]
        },
        "description": "Search Records",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"info\": false,\n  \"limit\": 0,\n  \"bbcode\": false,\n  \"offset\": 0,\n  \"server\": \"\",\n  \"comment\": false,\n  \"history\": false,\n  \"listing\": false,\n  \"reverse\": false,\n  \"approval\": false,\n  \"subtables\": false,\n  \"ignoreMask\": false,\n  \"sheet_path\": \"\",\n  \"account_name\": \"\",\n  \"conversation\": false,\n  \"search_query\": \"\",\n  \"ignoreFixedFilter\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}