# Get organization logo div strong 🔨 In Development — This section is still being developed and may change. Returns the organization logo image. This endpoint provides better caching and smaller JSON responses compared to embedding logos in API responses. #### Path Parameters **`organization_id`** string required The organization ID. ## Returns Organization logo image binary data with appropriate `Content-Type` header. Returns `404` if no logo is available. ## Download logo ```bash curl https://api.freddy.aitronos.com/v1/organizations/ORG_797C4DDB256A300C/logo \ -H "Authorization: Bearer $FREDDY_API_KEY" \ --output logo.png ``` ```python import requests response = requests.get( f"https://api.freddy.aitronos.com/v1/organizations/{organization_id}/logo", headers={"Authorization": f"Bearer {api_key}"} ) if response.status_code == 200: with open('logo.png', 'wb') as f: f.write(response.content) else: response.raise_for_status() ``` ```javascript const response = await fetch(`https://api.freddy.aitronos.com/v1/organizations/${organization_id}/logo`, { headers: { 'Authorization': `Bearer ${apiKey}` } }); if (!response.ok) { throw new Error('Logo not available'); } const blob = await response.blob(); const url = URL.createObjectURL(blob); ``` ## Response headers ```text Cache-Control: public, max-age=3600 ETag: "organization_id-hash" Content-Type: image/png ```