Retrieve an upload
curl --request GET \
--url https://api.bachs.io/v1/utilities/uploads/{upload_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bachs.io/v1/utilities/uploads/{upload_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bachs.io/v1/utilities/uploads/{upload_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bachs.io/v1/utilities/uploads/{upload_id}"
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))
}{
"upload_id": "upl_4f3e2d1c9b8a7605f4e3",
"file_name": "pro-plan-hero.png",
"mime_type": "image/png",
"file_size_bytes": 204800,
"url": "https://cdn.bachs.io/uploads/upl_4f3e2d1c9b8a7605f4e3/pro-plan-hero.png",
"linked_resource_type": "product",
"linked_resource_id": "prod_4b91c2e7d3a85f60b1c9",
"created_at": "2026-07-13T13:40:11.000Z",
"updated_at": "2026-07-13T13:41:02.000Z"
}{
"detail": "Invalid API key",
"error_code": "UNAUTHORIZED"
}{
"detail": "Resource not found",
"error_code": "NOT_FOUND"
}Media
Retrieve an upload
Retrieve metadata for a previously created upload by its ID.
GET
/
v1
/
utilities
/
uploads
/
{upload_id}
Retrieve an upload
curl --request GET \
--url https://api.bachs.io/v1/utilities/uploads/{upload_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bachs.io/v1/utilities/uploads/{upload_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bachs.io/v1/utilities/uploads/{upload_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bachs.io/v1/utilities/uploads/{upload_id}"
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))
}{
"upload_id": "upl_4f3e2d1c9b8a7605f4e3",
"file_name": "pro-plan-hero.png",
"mime_type": "image/png",
"file_size_bytes": 204800,
"url": "https://cdn.bachs.io/uploads/upl_4f3e2d1c9b8a7605f4e3/pro-plan-hero.png",
"linked_resource_type": "product",
"linked_resource_id": "prod_4b91c2e7d3a85f60b1c9",
"created_at": "2026-07-13T13:40:11.000Z",
"updated_at": "2026-07-13T13:41:02.000Z"
}{
"detail": "Invalid API key",
"error_code": "UNAUTHORIZED"
}{
"detail": "Resource not found",
"error_code": "NOT_FOUND"
}Authorizations
Bearer token authentication. Pass your API key as Authorization: Bearer sk_.... See Authentication for keys, scopes, and sandbox vs production.
Response
Upload metadata
A stored file and its metadata.

