Deep Research Profiles
Upsert a Deep Research Profile entry.
Creates a new Deep Research Profile if the provided id does not exist, or updates the existing Deep Research Profile with the given id.
Args: request (DRProfile): The Deep Research Profile data to insert or update. db (AsyncSession): The database session dependency.
Returns: JSONResponse: A JSON response containing the Deep Research Profile data that was upserted.
Raises: HTTPException: If the operation encounters an unexpected error (not currently implemented, but can be added for error handling).
Notes: - Uses FastCRUD for abstracted DB operations. - Relies on the id field to determine insert vs update.
- : Read Permissions
Deep Research Profile model.
2025-12-02T17:36:18.468511Successful Response
Validation Error
No content
Read multiple DRProfileModel rows from the database.
Use page & itemsPerPage for paginated results
Use offset & limit for specific ranges
Returns paginated response when using page/itemsPerPage
Returns simple list response when using offset/limit
- : Read Permissions
Offset for unpaginated queries
Limit for unpaginated queries
Page number
Number of items per page
Successful Response
Validation Error
Create a new DRProfileModel row in the database.
- : Read Permissions
Create Deep Research Profile model.
2025-12-02T17:36:18.468511Successful Response
Validation Error
No content
Read a single DRProfileModel row from the database by its primary keys: ['id'].
- : Read Permissions
Successful Response
Validation Error
Delete a DRProfileModel row from the database by its primary keys: ['id'].
- : Read Permissions
Successful Response
Validation Error
No content
Update an existing DRProfileModel row in the database by its primary keys: ['id'].
- : Read Permissions
Create Deep Research Profile model.
2025-12-02T17:36:18.468511Successful Response
Validation Error
No content
Last updated
