GET
/
projects
/
v2
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",
      "thumbnail": "<string>",
      "thumbnails": {
        "thumbnail_png": "<string>",
        "thumbnail_play_png": "<string>",
        "thumbnail_gif": "<string>",
        "thumbnail_play_gif": "<string>",
        "custom_thumbnail": "<string>"
      },
      "status": "<string>",
      "language": "<string>",
      "tags": {
        "colors": [
          "<string>"
        ],
        "names": [
          "<string>"
        ]
      },
      "available_credits": 123,
      "utilised_credits": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "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
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
data
object[]
required
size
integer
required

Count of projects made by the user.

unpublished_projects
integer
required

Count of unpublished projects of the user.