get_collection_facets
huntington.orgGets available collection filter values and counts from https://www.huntington.org, including divisions, item types, genera, families, authors, and constituents. Facets can be scoped by a search query or division.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_collection_facets?
Gets available collection filter values and counts from https://www.huntington.org, including divisions, item types, genera, families, authors, and constituents. Facets can be scoped by a search query or division. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, division, limit_per_facet and get the result back without maintaining a scraper.
Response
{
"query": "<string>",
"genera": [
{
"count": 0,
"value": "<string>"
}
],
"authors": [
{
"count": 0,
"value": "<string>"
}
],
"division": "<string>",
"families": [
{
"count": 0,
"value": "<string>"
}
],
"divisions": [
{
"count": 0,
"value": "<string>"
}
],
"item_types": [
{
"count": 0,
"value": "<string>"
}
],
"total_items": 0,
"constituents": [
{
"count": 0,
"value": "<string>"
}
],
"limit_per_facet": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/c2169728-d95b-46a5-93a0-7fef93c81a17/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "c2169728-d95b-46a5-93a0-7fef93c81a17",
"variables": {
"query": "",
"division": "",
"limit_per_facet": 50
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="c2169728-d95b-46a5-93a0-7fef93c81a17") — the "get_collection_facets" function, which gets available collection filter values and counts from https://www.huntington.org, including divisions, item types, genera, families, authors, and constituents. Facets can be scoped by a search query or division.. It takes query (str), division (str), limit_per_facet (int). Return the result as structured JSON.