User History
HTTP request
POST /user/history
Authorization
OAuth2PasswordBearer
Query Parameter
page
Integer
The page number to retrieve, for pagination. Must be greater than 0.
page_size
Integer
The number of items to retrieve per page, for pagination. Must be greater than 0.
keyword
String
A keyword to search for file name. Used to filter results based on a specific criterion.
Body Payload
start_date
String
The start time for the query. Should be in ISO 8601 format. format: yyyy-mm-dd hh-mm-ss utc+7 ex: 2024-03-07 04:44:11
end_date
String
The end time for the query. Should be in ISO 8601 format. format: yyyy-mm-dd hh-mm-ss utc+7 ex: 2024-03-07 15:44:11
Response
200: Success
Response schema: application/json
status_code
200
content
{ "data": [ { "id": 26524, "file_name": "5_1709782940_trial.docx", "url_download": "<translated_file_download_URL>", "translation_type": "Document", "datetime": "2024-03-07 04:44:11", "cost": 1, "credit": 1, "dest_lang": "en", "share_url": "" } ], "errors": [], "error_description": "", "start_time": "yyyy-mm-dd hh-mm-ss utc+7", "end_time": "yyyy-mm-dd hh-mm-ss utc+7" }
400: Bad Request
status_code
400
content
{ "data": {}, "errors": [ "Error" ], "error_description": "Error while sending message. Please check server!", "start_time": "yyyy-mm-dd hh-mm-ss utc+7", "end_time": "yyyy-mm-dd hh-mm-ss utc+7" }
401: Authentication Error
status_code
401
content
{ "detail": "Not authenticated" }
Response schema: application/json
detail
Last updated