Project Branding
Manage project branding and visual identity.
Get one branding profile's colors, fonts, logos and favicon
/organizations/{organizationId}/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 org = await gc.organizations.getOrganizationBySlug({ slug: "default-org" });const { projects } = await gc.projects.listProjects({ organizationId: org.id });
const branding = await gc.projectBranding.getProjectBranding({ organizationId: org.id, projectId: projects[0].id, brandingId: "target-branding-id",});
List a project's named branding profiles: colors, fonts, logos, favicon
/organizations/{organizationId}/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 org = await gc.organizations.getOrganizationBySlug({ slug: "my-org" });const { projects } = await gc.projects.listProjects({ organizationId: org.id });
const { brandings } = await gc.projectBrandings.listProjectBrandings({ organizationId: org.id, projectId: projects[0].id,});