BQLMetadata
object
fields
array
required
is_bql_v2
boolean
Tools
Query your Botify data.
Your organization, project and token stay in this browser's local storage and are sent straight to the API — this page never sees them.
Fixed cost per question asked. The data comes from your own Botify project and adds nothing. Models turn your question into a query and read the result back, so what you pay beyond the call scales with the complexity of the question and the size of the answer.
These usage SKUs can be charged on a call.
| SKU | Credits | Description |
|---|---|---|
| Tool call | 1 per request | Charged once per successful item, on top of any usage below. |
| Gemini 3 Flash (flex), input | 250 per million tokens | Tokens the model reads from the prompt you send. |
| Gemini 3 Flash (flex), output | 1,500 per million tokens | Tokens the model writes in its answer. |
| Gemini 3 Flash (flex), read from cache | 50 per million tokens | Tokens the model reads from a cached prompt. Cheaper than a fresh read. |
| Gemini 3 Flash (standard), input | 500 per million tokens | Tokens the model reads from the prompt you send. |
| Gemini 3 Flash (standard), output | 3,000 per million tokens | Tokens the model writes in its answer. |
| Gemini 3 Flash (standard), read from cache | 50 per million tokens | Tokens the model reads from a cached prompt. Cheaper than a fresh read. |
item is what you send, config how the tool behaves,
and the response is what you get back.
query
string
required
Human readable query to get data from (ex: indexable URLs by depth, avg outlinks by pagetype, impressions by country last month, etc)
{
"query": "string"
}
run_query
boolean
Whether to run the query
{
"run_query": true
}
bql_query
object
required
Generated BQL query
results
array | null
required
Results of the BQL query
metadata
BQLMetadata
required
Metadata of the BQL query
title
string | null
Query requested by the user
{
"bql_query": {},
"results": [],
"metadata": {
"fields": [
{
"kind": "dimension",
"name": "string",
"type": "string",
"subtype": null,
"metadata": {
"period_comment": null
},
"multiple": true
}
],
"is_bql_v2": true
},
"title": null
}
These are the available sub-object types that can be used in the properties above.
http://agents.botify.com/{organization}/{project}/botify_data/process
http://agents.botify.com/{organization}/{project}/botify_data/batch_process
http://agents.botify.com/{organization}/{project}/botify_data/async_process
http://agents.botify.com/{organization}/{project}/botify_data/async_batch_process
See running a long job in the background for the polling flow.
curl -X POST "http://agents.botify.com/{organization}/{project}/botify_data/process" \
-H "Authorization: Bearer $BOTIFY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"item": {
"query": "<query>"
}
}'