{
  "opencollection": "1.0.0",
  "info": {
    "name": "RentAHuman.ai Bookings API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Bookings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List bookings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://rentahuman.ai/api/bookings",
            "params": [
              {
                "name": "humanId",
                "value": "",
                "type": "query"
              },
              {
                "name": "agentId",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get bookings filtered by human ID, agent ID, or status."
        },
        {
          "info": {
            "name": "Book a human",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://rentahuman.ai/api/bookings",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a booking for a human to perform a physical-world task."
        },
        {
          "info": {
            "name": "Get booking status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://rentahuman.ai/api/bookings/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get booking status"
        },
        {
          "info": {
            "name": "Update booking",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://rentahuman.ai/api/bookings/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update booking status or confirm payment with transaction hash."
        }
      ]
    }
  ],
  "bundled": true
}