Manage project branding and visual identity.
Get project branding
/organizations/{id}/projects/{projectId}/brandings/{brandingId}Retrieves the full details of a specific branding configuration by its unique ID within the specified project. Returns the branding's name and complete set of visual identity settings including primary and secondary colors, font selections, logo URLs, favicon, and any other configured styling properties. The branding must belong to the specified project.
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { data: projectBranding } = await gc.projectBranding.getProjectBranding({ id: "id", projectId: "project-id", brandingId: "branding-id"});Get project brandings
/organizations/{id}/projects/{projectId}/brandingsReturns a paginated list of all branding configurations for the specified project. Projects can have multiple named branding profiles (e.g., 'Website Brand', 'LMS Brand'), each containing visual identity settings such as primary and secondary colors, font selections, logo URLs, and favicon. Each branding entry includes its unique ID, name, and the full set of configured styling properties.
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { data: brandings } = await gc.projectBranding.listProjectBrandings({ id: "branding-id", projectId: "project-id"});