Get file processing status
GET
/api/public/file-processor/status/{id}
const url = 'https://backend.podscribe.ai/api/public/file-processor/status/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://backend.podscribe.ai/api/public/file-processor/status/example- Retrieve the endpoint that uses the task system.
- Extract the
idfield from the response. - Fetch this endpoint using the
idfield while the status is pending. - Once the data processing is complete, this endpoint will return a
statusof ‘done’ along with theurlfield. - Retrieve the link to access the data file.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Task ID from endpoint that returns task
Responses
Section titled “Responses”OK
Media typeapplication/json
object
id
string
status
string
url
string
Examplegenerated
{ "id": "example", "status": "example", "url": "example"}Task not found.
Unexpected error.
Media typeapplication/json
object
message
Nodejs Error
object
Examplegenerated
{ "message": {}}