AI Studio API
Generation history
Read paginated generation history with status and keyword filters.
API playground
Send a real request to this site and inspect the HTTP response immediately.
Response
Send a request to view its response here.GET
/api/ai-studio/video-history?page={page}&limit={limit}&status={status}&q={q}รับประวัติการสร้างแบบแบ่งหน้า พร้อมตัวกรองสถานะและคำสำคัญ
ส่วนหัวของคำขอ
Authorization: Bearer YOUR_API_KEYพารามิเตอร์คำขอ
| ชื่อ | ประเภท | จำเป็น | ค่าเริ่มต้น | ตัวเลือก | คำอธิบาย |
|---|---|---|---|---|---|
| page | number | ไม่ | 1 | - | หมายเลขหน้าประวัติ |
| limit | number | ไม่ | 12 | - | ขนาดหน้าสำหรับรายการประวัติ (1-50) |
| status | string | ไม่ | all | all, pending, success, failed | ตัวกรองสถานะสำหรับรายการประวัติ |
| q | string | ไม่ | "" | - | คำสำคัญเสริมสำหรับการค้นหาประวัติของคุณ |
คำร้อง
curl -X GET "https://freesoragenerator.com/api/ai-studio/video-history?page=1&limit=12&status=all" \
-H "Authorization: Bearer YOUR_API_KEY"ตัวอย่างการตอบสนอง
{
"success": true,
"data": {
"records": [],
"total": 0,
"totalPages": 1,
"page": 1
}
}ตัวอย่างข้อผิดพลาด
{
"success": false,
"error": "Failed to load AI Studio generation history"
}