Get Categories
curl --request GET \
--url https://api.agentpowers.ai/v1/categoriesimport requests
url = "https://api.agentpowers.ai/v1/categories"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.agentpowers.ai/v1/categories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"categories": [
{
"category": "<string>",
"count": 123,
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"sample_keywords": ""
}
],
"total_count": 123
}search
Get Categories
Get all canonical categories with live skill counts.
Served from a stale-while-revalidate cache (see _get_categories_cached)
so a flood of /v1/categories cannot pin the anyio threadpool on the 3-4s
aggregation and starve the liveness /health check (issue #203).
GET
/
v1
/
categories
Get Categories
curl --request GET \
--url https://api.agentpowers.ai/v1/categoriesimport requests
url = "https://api.agentpowers.ai/v1/categories"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.agentpowers.ai/v1/categories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"categories": [
{
"category": "<string>",
"count": 123,
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"sample_keywords": ""
}
],
"total_count": 123
}Was this page helpful?