{
  "info": {
    "name": "Bika.ai — mcp.ai",
    "description": "REST API for the Bika.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/bika",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "bika_create_records",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/records",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "records"
          ]
        },
        "description": "Create one to ten records in a Bika database in one request and return every created record ID and field value.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"records\": \"\",\n  \"space_id\": \"\",\n  \"field_key\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bika_delete_records",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/records",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "records"
          ]
        },
        "description": "Permanently delete one to ten explicitly identified records from a Bika database and return a deletion result for each ID. This deletion is permanent.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"space_id\": \"\",\n  \"record_ids\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bika_get_database_schema",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/database/schema",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "database",
            "schema"
          ]
        },
        "description": "Get a Bika database's metadata, views, and field definitions, including the field IDs needed to read and write records by ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"space_id\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bika_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 Bika record by ID, with field values keyed by field name or field ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"space_id\": \"\",\n  \"field_key\": \"\",\n  \"record_id\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bika_list_nodes",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/nodes",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "nodes"
          ]
        },
        "description": "List the nodes in a Bika space so an agent can discover database and automation resource IDs by name, type, and path.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"space_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bika_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 cursor-controlled page of records from a Bika database, optionally selecting specific fields by name or ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"fields\": \"\",\n  \"space_id\": \"\",\n  \"field_key\": \"\",\n  \"page_size\": 0,\n  \"database_id\": \"\",\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bika_list_spaces",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/spaces",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "spaces"
          ]
        },
        "description": "List spaces available to the connected Bika account and return the space IDs needed by database tools.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bika_update_records",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/records",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "records"
          ]
        },
        "description": "Update fields on one to ten existing Bika records in one request and return the updated records.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"records\": \"\",\n  \"space_id\": \"\",\n  \"field_key\": \"\",\n  \"database_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}