Skip to main content
Confirm a signed-URL logo upload

Path Parameters

organization_id
string
required

Query Parameters

variant
enum<string>
default:light

Which mark to address: 'light' (the default) or 'dark'. On the GET, an unset variant falls back to the other one.

Available options:
light,
dark

Body

application/json

Record a logo that has been uploaded to its signed URL.

content_type
string
required

MIME type used for the upload. Must match the initiate request, since it determines the path the object was written to.

Response

Successful Response

Pydantic model for an organization.

id
string
required
name
string
required
slug
string
required
usage_limit

Monthly usage limit

nav_config
Nav Config · object | null

Per-organization nav config: { '': { 'show': bool, 'disabled': bool, 'badgeLabel': str | None, 'badgeTooltip': str | None } }

plotting_preferences
string | null

Free-text markdown describing how this organization wants the battery agent to format plots; injected into the agent's system prompt each turn. None means not set (nothing is injected).

logo_path
string | null

Storage object path of the light-mode organization logo, or None when unset. Not a URL: the bucket is private, so clients fetch the image from GET /organizations/{id}/logo, which returns a signed URL. Set via POST /organizations/{id}/logo, not via PATCH.

logo_path_dark
string | null

Storage object path of the dark-mode organization logo, or None when unset. Optional: dark mode falls back to logo_path when this is None, and light mode falls back to this when logo_path is None. Set via POST /organizations/{id}/logo?variant=dark.

user_organization_roles
UserOrganizationRole · object[] | null

List of user organization roles

created_at
string<date-time> | null

Timestamp of creation

updated_at
string<date-time> | null

Timestamp of last update