> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/cloudquery.md).

# cloudQuery

Requests Data from a CloudGateway Enpoint

### Parameters

```
{
    AppName: "MyCloudGateway", //The Name in the ApiKey List
    Endpoint: "LocalFirebird", // Configured Endpoint
    SqlStatementId: "fbGetAddress", //Optional statemnt id, depending on the Plugin
    Parameters: { //Optional Parameters
      "id": 1  
    },
    
}
```

### Example Usages

#### Query an address from a firebird database

```javascript
   brixxApi.cloudQuery({
    AppName: "MyCloudGateway",
    Endpoint: "LocalFirebird",
    SqlStatementId: "fbGetAddress",
    Parameters: {
      "id": 1  
    },
    
})
```

####
