get__bucket_{bucketId}_status
GET /bucket/{bucketId}/status
Get Bucket Status
Retrieve the current status of a specific storage bucket, including information about all connected nodes, their latency, and operational status.
Note: This endpoint respects workspace access controls. Users can only access buckets within their accessible workspaces.
TypeScript Client Library
public getStorageBucketStatus = async (bucketId: string): Promise<StorageBucketStatusResponse> => {
return this.makeRequest<StorageBucketStatusResponse>(`bucket/${bucketId}/status`, 'GET', null);
};
Code Samples
# You can also use wget
curl -X GET https://backend.flashback.tech/bucket/{bucketId}/status \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Parameters
bucketId
path
string
true
Unique identifier of the bucket
Example responses
200 Response
{
"bucketId": "550e8400-e29b-41d4-a716-446655440000",
"nodeStatus": [
{
"ip": "192.168.1.100",
"region": "us-east-1",
"version": "1.2.3",
"status": "ONLINE",
"latency_ms": 45,
"lastUpdated": "2024-01-15T10:30:00Z"
}
]
}
Responses
Response Schema
Status Code 200
» bucketId
string
false
none
Unique identifier for the bucket
» nodeStatus
[object]
false
none
Array of node status information
»» ip
string
false
none
IP address of the node
»» region
string
false
none
Geographic region of the node
»» version
string
false
none
Software version running on the node
»» status
string
false
none
Current operational status of the node
»» latency_ms
integer
false
none
Latency to the node in milliseconds
»» lastUpdated
string(date-time)
false
none
Timestamp of last status update
Status Code 403
» success
boolean
false
none
none
» message
string
false
none
none
Status Code 404
» success
boolean
false
none
none
» message
string
false
none
none
To perform this operation, you must be authenticated by means of one of the following methods: BearerAuth
Last updated
Was this helpful?