Get project status and all image results
curl --request GET \
--url https://api.fotolabs.co/v1/projects/{projectId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fotolabs.co/v1/projects/{projectId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fotolabs.co/v1/projects/{projectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fotolabs.co/v1/projects/{projectId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fotolabs.co/v1/projects/{projectId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fotolabs.co/v1/projects/{projectId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fotolabs.co/v1/projects/{projectId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"projectId": "ca5f09f7-6838-459c-ac0f-7be03c60de24",
"status": "completed",
"images": [
{
"imageId": "aaa-...",
"status": "completed",
"resultImageUrl": "https://d1i1ga8jkrbik1.cloudfront.net/.../result/aaa-....jpg",
"originalImageUrl": "https://d1i1ga8jkrbik1.cloudfront.net/...",
"errorMessage": null,
"createdAt": "2026-05-09T18:00:48.421Z",
"updatedAt": "2026-05-09T18:06:00.240Z"
},
{
"imageId": "bbb-...",
"status": "failed",
"resultImageUrl": null,
"originalImageUrl": "https://d1i1ga8jkrbik1.cloudfront.net/...",
"errorMessage": "Gemini API quota exceeded after 5 retries",
"createdAt": "2026-05-09T18:00:50.000Z",
"updatedAt": "2026-05-09T18:07:00.000Z"
}
]
}{
"error": "No payment method on file. Please add one at fotolabs.co before processing images."
}{
"error": "Project not found or access denied"
}Projects
Get project status
Poll this after calling POST /v1/projects/{projectId}/process.
Returns the project status and the current state of every image in the project.
The project moves to completed once all jobs finish.
Polling tip: check project.status — when it’s completed all images are done.
Individual images may still be processing while project.status is processing.
GET
/
v1
/
projects
/
{projectId}
Get project status and all image results
curl --request GET \
--url https://api.fotolabs.co/v1/projects/{projectId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fotolabs.co/v1/projects/{projectId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fotolabs.co/v1/projects/{projectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fotolabs.co/v1/projects/{projectId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fotolabs.co/v1/projects/{projectId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fotolabs.co/v1/projects/{projectId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fotolabs.co/v1/projects/{projectId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"projectId": "ca5f09f7-6838-459c-ac0f-7be03c60de24",
"status": "completed",
"images": [
{
"imageId": "aaa-...",
"status": "completed",
"resultImageUrl": "https://d1i1ga8jkrbik1.cloudfront.net/.../result/aaa-....jpg",
"originalImageUrl": "https://d1i1ga8jkrbik1.cloudfront.net/...",
"errorMessage": null,
"createdAt": "2026-05-09T18:00:48.421Z",
"updatedAt": "2026-05-09T18:06:00.240Z"
},
{
"imageId": "bbb-...",
"status": "failed",
"resultImageUrl": null,
"originalImageUrl": "https://d1i1ga8jkrbik1.cloudfront.net/...",
"errorMessage": "Gemini API quota exceeded after 5 retries",
"createdAt": "2026-05-09T18:00:50.000Z",
"updatedAt": "2026-05-09T18:07:00.000Z"
}
]
}{
"error": "No payment method on file. Please add one at fotolabs.co before processing images."
}{
"error": "Project not found or access denied"
}Authorizations
API key with fl_ prefix, issued from the Fotolabs dashboard
Path Parameters
⌘I