Skip to content

Get all category mappings

Request

Get a list of all category mappings with optional filtering.

Security
sessionAuth
Path
orgIdstringrequired

The ID of the organization.

Query
pageinteger

Page number for pagination (default is 1).

limitinteger

Number of items per page (default is 10).

codestring

Filter by code (exact match).

templatestring

Filter by template presence. "true" = has template, "false" = no template.

tagsstring

Filter by tag.

is_globalboolean

Filter by global status.

is_agenticboolean

Filter category mappings 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"
qstring

Search by category name within the mapping tree or by code.

q_last_nodestring

Search by the last node name of the mapping tree or by code.

paginatestring

Set to "false" to return all results without pagination.

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

Responses

Category mappings retrieved successfully.

Bodyapplication/json
codestring

The code of the category.

mappingArray of objects(Category)

An array of category mappings to other categories.

archiveboolean

Indicates whether the category is archived.

mapping_codeArray of strings

An array of mapping codes.

sales_idArray of objects

An array of sales tree nodes with their mappings.

x_org_idstring

The organization ID.

created_bystring

The user who created the category.

modified_bystring

The user who last modified the category.

templatestring, (uuid)

The ID of the associated template.

Response
{ "code": "string", "mapping": [ { … } ], "archive": true, "mapping_code": [ "string" ], "sales_id": [ { … } ], "x_org_id": "string", "created_by": "string", "modified_by": "string", "template": "060ce75e-87d6-4677-b330-eaee58e54138" }