{
  "info": {
    "name": "QuintaDB — mcp.ai",
    "description": "REST API for the QuintaDB 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/quintadb",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "quintadb_create_record",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/record",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "record"
          ]
        },
        "description": "Create one record in a QuintaDB form using values keyed by field ID. The tool supplies QuintaDB's required entity_id inside the nested values body.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"entity_id\": \"\",\n  \"record_id\": \"\",\n  \"database_id\": \"\",\n  \"field_values\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "quintadb_create_records",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/records",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "records"
          ]
        },
        "description": "Create 2-100 QuintaDB records using sequential individual API calls in input order. This is not atomic: some records can succeed while others fail, and every item returns its own outcome.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"records\": \"\",\n  \"entity_id\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "quintadb_delete_records_by_id",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/records/by/id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "records",
            "by",
            "id"
          ]
        },
        "description": "Permanently delete only the explicitly supplied QuintaDB record IDs from one form. This tool never supports delete-all or filter-based deletion.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"entity_id\": \"\",\n  \"record_ids\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "quintadb_get_database",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/database",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "database"
          ]
        },
        "description": "Get metadata and resource counts for one allowed QuintaDB database by app ID. Use this instead of global database discovery when the API key is restricted to selected apps.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "quintadb_get_record",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/record",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "record"
          ]
        },
        "description": "Get one record by exact ID from an allowed QuintaDB database. Values are returned under their field IDs for reliable use with QuintaDB schema and record tools.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"record_id\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "quintadb_list_fields",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/fields",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "fields"
          ]
        },
        "description": "List the fields in a QuintaDB form, including field IDs and types. Use these IDs as keys in record values and search predicates.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"entity_id\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "quintadb_list_forms",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/forms",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "forms"
          ]
        },
        "description": "List forms/tables in an allowed QuintaDB database, including IDs and record counts needed for field and record operations.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "quintadb_list_records",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/records",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "records"
          ]
        },
        "description": "Return one page of records from a QuintaDB form, optionally constrained to a report. Record values remain keyed by field ID for reliable use with schema and write tools.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0,\n  \"entity_id\": \"\",\n  \"report_id\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "quintadb_list_reports",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/reports",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "reports"
          ]
        },
        "description": "List QuintaDB reports/views for a form. Use a returned report ID to constrain record listing or search.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"entity_id\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "quintadb_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 in one QuintaDB form using explicit field or system-column predicates. Groups are combined with OR; predicates inside each group are combined with AND.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"entity_id\": \"\",\n  \"report_id\": \"\",\n  \"database_id\": \"\",\n  \"search_groups\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "quintadb_update_record",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/record",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "record"
          ]
        },
        "description": "Update selected fields on one QuintaDB record using a field-ID keyed values object.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"record_id\": \"\",\n  \"database_id\": \"\",\n  \"field_values\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "quintadb_update_records_by_id",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/records/by/id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "records",
            "by",
            "id"
          ]
        },
        "description": "Update 2-100 exact QuintaDB record IDs using sequential individual API calls in input order. This is not atomic: some updates can succeed while others fail, and every item returns its own outcome.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"updates\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}