Galon Cloud
Galon API v1

/projects/{project_id}/storage/objects/{object_id}

Base URL https://api.galon.ai/v1 · export GALON_API_BASE="https://api.galon.ai/v1"

GET /projects/{project_id}/storage/objects/{object_id}

Console — Get an object's metadata

Galon console session: tenant from the session, project in the path verified as an active project of the tenant, project environment; admin role (a member receives 403 reserve_admin). Same control plane and same projection as the key-based route. Metadata only, never the content. Hidden surface: 404 not_found until the Galon Object opt-in is enabled and a qualified data plane is injected. No bytes pass through the API; no internal reference or provider name is returned.

Console session only (signed-in console).

Parameters

NameInTypeDescription
project_idpathstring · required
object_idpathstring · required

Responses

StatusDescriptionBody
200ObjectStorageObject
401unauthorized (session missing, expired or revoked)Error
403reserve_admin (member)Error
404project_not_found, not_found (surface closed or tenant not admitted), storage_object_not_found, not_foundError
503storage_temporarily_unavailableError
422project_id_invalidError

Examples

curl

curl -X GET "$GALON_API_BASE/projects/<project_id>/storage/objects/<object_id>" \
  -H "Authorization: Bearer $GALON_API_KEY"

DELETE /projects/{project_id}/storage/objects/{object_id}

Console — Request deletion of an object

Galon console session: tenant from the session, project in the path verified as an active project of the tenant, project environment; admin role (a member receives 403 reserve_admin). Same control plane and same projection as the key-based route. Idempotent, no body: 202 on the first request, 200 on subsequent ones with the same job. The object moves to 'deleting' and stays listed until purged; its volume remains counted in committed_bytes (and pending_deletion_bytes) until then. Hidden surface: 404 not_found until the Galon Object opt-in is enabled and a qualified data plane is injected. No bytes pass through the API; no internal reference or provider name is returned.

Console session only (signed-in console).

Parameters

NameInTypeDescription
project_idpathstring · required
object_idpathstring · required

Responses

StatusDescriptionBody
202Deletion queuedStorageObjectDeletion
200Idempotent replayStorageObjectDeletion
400body_not_allowedError
401unauthorized (session missing, expired or revoked)Error
403reserve_admin (member)Error
404project_not_found, not_found (surface closed or tenant not admitted), storage_object_not_found, not_foundError
503storage_operation_indeterminate: replayError
422project_id_invalidError

Examples

curl

curl -X DELETE "$GALON_API_BASE/projects/<project_id>/storage/objects/<object_id>" \
  -H "Authorization: Bearer $GALON_API_KEY"