Skip to content

Get Object Content

GET
/api/v1/storage/objects/{key}

Get object content as a streaming response.

Args: key: Full object key (path) storage: Storage provider (injected)

Returns: StreamingResponse with object content

Raises: HTTPException: 404 if not found, 503 if storage not available

key
required
Key
string

Successful Response

Resource not found

ErrorResponse

Standard error response matching FastAPI HTTPException format.

This model is used in OpenAPI response declarations for 4xx/5xx errors. The detail field matches FastAPI’s HTTPException structure.

object
detail
required
Detail

Error message (matches FastAPI HTTPException)

string
error_code
Any of:
string
correlation_id
Any of:
string
timestamp
Timestamp

Error timestamp

string format: date-time

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object