## Get an asset `$ flora assets retrieve` **get** `/assets/{assetId}` Returns metadata for one asset when it is accessible to the authenticated public API key. Missing and inaccessible assets both return 404. ### Parameters - `--asset-id: string` Asset identifier ### Returns - `AssetGetResponse: object { asset_id, content_type, created_at, 11 more }` - `asset_id: string` Asset identifier - `content_type: string` Asset content type - `created_at: string` Asset creation time (ISO 8601 datetime) - `description: string` Asset description - `failure_message: string` Failure message when the asset is in failed status - `height: number` - `name: string` Asset name - `size_bytes: number` - `status: "pending_upload" or "ready" or "failed"` - `"pending_upload"` - `"ready"` - `"failed"` - `upload_content_type: string` Content type provided at upload time - `uploaded_via: string` Asset source - `url: string` Asset URL - `width: number` - `workspace_id: string` Workspace identifier ### Example ```cli flora assets retrieve \ --api-key 'My API Key' \ --asset-id asset_abc123 ``` #### Response ```json { "asset_id": "asset_abc123", "content_type": "content_type", "created_at": "2019-12-27T18:11:19.117Z", "description": "description", "failure_message": "failure_message", "height": 0, "name": "name", "size_bytes": 0, "status": "pending_upload", "upload_content_type": "upload_content_type", "uploaded_via": "uploaded_via", "url": "https://example.com", "width": 0, "workspace_id": "ws_abc123" } ```