POST
/
meta
/
get_video_info
Get Video Info
curl --request POST \
  --url https://public.plai.io/meta/get_video_info \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "userId": "<string>",
  "videoId": "<string>"
}'
{
  "success": true,
  "results": {
    "success": true,
    "video": {
      "thumbnails": {
        "data": [
          {
            "id": "<string>",
            "height": 123,
            "scale": 123,
            "uri": "<string>",
            "width": 123,
            "is_preferred": true
          }
        ]
      },
      "source": "<string>",
      "status": {
        "video_status": "<string>",
        "uploading_phase": {
          "status": "<string>"
        },
        "processing_phase": {
          "status": "<string>"
        },
        "publishing_phase": {
          "status": "<string>",
          "publish_status": "<string>",
          "publish_time": "<string>"
        }
      },
      "id": "<string>"
    },
    "error": "<string>"
  }
}

Request Body

userId
string
required
User ID, If not already created, make a user on create user page first. If already created, retrieve the user ID from get profile page.
videoId
string
required
Video ID, If not already created, make a video on upload video page first.

Response

success
boolean
Indicates that the HTTP response was successful (status code 200 OK).
results
object