{
    "info": {
        "_postman_id": "8d038d99d8149e9d",
        "name": "Kydesk Helpdesk API",
        "description": "Colección oficial de la API de Kydesk. Configura las variables `base_url` y `api_token` en el entorno.",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "item": [
        {
            "name": "Meta",
            "item": [
                {
                    "name": "GET /me",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/me",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "me"
                            ]
                        },
                        "description": "Identidad del token"
                    }
                },
                {
                    "name": "GET /health",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/health",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "health"
                            ]
                        },
                        "description": "Health check"
                    }
                },
                {
                    "name": "GET /stats",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/stats",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "stats"
                            ]
                        },
                        "description": "Estadísticas del workspace"
                    }
                },
                {
                    "name": "GET /search?q=ejemplo",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/search?q=ejemplo",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "search"
                            ]
                        },
                        "description": "Búsqueda global"
                    }
                }
            ]
        },
        {
            "name": "Tickets",
            "item": [
                {
                    "name": "GET /tickets?per_page=25",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/tickets?per_page=25",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "tickets"
                            ]
                        },
                        "description": "Listar tickets"
                    }
                },
                {
                    "name": "POST /tickets",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/tickets",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "tickets"
                            ]
                        },
                        "description": "Crear ticket"
                    }
                },
                {
                    "name": "GET /tickets/{{ticket_id}}",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/tickets/{{ticket_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "tickets",
                                "{{ticket_id}}"
                            ]
                        },
                        "description": "Detalle"
                    }
                },
                {
                    "name": "PATCH /tickets/{{ticket_id}}",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/tickets/{{ticket_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "tickets",
                                "{{ticket_id}}"
                            ]
                        },
                        "description": "Actualizar"
                    }
                },
                {
                    "name": "DELETE /tickets/{{ticket_id}}",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/tickets/{{ticket_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "tickets",
                                "{{ticket_id}}"
                            ]
                        },
                        "description": "Eliminar"
                    }
                },
                {
                    "name": "POST /tickets/{{ticket_id}}/comments",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/tickets/{{ticket_id}}/comments",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "tickets",
                                "{{ticket_id}}",
                                "comments"
                            ]
                        },
                        "description": "Añadir comentario"
                    }
                },
                {
                    "name": "GET /tickets/{{ticket_id}}/comments",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/tickets/{{ticket_id}}/comments",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "tickets",
                                "{{ticket_id}}",
                                "comments"
                            ]
                        },
                        "description": "Listar comentarios"
                    }
                },
                {
                    "name": "POST /tickets/{{ticket_id}}/escalate",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/tickets/{{ticket_id}}/escalate",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "tickets",
                                "{{ticket_id}}",
                                "escalate"
                            ]
                        },
                        "description": "Escalar ticket"
                    }
                },
                {
                    "name": "POST /tickets/{{ticket_id}}/assign",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/tickets/{{ticket_id}}/assign",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "tickets",
                                "{{ticket_id}}",
                                "assign"
                            ]
                        },
                        "description": "Asignar técnico"
                    }
                },
                {
                    "name": "POST /tickets/batch",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/tickets/batch",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "tickets",
                                "batch"
                            ]
                        },
                        "description": "Operación batch"
                    }
                }
            ]
        },
        {
            "name": "Companies",
            "item": [
                {
                    "name": "GET /companies",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/companies",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "companies"
                            ]
                        },
                        "description": "Listar"
                    }
                },
                {
                    "name": "POST /companies",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/companies",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "companies"
                            ]
                        },
                        "description": "Crear"
                    }
                },
                {
                    "name": "GET /companies/{{company_id}}",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/companies/{{company_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "companies",
                                "{{company_id}}"
                            ]
                        },
                        "description": "Detalle"
                    }
                },
                {
                    "name": "PATCH /companies/{{company_id}}",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/companies/{{company_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "companies",
                                "{{company_id}}"
                            ]
                        },
                        "description": "Actualizar"
                    }
                },
                {
                    "name": "DELETE /companies/{{company_id}}",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/companies/{{company_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "companies",
                                "{{company_id}}"
                            ]
                        },
                        "description": "Eliminar"
                    }
                }
            ]
        },
        {
            "name": "Categories",
            "item": [
                {
                    "name": "GET /categories",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/categories",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "categories"
                            ]
                        },
                        "description": "Listar"
                    }
                },
                {
                    "name": "POST /categories",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/categories",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "categories"
                            ]
                        },
                        "description": "Crear"
                    }
                },
                {
                    "name": "PATCH /categories/{{cat_id}}",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/categories/{{cat_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "categories",
                                "{{cat_id}}"
                            ]
                        },
                        "description": "Actualizar"
                    }
                },
                {
                    "name": "DELETE /categories/{{cat_id}}",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/categories/{{cat_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "categories",
                                "{{cat_id}}"
                            ]
                        },
                        "description": "Eliminar"
                    }
                }
            ]
        },
        {
            "name": "Users",
            "item": [
                {
                    "name": "GET /users",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/users",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "users"
                            ]
                        },
                        "description": "Listar"
                    }
                },
                {
                    "name": "POST /users",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/users",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "users"
                            ]
                        },
                        "description": "Crear"
                    }
                },
                {
                    "name": "GET /users/{{user_id}}",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/users/{{user_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "users",
                                "{{user_id}}"
                            ]
                        },
                        "description": "Detalle"
                    }
                },
                {
                    "name": "PATCH /users/{{user_id}}",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/users/{{user_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "users",
                                "{{user_id}}"
                            ]
                        },
                        "description": "Actualizar"
                    }
                },
                {
                    "name": "DELETE /users/{{user_id}}",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/users/{{user_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "users",
                                "{{user_id}}"
                            ]
                        },
                        "description": "Eliminar"
                    }
                }
            ]
        },
        {
            "name": "KB",
            "item": [
                {
                    "name": "GET /kb/articles",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/kb/articles",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "kb",
                                "articles"
                            ]
                        },
                        "description": "Listar artículos"
                    }
                },
                {
                    "name": "POST /kb/articles",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/kb/articles",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "kb",
                                "articles"
                            ]
                        },
                        "description": "Crear artículo"
                    }
                },
                {
                    "name": "GET /kb/articles/{{article_id}}",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/kb/articles/{{article_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "kb",
                                "articles",
                                "{{article_id}}"
                            ]
                        },
                        "description": "Detalle"
                    }
                },
                {
                    "name": "PATCH /kb/articles/{{article_id}}",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/kb/articles/{{article_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "kb",
                                "articles",
                                "{{article_id}}"
                            ]
                        },
                        "description": "Actualizar"
                    }
                },
                {
                    "name": "DELETE /kb/articles/{{article_id}}",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/kb/articles/{{article_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "kb",
                                "articles",
                                "{{article_id}}"
                            ]
                        },
                        "description": "Eliminar"
                    }
                },
                {
                    "name": "GET /kb/categories",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/kb/categories",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "kb",
                                "categories"
                            ]
                        },
                        "description": "Listar categorías KB"
                    }
                }
            ]
        },
        {
            "name": "SLA",
            "item": [
                {
                    "name": "GET /sla",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/sla",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "sla"
                            ]
                        },
                        "description": "Listar políticas"
                    }
                },
                {
                    "name": "POST /sla",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/sla",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "sla"
                            ]
                        },
                        "description": "Crear política"
                    }
                },
                {
                    "name": "PATCH /sla/{{sla_id}}",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/sla/{{sla_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "sla",
                                "{{sla_id}}"
                            ]
                        },
                        "description": "Actualizar"
                    }
                },
                {
                    "name": "DELETE /sla/{{sla_id}}",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/sla/{{sla_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "sla",
                                "{{sla_id}}"
                            ]
                        },
                        "description": "Eliminar"
                    }
                }
            ]
        },
        {
            "name": "Automations",
            "item": [
                {
                    "name": "GET /automations",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/automations",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "automations"
                            ]
                        },
                        "description": "Listar"
                    }
                },
                {
                    "name": "POST /automations",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/automations",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "automations"
                            ]
                        },
                        "description": "Crear"
                    }
                },
                {
                    "name": "PATCH /automations/{{auto_id}}",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/automations/{{auto_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "automations",
                                "{{auto_id}}"
                            ]
                        },
                        "description": "Actualizar"
                    }
                },
                {
                    "name": "DELETE /automations/{{auto_id}}",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/automations/{{auto_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "automations",
                                "{{auto_id}}"
                            ]
                        },
                        "description": "Eliminar"
                    }
                }
            ]
        },
        {
            "name": "Assets",
            "item": [
                {
                    "name": "GET /assets",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/assets",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "assets"
                            ]
                        },
                        "description": "Listar"
                    }
                },
                {
                    "name": "POST /assets",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/assets",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "assets"
                            ]
                        },
                        "description": "Crear"
                    }
                },
                {
                    "name": "PATCH /assets/{{asset_id}}",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/assets/{{asset_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "assets",
                                "{{asset_id}}"
                            ]
                        },
                        "description": "Actualizar"
                    }
                },
                {
                    "name": "DELETE /assets/{{asset_id}}",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/assets/{{asset_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "assets",
                                "{{asset_id}}"
                            ]
                        },
                        "description": "Eliminar"
                    }
                }
            ]
        },
        {
            "name": "Integrations",
            "item": [
                {
                    "name": "GET /integrations/providers",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/integrations/providers",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "integrations",
                                "providers"
                            ]
                        },
                        "description": "Catálogo de proveedores"
                    }
                },
                {
                    "name": "GET /integrations/events",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/integrations/events",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "integrations",
                                "events"
                            ]
                        },
                        "description": "Eventos disponibles"
                    }
                },
                {
                    "name": "GET /integrations",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/integrations",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "integrations"
                            ]
                        },
                        "description": "Instalaciones del tenant"
                    }
                },
                {
                    "name": "GET /integrations/{{int_id}}",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/integrations/{{int_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "integrations",
                                "{{int_id}}"
                            ]
                        },
                        "description": "Detalle"
                    }
                },
                {
                    "name": "GET /integrations/{{int_id}}/logs",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/integrations/{{int_id}}/logs",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "integrations",
                                "{{int_id}}",
                                "logs"
                            ]
                        },
                        "description": "Logs de delivery"
                    }
                }
            ]
        },
        {
            "name": "Meetings",
            "item": [
                {
                    "name": "GET /meetings",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/meetings",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "meetings"
                            ]
                        },
                        "description": "Listar reuniones"
                    }
                },
                {
                    "name": "POST /meetings",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/meetings",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "meetings"
                            ]
                        },
                        "description": "Crear reunión"
                    }
                },
                {
                    "name": "GET /meetings/availability",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/meetings/availability",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "meetings",
                                "availability"
                            ]
                        },
                        "description": "Disponibilidad"
                    }
                },
                {
                    "name": "GET /meetings/types",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/meetings/types",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "meetings",
                                "types"
                            ]
                        },
                        "description": "Tipos de reunión"
                    }
                },
                {
                    "name": "GET /meetings/{{meeting_id}}",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/meetings/{{meeting_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "meetings",
                                "{{meeting_id}}"
                            ]
                        },
                        "description": "Detalle"
                    }
                },
                {
                    "name": "PATCH /meetings/{{meeting_id}}",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/meetings/{{meeting_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "meetings",
                                "{{meeting_id}}"
                            ]
                        },
                        "description": "Actualizar"
                    }
                },
                {
                    "name": "DELETE /meetings/{{meeting_id}}",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/meetings/{{meeting_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "meetings",
                                "{{meeting_id}}"
                            ]
                        },
                        "description": "Eliminar"
                    }
                }
            ]
        },
        {
            "name": "CRM",
            "item": [
                {
                    "name": "GET /crm/leads",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/crm/leads",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "crm",
                                "leads"
                            ]
                        },
                        "description": "Listar leads"
                    }
                },
                {
                    "name": "POST /crm/leads",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/crm/leads",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "crm",
                                "leads"
                            ]
                        },
                        "description": "Crear lead"
                    }
                },
                {
                    "name": "GET /crm/leads/{{lead_id}}",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/crm/leads/{{lead_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "crm",
                                "leads",
                                "{{lead_id}}"
                            ]
                        },
                        "description": "Detalle lead"
                    }
                },
                {
                    "name": "PATCH /crm/leads/{{lead_id}}",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/crm/leads/{{lead_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "crm",
                                "leads",
                                "{{lead_id}}"
                            ]
                        },
                        "description": "Actualizar lead"
                    }
                },
                {
                    "name": "DELETE /crm/leads/{{lead_id}}",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/crm/leads/{{lead_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "crm",
                                "leads",
                                "{{lead_id}}"
                            ]
                        },
                        "description": "Eliminar lead"
                    }
                },
                {
                    "name": "GET /crm/deals",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/crm/deals",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "crm",
                                "deals"
                            ]
                        },
                        "description": "Listar deals"
                    }
                },
                {
                    "name": "POST /crm/deals",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/crm/deals",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "crm",
                                "deals"
                            ]
                        },
                        "description": "Crear deal"
                    }
                },
                {
                    "name": "GET /crm/deals/{{deal_id}}",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/crm/deals/{{deal_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "crm",
                                "deals",
                                "{{deal_id}}"
                            ]
                        },
                        "description": "Detalle deal"
                    }
                },
                {
                    "name": "PATCH /crm/deals/{{deal_id}}",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/crm/deals/{{deal_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "crm",
                                "deals",
                                "{{deal_id}}"
                            ]
                        },
                        "description": "Actualizar deal"
                    }
                },
                {
                    "name": "DELETE /crm/deals/{{deal_id}}",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/crm/deals/{{deal_id}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "crm",
                                "deals",
                                "{{deal_id}}"
                            ]
                        },
                        "description": "Eliminar deal"
                    }
                },
                {
                    "name": "GET /crm/pipelines",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/crm/pipelines",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "crm",
                                "pipelines"
                            ]
                        },
                        "description": "Pipelines"
                    }
                }
            ]
        },
        {
            "name": "Quotes",
            "item": [
                {
                    "name": "GET /quotes",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/quotes",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "quotes"
                            ]
                        },
                        "description": "Listar cotizaciones"
                    }
                },
                {
                    "name": "GET /quotes/{{quote_id}}?expand=items,events",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/quotes/{{quote_id}}?expand=items,events",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "quotes",
                                "{{quote_id}}"
                            ]
                        },
                        "description": "Detalle con items"
                    }
                },
                {
                    "name": "GET /quotes/{{quote_id}}/items",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/quotes/{{quote_id}}/items",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "quotes",
                                "{{quote_id}}",
                                "items"
                            ]
                        },
                        "description": "Items"
                    }
                },
                {
                    "name": "GET /quotes/{{quote_id}}/events",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/quotes/{{quote_id}}/events",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "quotes",
                                "{{quote_id}}",
                                "events"
                            ]
                        },
                        "description": "Timeline"
                    }
                },
                {
                    "name": "POST /quotes/{{quote_id}}/status",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/quotes/{{quote_id}}/status",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "quotes",
                                "{{quote_id}}",
                                "status"
                            ]
                        },
                        "description": "Cambiar status"
                    }
                }
            ]
        },
        {
            "name": "AI Engine",
            "item": [
                {
                    "name": "GET /ai-engine/settings",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ai-engine/settings",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ai-engine",
                                "settings"
                            ]
                        },
                        "description": "Configuración"
                    }
                },
                {
                    "name": "GET /ai-engine/metrics?from=2026-01-01&to=2026-01-31",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ai-engine/metrics?from=2026-01-01&to=2026-01-31",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ai-engine",
                                "metrics"
                            ]
                        },
                        "description": "Métricas + deflexión"
                    }
                },
                {
                    "name": "GET /ai-engine/conversations",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ai-engine/conversations",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ai-engine",
                                "conversations"
                            ]
                        },
                        "description": "Conversaciones del bot"
                    }
                },
                {
                    "name": "GET /ai-engine/predictions",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ai-engine/predictions",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ai-engine",
                                "predictions"
                            ]
                        },
                        "description": "Predicciones"
                    }
                },
                {
                    "name": "GET /ai-engine/duplicates",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ai-engine/duplicates",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ai-engine",
                                "duplicates"
                            ]
                        },
                        "description": "Duplicados detectados"
                    }
                },
                {
                    "name": "GET /ai-engine/articles",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ai-engine/articles",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ai-engine",
                                "articles"
                            ]
                        },
                        "description": "Artículos generados por IA"
                    }
                },
                {
                    "name": "GET /ai-engine/rag/search?q=password",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ai-engine/rag/search?q=password",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ai-engine",
                                "rag",
                                "search"
                            ]
                        },
                        "description": "RAG search sobre KB"
                    }
                }
            ]
        },
        {
            "name": "Migration",
            "item": [
                {
                    "name": "GET /migration/jobs",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/migration/jobs",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "migration",
                                "jobs"
                            ]
                        },
                        "description": "Listar jobs"
                    }
                },
                {
                    "name": "GET /migration/jobs/{{job_id}}?expand=mapping,logs",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/migration/jobs/{{job_id}}?expand=mapping,logs",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "migration",
                                "jobs",
                                "{{job_id}}"
                            ]
                        },
                        "description": "Detalle job"
                    }
                },
                {
                    "name": "GET /migration/jobs/{{job_id}}/records",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/migration/jobs/{{job_id}}/records",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "migration",
                                "jobs",
                                "{{job_id}}",
                                "records"
                            ]
                        },
                        "description": "Registros importados"
                    }
                },
                {
                    "name": "GET /migration/jobs/{{job_id}}/logs",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/migration/jobs/{{job_id}}/logs",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "migration",
                                "jobs",
                                "{{job_id}}",
                                "logs"
                            ]
                        },
                        "description": "Logs del job"
                    }
                }
            ]
        },
        {
            "name": "Microsoft Teams",
            "item": [
                {
                    "name": "GET /teams/settings",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/teams/settings",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teams",
                                "settings"
                            ]
                        },
                        "description": "Settings"
                    }
                },
                {
                    "name": "GET /teams/channels",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/teams/channels",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teams",
                                "channels"
                            ]
                        },
                        "description": "Canales enlazados"
                    }
                },
                {
                    "name": "GET /teams/conversations",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/teams/conversations",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teams",
                                "conversations"
                            ]
                        },
                        "description": "Conversaciones"
                    }
                },
                {
                    "name": "GET /teams/conversations/{{conv_id}}/messages",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/teams/conversations/{{conv_id}}/messages",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teams",
                                "conversations",
                                "{{conv_id}}",
                                "messages"
                            ]
                        },
                        "description": "Mensajes"
                    }
                },
                {
                    "name": "POST /teams/conversations/{{conv_id}}/send",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/teams/conversations/{{conv_id}}/send",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teams",
                                "conversations",
                                "{{conv_id}}",
                                "send"
                            ]
                        },
                        "description": "Enviar mensaje"
                    }
                }
            ]
        },
        {
            "name": "Active Directory",
            "item": [
                {
                    "name": "GET /ad/settings",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ad/settings",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ad",
                                "settings"
                            ]
                        },
                        "description": "Configuración"
                    }
                },
                {
                    "name": "GET /ad/users?source=azure",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ad/users?source=azure",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ad",
                                "users"
                            ]
                        },
                        "description": "Usuarios sincronizados"
                    }
                },
                {
                    "name": "GET /ad/groups",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ad/groups",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ad",
                                "groups"
                            ]
                        },
                        "description": "Grupos"
                    }
                },
                {
                    "name": "GET /ad/sync/logs",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ad/sync/logs",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ad",
                                "sync",
                                "logs"
                            ]
                        },
                        "description": "Bitácora de syncs"
                    }
                },
                {
                    "name": "POST /ad/sync",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{api_token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/ad/sync",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "ad",
                                "sync"
                            ]
                        },
                        "description": "Disparar sync"
                    }
                }
            ]
        }
    ],
    "variable": [
        {
            "key": "base_url",
            "value": "https://kydesk.kyrosrd.com/api/v1",
            "type": "string"
        },
        {
            "key": "api_token",
            "value": "kyd_xxxxxxxxxxxxxxxx",
            "type": "string"
        }
    ]
}