Poll age-modifier job status
curl --request GET \
--url https://www.gostudio.ai/api/v2/apps/age-modifier/{jobId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.gostudio.ai/api/v2/apps/age-modifier/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.gostudio.ai/api/v2/apps/age-modifier/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": 200,
"data": {
"job_id": 12345,
"status": "processing",
"output_urls": [
"<string>"
],
"credits_deducted": 10,
"credit_balance": 490,
"error": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"status": 400,
"error": {
"type": "invalid_input",
"code": 40012,
"message": "jobId must be a positive integer."
}
}{
"status": 401,
"error": {
"type": "authentication_error",
"code": "unauthorized",
"dev": 40100,
"message": "Missing or invalid Authorization Bearer token."
}
}{
"status": 404,
"error": {
"type": "job_not_found",
"code": 40404,
"message": "Job not found."
}
}{
"status": 429,
"error": {
"type": "rate_limit_error",
"code": "rate_limited",
"dev": 42900,
"message": "You're doing that too often. Please wait a moment."
}
}{
"status": 500,
"error": {
"type": "system_error",
"code": "internal_error",
"dev": 50000,
"message": "Something went wrong on our end."
}
}Apps
Poll age-modifier job status
Returns the current status of an age-modifier job by its ID. output_urls and credits_deducted appear only when status is completed; error appears only when status is failed.
Since POST /api/v2/apps/age-modifier already waits for the result, use this endpoint to re-fetch outputs of an earlier job, or to check on one whose connection dropped.
GET
/
api
/
v2
/
apps
/
age-modifier
/
{jobId}
Poll age-modifier job status
curl --request GET \
--url https://www.gostudio.ai/api/v2/apps/age-modifier/{jobId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.gostudio.ai/api/v2/apps/age-modifier/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.gostudio.ai/api/v2/apps/age-modifier/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": 200,
"data": {
"job_id": 12345,
"status": "processing",
"output_urls": [
"<string>"
],
"credits_deducted": 10,
"credit_balance": 490,
"error": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"status": 400,
"error": {
"type": "invalid_input",
"code": 40012,
"message": "jobId must be a positive integer."
}
}{
"status": 401,
"error": {
"type": "authentication_error",
"code": "unauthorized",
"dev": 40100,
"message": "Missing or invalid Authorization Bearer token."
}
}{
"status": 404,
"error": {
"type": "job_not_found",
"code": 40404,
"message": "Job not found."
}
}{
"status": 429,
"error": {
"type": "rate_limit_error",
"code": "rate_limited",
"dev": 42900,
"message": "You're doing that too often. Please wait a moment."
}
}{
"status": 500,
"error": {
"type": "system_error",
"code": "internal_error",
"dev": 50000,
"message": "Something went wrong on our end."
}
}Authorizations
Supabase user JWT (or an internal service token). Send as Authorization: Bearer <token>.
Path Parameters
Positive integer job ID returned by POST /api/v2/apps/age-modifier.
Example:
12345

