Users API
This document outlines the API endpoints for managing users in PySpur. Users and sessions are required for deploying agents and chatbots that maintain message history.Create User
Description: Creates a new user. If a user with the given external ID already exists, returns the existing user. URL:/user/
Method: POST
Request Payload:
List Users
Description: Lists users with pagination. URL:/user/
Method: GET
Query Parameters:
Get User
Description: Gets a specific user by ID. URL:/user/{user_id}/
Method: GET
Parameters:
Update User
Description: Updates a user. URL:/user/{user_id}/
Method: PATCH
Parameters:
Delete User
Description: Deletes a user. URL:/user/{user_id}/
Method: DELETE
Parameters: