{
  "openapi": "3.0.1",
  "info": {
    "title": "AskAround - Hands-free AI Concierge for Restaurants and Hotels",
    "description": "Tell it what you want in plain words and your GPS location. A team of AI agents finds nearby restaurants or hotels, reads only recent reviews, checks partner live availability, and returns a ranked top 3 with directions and a spoken summary.",
    "version": "0.1",
    "x-build-id": "Vsefjk2HHw8MJUgTN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/roshan_7~askaround/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-roshan_7-askaround",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/roshan_7~askaround/runs": {
      "post": {
        "operationId": "runs-sync-roshan_7-askaround",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/roshan_7~askaround/run-sync": {
      "post": {
        "operationId": "run-sync-roshan_7-askaround",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "request",
          "latitude",
          "longitude"
        ],
        "properties": {
          "request": {
            "title": "What do you need?",
            "type": "string",
            "description": "Say it the way you would ask a local friend, for example \"Find a nearby Italian restaurant with the best recent ratings and guide me there\" or \"Hotel room for 2 tonight under 4000 rupees with parking\"."
          },
          "latitude": {
            "title": "Latitude",
            "type": "number",
            "description": "Your current latitude (from the phone GPS). Example: 12.9698 for Whitefield, Bengaluru."
          },
          "longitude": {
            "title": "Longitude",
            "type": "number",
            "description": "Your current longitude (from the phone GPS). Example: 77.7500 for Whitefield, Bengaluru."
          },
          "category": {
            "title": "Category",
            "enum": [
              "auto",
              "restaurant",
              "hotel"
            ],
            "type": "string",
            "description": "Leave on Auto to let the Intent agent decide from your request.",
            "default": "auto"
          },
          "radiusKm": {
            "title": "Search radius (km)",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "How far from your location the Scout agent searches.",
            "default": 3
          },
          "maxPlaces": {
            "title": "Places to compare",
            "minimum": 3,
            "maximum": 30,
            "type": "integer",
            "description": "How many candidate places the agents read before picking the top 3. More places = better picks, slightly higher cost.",
            "default": 10
          },
          "reviewsPerPlace": {
            "title": "Recent reviews per place",
            "minimum": 3,
            "maximum": 50,
            "type": "integer",
            "description": "How many of the newest reviews the Freshness agent reads for each place.",
            "default": 12
          },
          "maxReviewAgeMonths": {
            "title": "Ignore reviews older than (months)",
            "minimum": 1,
            "maximum": 36,
            "type": "integer",
            "description": "Only reviews newer than this count. Old reviews describe a place that may no longer exist (new owner, new chef).",
            "default": 12
          },
          "language": {
            "title": "Spoken summary language",
            "enum": [
              "en",
              "hi",
              "kn",
              "ta",
              "te"
            ],
            "type": "string",
            "description": "Language of the short spoken summary (read aloud by the app or the Bolna phone agent).",
            "default": "en"
          },
          "partnerVenues": {
            "title": "Partner venues with live inventory (optional)",
            "type": "array",
            "description": "Venues from the AskAround partner network with live data: dishes available right now, rooms free tonight. The AskAround app fills this in automatically. Each item: {id, kind, name, lat, lng, phone, address, cuisine[], menu:[{name, price, isVeg, isAvailable}], rooms:[{name, beds, pricePerNight, availableRooms}]}.",
            "default": []
          },
          "modelName": {
            "title": "LLM model",
            "type": "string",
            "description": "Any OpenRouter model id. Runs through the Apify OpenRouter proxy on your Apify account, no extra API key needed.",
            "default": "anthropic/claude-haiku-5.5"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}