cURL
curl --request GET \ --url https://api.gan.ai/projects/v2 \ --header 'Authorization: Bearer <token>'
{ "data": [ { "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "title": "<string>", "project_type": "PERSONALIZED", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "thumbnail": "<string>", "thumbnails": { "thumbnail_png": "", "thumbnail_play_png": "", "thumbnail_gif": "", "thumbnail_play_gif": "", "custom_thumbnail": "" }, "status": "<string>", "language": "<string>", "tags": { "colors": [ "<string>" ], "names": [ "<string>" ] }, "available_credits": 123, "utilised_credits": 123, "video": "<string>", "training_job_id": "<string>", "srt": "<string>", "srt_target_language": "<string>", "voice_path": "<string>", "smart_url": "<string>", "recording_script": "<string>", "data_plane_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ], "size": 123, "unpublished_projects": 123 }
This endpoint returns a list of all projects of the user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes
Count of projects made by the user.
Count of unpublished projects of the user.