Query Language API
The MegaBill filter API allows users to query and retrieve metadata for building filters on a huge dataset. This API provides endpoints to fetch MegaBill keys, values, virtual tags, and specific metadata for individual keys. This API is used to understand the different building blocks of Finout’s MegaFilter, and the information needed to build Virtual Tags and views.
GET
/Keys
GET
/Keys
Retrieves all MegaBill keys.
Prerequisites
Generate a Client ID and Secret Key from Finout to add in Headers.
Request
https://app.finout.io/v1/megabill/query-language/keys
Response
Returns a JSON object with the following properties:
keys
array
An array of key metadata objects.
requestId
number
The ID of the request in the Finout system.
accountId
number
The ID of the account that made the request.
The key_metadata array has the following fields:
costCenter
string
The cost center associated with the key (display name).
"databricks"
key
string
The unique identifier in Finout.
"a3ViZXJuZXRlczpsYWJlbF9zcGFya19zcGFya19leGVjX2lk"
displayName
string
The external name identifier in Finout, is only used in Finout’s app.
"job-id"
GET
/KeyValues
GET
/KeyValues
Retrieve all values associated with a specific key. A successful response allows you to construct a virtual tag condition based on the key values and operators.
Prerequisites
Generate a Client ID and Secret Key from Finout to add in Headers.
You must first GET the key you want to query and then find the "cost center and "key".
Request
http://app.finout.io/v1/megabill/query-language/values/{costcenter}/{key}
Path Parameters
cost_center
string
The ID of the cost center.
key
string
The ID of the key.
Response
Last updated