Skip to content

Get all categories

Request

Get a list of all categories with optional filters.

Security
sessionAuth
Path
orgIdstringrequired

The ID of the organization.

Query
namestring

Filter categories by name (partial match).

codestring

Filter categories by code (partial match).

tagsstring

Filter categories by tag (partial match).

archiveboolean

Filter categories by archive status (true or false).

is_globalboolean

Filter by global status.

is_agenticboolean

Filter categories created by an AI agent.

created_bystring

Filter by creator user ID.

created_by_typestring

Filter by creation type.

Enum:"user_created""ai_created""global""all"
pageinteger

Page number for paginated results.

Default:1
limitinteger

Number of results per page.

Default:10
curl -i -X GET \
  'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/category?name=string&code=string&tags=string&archive=true&is_global=true&is_agentic=true&created_by=string&created_by_type=user_created&page=1&limit=10' \
  -b cc.session=YOUR_API_KEY_HERE

Responses

List of categories retrieved successfully.

Bodyapplication/json
resourcesArray of objects(Category)
item_totalinteger
pageinteger
sizeinteger
has_nextboolean
Response
{ "resources": [ { … } ], "item_total": 0, "page": 0, "size": 0, "has_next": true }