TubeOnAITubeOnAIDevelopers
Skip to Content
TubeOnAITubeOnAIDevelopers

Get upload status

GET
/v1/ai/uploads/{id}

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

id*string

Response Body

application/json
  1. response
content_type*string
declared_size_bytes*integer
Formatint64
Range0 <= value
expected_sha256?string|null
expires_at_ms*integer
Formatint64
failure_reason?string|null
id*string
Formatuuid
ingest_job_id?|
Formatuuid
job_status?string|null
original_filename?string|null
output?|null
owned_output?|null
purpose*UploadReadPurpose
Value in"library""brand_guide"
ready*boolean
retry_after_sec*integer

Recheck after this many seconds; zero when verification is terminal.

Formatint32
Range0 <= value
Example Request
curl -X GET 'https://beta.app.tubeonai.com/v1/ai/uploads/string'
Example Response
{  "content_type": "string",  "declared_size_bytes": 0,  "expected_sha256": "string",  "expires_at_ms": 0,  "failure_reason": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "ingest_job_id": "83c07dd1-acf8-4b9a-9aaa-332946012cd6",  "job_status": "string",  "original_filename": "string",  "output": {    "format": "string",    "input": {      "content_type": "string",      "object_key": "string",      "sha256": "string",      "size_bytes": 0    },    "normalized": {      "content_type": "string",      "object_key": "string",      "sha256": "string",      "size_bytes": 0    },    "schema_version": 0,    "source": {      "content_type": "string",      "declared_size_bytes": 0,      "expected_sha256": "string",      "intent_id": "05704cef-194d-4987-b2cb-c2c20c9cd88a",      "kind": "upload",      "object_key": "string",      "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"    },    "source_key": "string"  },  "owned_output": {    "image": {      "format": "png",      "height": 0,      "normalized_bytes": 0,      "pdf": {        "dpi": 0,        "page_count": 0      },      "sha256": "string",      "width": 0    },    "input": {      "content_type": "string",      "object_key": "string",      "sha256": "string",      "size_bytes": 0    },    "media": {      "codec": "string",      "duration_ms": 0,      "format": "mp3",      "kind": "audio"    },    "prepared": {      "content_type": "string",      "object_key": "string",      "sha256": "string",      "size_bytes": 0    },    "schema_version": 0,    "source_key": "string",    "transcription_estimate_credits": 0  },  "purpose": "library",  "ready": true,  "retry_after_sec": 0}