AI Studio API
生成履歴
ステータスやキーワードで絞り込みながら生成履歴を取得します。
API Playground
このサイトへ実際のリクエストを送信し、HTTP レスポンスを確認できます。
レスポンス
リクエストを送信すると、ここにレスポンスが表示されます。GET
/api/ai-studio/video-history?page={page}&limit={limit}&status={status}&q={q}生成アセット履歴をページング取得し、ステータスとキーワードで絞り込めます。
Request Headers
Authorization: Bearer YOUR_API_KEYRequest Parameters
| Name | Type | Required | Default | Options | Description |
|---|---|---|---|---|---|
| page | number | No | 1 | - | 履歴のページ番号。 |
| limit | number | No | 12 | - | 履歴の 1 ページ件数(1〜50)。 |
| status | string | No | all | all, pending, success, failed | 履歴のステータス絞り込み。 |
| q | string | No | "" | - | 履歴検索の任意キーワード。 |
Request
curl -X GET "https://freesoragenerator.com/api/ai-studio/video-history?page=1&limit=12&status=all" \
-H "Authorization: Bearer YOUR_API_KEY"Response Example
{
"success": true,
"data": {
"records": [],
"total": 0,
"totalPages": 1,
"page": 1
}
}Error Example
{
"success": false,
"error": "Failed to load AI Studio generation history"
}