Skip to main content
GET
/
v1
/
categories
Get Categories
curl --request GET \
  --url https://api.agentpowers.ai/v1/categories
import 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
}

Response

200 - application/json

Successful Response

categories
CategoryItem · object[]
required
total_count
integer
required