Call it
curl https://api.peume.com/v1/call/google-dataset-details-by-dataset-id-live \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"dataset_id": "L2cvMTFqbl85ZHN6MQ=="
}
}'const res = await fetch("https://api.peume.com/v1/call/google-dataset-details-by-dataset-id-live", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"dataset_id": "L2cvMTFqbl85ZHN6MQ=="
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-dataset-details-by-dataset-id-live",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"dataset_id": "L2cvMTFqbl85ZHN6MQ=="
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-dataset-details-by-dataset-id-live.
Parameters
dataset_idstring<p><em>ID of the dataset</em><p><strong>required field</strong><p>you can find dataset ID in the dataset URL or <code>dataset</code> item of <a href="">Google Dataset Search</a> result<p>example:<p><code>L2cvMTFqbl85ZHN6MQ==</cod
Example: L2cvMTFqbl85ZHN6MQ==
language_codestring<p><em>search engine language code</em><p>optional field<p>if you use this field, you don't need to specify <code>language_name</code><p>possible value:<p><code class="long-string">en</code></p>
devicestring<p><em>device type</em><p>optional field<p>return results for a specific device type<p>possible value: <code>desktop</code></p>
language_namestring<p><em>full name of search engine language</em><p>optional field<p>if you use this field, you don't need to specify <code>language_code</code><p>possible value:<p><code class="long-string">English</code></p>
osstring<p><em>device operating system</em><p>optional field<p>possible values: <code>windows</code>, <code>macos</code><p>default value: <code>windows</code></p>
tagstring<p><em>user-defined task identifier</em><p>optional field<p><em>the character limit is 255</em><p>you can use this parameter to identify the task and match it with the result<p>you will find the specified <code>tag</code> value in the <code>data</code> object of the response</p>
