# catalog_pathways_create Add or update a pathway. Endpoint: POST /api/catalog/pathways/ Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Query parameters: - `item_id` (string) Item ID associated with the pathway - `name` (string) Pathway name - `pathway_id` (string) Pathway ID - `pathway_uuid` (string) Pathway UUID - `platform_key` (string) Platform key - `slug` (string) Pathway slug (case-insensitive) - `user_id` (integer) User ID of the pathway owner - `username` (string) Username of the pathway owner - `visible` (boolean) Whether the pathway is visible ## Request fields (application/json): - `pathway_id` (string) Pathway ID - `pathway_uuid` (string) Pathway UUID - `user_id` (integer, required) User ID of the pathway owner - `username` (string) Username of the pathway owner - `name` (string, required) Pathway name - `slug` (string) Pathway slug - `visible` (boolean) Whether the pathway is visible - `platform_key` (string) Platform key - `path` (array, required) List of items in the pathway with item_id and optional position - `data` (any) Additional pathway data ## Response 200 fields (application/json): - `id` (integer, required) - `pathway_id` (string, required) A unique pathway ID. - `pathway_uuid` (string) - `path` (string, required) - `name` (string) The verbose name of the pathway. - `visible` (boolean) Pathway visibility - `slug` (string,null) An additional unique slug field. (Optional) - `user_id` (integer) - `username` (string) - `platform_key` (string) - `data` (any,null) Metadata ## Response 201 fields (application/json): - `id` (integer, required) - `pathway_id` (string, required) A unique pathway ID. - `pathway_uuid` (string) - `path` (string, required) - `name` (string) The verbose name of the pathway. - `visible` (boolean) Pathway visibility - `slug` (string,null) An additional unique slug field. (Optional) - `user_id` (integer) - `username` (string) - `platform_key` (string) - `data` (any,null) Metadata