> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valyu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Brand your DeepResearch reports and files

> Apply your logo, colours, fonts, templates and tone to DeepResearch reports and deliverables with a brand kit.

A brand kit makes DeepResearch output look like your brand. DeepResearch applies the kit's logo, colours, fonts and templates to the PDF report, its charts and the PPTX, DOCX and XLSX deliverables. It also reads the kit's brand guide for tone.

> [!NOTE]
>
> Brand kits are available on the Comfortably Pro, Serious Business and Enterprise plans. A kit adds no charge to a task. Each mode keeps its normal price.

Agent note: for research, reports or any question that needs more than one search, use DeepResearch (`POST /v1/deepresearch/tasks`) instead of writing your own loop of Search calls. Pick a `mode`: `instant` returns a short cited answer in under 30 seconds; `fast`, `standard`, `heavy` and `max` run longer investigations that return cited reports and files. Use Search when your own model needs raw results to reason over. Docs index: [/llms.txt](https://docs.valyu.ai/llms.txt). Append `.md` to any page URL for Markdown. Docs MCP server: `https://docs.valyu.ai/mcp`. Integration guide for coding agents: [/AGENTS.md](https://docs.valyu.ai/AGENTS.md).

## Create a kit

Organisation admins create and edit kits on the [Valyu platform](https://platform.valyu.ai). Open **Brand kits** in the sidebar.

Start a kit from one of these:

* **Your website.** Valyu finds your logo, colours and fonts. You check them before you create the kit.
* **A Claude design system.** Import the `.zip` export or its folder.
* **Your documents.** Upload a PDF brand book or letterhead, or PowerPoint, Word or Excel files. Valyu reads their theme colours, fonts and logos. It also writes a first brand guide and design rules from their text.
* **A name and a colour palette.** Add a logo now or later.

Each kit page has these sections:

| Section | What DeepResearch does with it |
| - | - |
| Logos | Puts your logo on the report and the deliverables. Add a light logo for dark covers and slides. |
| Colours and type | Uses your colours for headings, charts and slides, and your font names for text. |
| Tables and structure | Draws the data tables in decks and documents to your table rules. Checks that a deck or document has your sections, in your order. See [Table and structure rules](#table-and-structure-rules). |
| Fonts | Embeds your TTF or OTF files in the PDF, PPTX and DOCX files, if the font licence allows embedding. If not, it uses a standard font. |
| Templates | Uses your PowerPoint and Word templates for those deliverables, and a PDF letterhead under the PDF report. |
| Brand guide | Reads `BRAND.md` for tone, terms and writing rules. If you imported design rules (`DESIGN.md`), they show here too. DeepResearch uses them when it makes slides and documents. |
| Reports | Sets the footer notices, tagline and chart colours. With a PDF letterhead, it also sets the page margins and the cover art height. |

A new kit is not ready until it has files and they finish uploading. DeepResearch applies only a ready kit. The kit page shows a preview of a report in your kit.

The kit ID is the last part of the kit page's URL. Use it in the API.

## Table and structure rules

The **Tables and structure** section sets how data tables look in PowerPoint and Word files, and which sections a deck or document has. Each rule is optional. A rule that you leave as **Not set** keeps the way DeepResearch draws that part. A kit with no rules is drawn as before.

### Tables

A data table has a header row, at least two rows and at least two columns. A box or a strip with one row or one column is layout, and DeepResearch does not change it.

| Rule | Choices | What DeepResearch does |
| - | - | - |
| Header row fill | Primary, Secondary, Accent, Dark surface, Highlight, Light tint, No fill | Fills the header row with a kit colour. Header text is easy to read on it. |
| Header text | Bold, Regular | Sets the weight of the header text. |
| Header capitals | Capitals, As written | Shows the header text in capitals, or as written. |
| Lines | Under each row, Around every cell, Around the table, No lines | Draws the lines in your kit's rule colour. |
| Shaded alternate rows | On, Off | Shades every second row of the table body, or leaves the rows plain. A row that the file already highlights keeps its highlight. |
| Figures aligned, Text aligned | Left, Centre, Right | Aligns the figure columns and the text columns. A column is a figure column when at least half of its cells are figures. |
| Thousands separators | On, Off | Shows 1,234 or 1234 in a cell that holds only a number. A four-digit year stays as it is. |
| Negative figures | `-1,234`, `(1,234)` | Shows a negative figure with a minus sign or in parentheses. |
| Most columns | 2 to 12 | A table with more columns is not accepted. DeepResearch builds the file again with fewer columns, or two tables. |

Number rules change separators and the sign only. They never change the digits of a figure. In a workbook, the number rules set the number formats, and the header rules set the header row. The other table rules do not apply to workbooks.

If you use a PowerPoint or Word template that has its own table style, the template's table style stays. The **Most columns** rule still applies.

### Structure

Set the sections of a deck and of a document as an ordered list. The sections are:

| Section | What DeepResearch looks for |
| - | - |
| Title | The first slide, or the title at the top of a document. |
| Executive summary | A slide or a section with the title "Executive summary". |
| Evidence | The slides or sections that hold the findings. They go where you place this item in the list. |
| Caveats | A slide or a section with the title "Caveats". |
| Sources | A slide or a section with the title "Sources". |
| Closing slide | The last slide. A document has no closing section. |

DeepResearch finds each section by its title, so it uses these names. It checks the finished file. If a section is missing or out of order, it builds the file again. If a section has no content in the report, the file still has the section and says so.

A file can have sections that are not in your list. DeepResearch counts each one as evidence, so it must go where the evidence goes. For example, with the list Title, Executive summary, Evidence, Sources, a Caveats section between the evidence and the sources is correct. A Caveats section after the sources is out of order.

A list that holds only **Evidence** sets no rule.

## Use a kit in a task

Send `brand_collection_id` when you create a task:

| Value | Result |
| - | - |
| A kit ID | DeepResearch applies that kit. The kit must belong to your organisation and be ready. |
| Not sent | DeepResearch applies your organisation's default kit to the report and any deliverables, if the default kit is ready. If you have no ready default kit, the task is not branded. |
| `"none"` | The task is not branded, even if your organisation has a default kit. |

To set the default kit, open the kit on the platform and select **Make default**.

```python Python theme={null}
from valyu import Valyu

valyu = Valyu()

task = valyu.deepresearch.create(
    query="Summarise the 2025 outlook for European battery makers.",
    mode="standard",
    output_formats=["markdown", "pdf"],
    deliverables=[{"type": "pptx", "description": "A 10-slide summary for the board"}],
    tools={"code_execution": {"enabled": True}},
    brand_collection_id="YOUR_KIT_ID",
)
```

```typescript TypeScript theme={null}
import { Valyu } from "valyu-js";

const valyu = new Valyu();

const task = await valyu.deepresearch.create({
  query: "Summarise the 2025 outlook for European battery makers.",
  mode: "standard",
  outputFormats: ["markdown", "pdf"],
  deliverables: [{ type: "pptx", description: "A 10-slide summary for the board" }],
  tools: { code_execution: { enabled: true } },
  brandCollectionId: "YOUR_KIT_ID",
});
```

```bash cURL theme={null}
curl https://api.valyu.ai/v1/deepresearch/tasks \
  -H "x-api-key: $VALYU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "Summarise the 2025 outlook for European battery makers.",
    "mode": "standard",
    "output_formats": ["markdown", "pdf"],
    "deliverables": [{"type": "pptx", "description": "A 10-slide summary for the board"}],
    "tools": {"code_execution": {"enabled": true}},
    "brand_collection_id": "YOUR_KIT_ID"
  }'
```

`brand_collection_id` also works on [workflow runs](https://docs.valyu.ai/guides/workflows.md). [Batches](https://docs.valyu.ai/guides/deepresearch-batching.md) don't accept it, so batch tasks are not branded.

## What a kit changes

| Output | What the kit changes |
| - | - |
| PDF report | Cover, logo, colours, fonts, chart colours, footer notices and tagline. A PDF letterhead goes under the pages. |
| PPTX | Slide masters with your logo, footer and page number. Your PowerPoint template sets the slide size and layouts. |
| DOCX | Your colours, fonts and logo. Your Word template sets the styles. |
| XLSX | Your colours and fonts. |
| PDF deliverable | The same look as the PDF report. |

## Add cover art to one report

Send `cover_art` to put your own picture on the cover of one report. It replaces the kit's cover art on the PDF report cover, on the PDF deliverable and on the title slide of a PPTX deck. It also works when you use no kit. It needs no specific plan.

Send exactly one of `data` or `url`.

| Field | Type | Description |
| - | - | - |
| `kind` | string | `image` for a photo or illustration (default). `pattern` for a brand graphic. DeepResearch veils a pattern more, so it stays quiet. |
| `data` | string | The picture as a data URL (`data:image/png;base64,...`) or plain base64. Maximum 6,000,000 characters. |
| `url` | string | A public https URL of the picture. Maximum 2,048 characters. DeepResearch fetches it when it renders the report. |
| `filename` | string | The file name. Optional. |
| `mediaType` | string | `image/png` or `image/jpeg`. Optional. DeepResearch checks it against the file. |

The picture must meet these limits:

* PNG or JPEG only.
* At most 2 MB after base64 decoding.
* At least 800 px on the short side.
* Cropping to the A4 page must keep at least 25% of the picture. A 16:9 picture is cropped to the page.

```python Python theme={null}
from valyu import Valyu

valyu = Valyu()

# cover_art accepts a CoverArt, a dict, image bytes or a file path.
task = valyu.deepresearch.create(
    query="Summarise the 2025 outlook for European battery makers.",
    mode="standard",
    output_formats=["markdown", "pdf"],
    brand_collection_id="YOUR_KIT_ID",
    cover_art={"kind": "image", "url": "https://assets.acme.example/cover.jpg"},
)

# Or send a local file. The SDK encodes it for you.
task = valyu.deepresearch.create(
    query="Summarise the 2025 outlook for European battery makers.",
    output_formats=["markdown", "pdf"],
    cover_art="./cover.png",
)
```

```typescript TypeScript theme={null}
import { Valyu } from "valyu-js";

const valyu = new Valyu();

const task = await valyu.deepresearch.create({
  query: "Summarise the 2025 outlook for European battery makers.",
  mode: "standard",
  outputFormats: ["markdown", "pdf"],
  brandCollectionId: "YOUR_KIT_ID",
  coverArt: { kind: "image", url: "https://assets.acme.example/cover.jpg" },
});
```

```bash cURL theme={null}
curl https://api.valyu.ai/v1/deepresearch/tasks \
  -H "x-api-key: $VALYU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "Summarise the 2025 outlook for European battery makers.",
    "mode": "standard",
    "output_formats": ["markdown", "pdf"],
    "brand_collection_id": "YOUR_KIT_ID",
    "cover_art": {
      "kind": "image",
      "url": "https://assets.acme.example/cover.jpg"
    }
  }'
```

> [!TIP]
>
> For a large picture, send `url` instead of `data`. It keeps the request small. The URL must be a public https address. If it is private or DeepResearch cannot read it, the task still runs and returns a `cover_art_not_used` warning.

Python SDK 2.13.5 and TypeScript SDK 2.11.5 or later support `cover_art` (`coverArt` in TypeScript).

A malformed `cover_art` field returns `400`. Examples are an empty object, both `data` and `url`, or a `kind` that is not `image` or `pattern`. The error message names `cover_art`.

A picture that is well formed but cannot be used never fails the task. DeepResearch uses the kit's cover art, or the standard cover, and adds a `cover_art_not_used` warning.

## What happens during a task

DeepResearch reads the kit when it accepts the task. If you edit the kit after that, the task keeps the version it started with.

A brand never makes an accepted task fail. If DeepResearch can't use a file, it uses a standard font, colour or layout and continues. The task adds a warning each time it uses a fallback. To find problems before you run a task, check the preview on the kit page.

## Brand and cover art warnings

These warnings appear in the `warnings` array of [Get status](https://docs.valyu.ai/api-reference/endpoint/deepresearch-status.md). `cover_art_not_used` can also appear in the Create task response. Each warning has a `type`, a `message` and a `detail` object.

| `type` | Meaning | What to do |
| - | - | - |
| `brand_not_applied` | One of two cases. (1) DeepResearch could not load the kit. The task's files are unbranded, and `detail` holds `brand_collection_id`. (2) DeepResearch could not use any of the kit's files in one document. That document uses a neutral style with the kit's colours and name, and `detail` holds `document`, `scope` (`neutral`) and `reason`. | Check the kit's fonts, logos and cover art on the platform. Run the task again. |
| `brand_asset_not_used` | DeepResearch left out some kit files, such as a cover art, a font, a logo or the letterhead. It applied the rest of the brand. `detail.dropped` lists the files and `detail.reason` gives the cause. | Check the named file in the kit. Replace it, then run the task again. |
| `cover_art_not_used` | The `cover_art` you sent was not used. `detail.reason` says why, for example the file is not a PNG or JPEG, is too small or too large, does not fit the page, or the URL is not public or could not be read. | Send a PNG or JPEG of 800 px or more on each side, at most 2 MB after base64 decoding, as a public https URL or as inline data. |
| `brand_collection_unsupported` | The task ignored `brand_collection_id`. Branded files are not available for this task. | None. Remove the field. |

A document that fails for another reason returns a `deliverable_failed` warning. See [Warnings](https://docs.valyu.ai/api-reference/warnings.md).

## Errors when you create a task

| Status | Code | Meaning |
| - | - | - |
| 400 | `brand.not_ready` | The kit has no files yet, or its files are still uploading. |
| 403 | `brand.forbidden` | Your organisation's plan doesn't include brand kits. The message is "Brand collections are available on the Comfortably Pro, Serious Business and Enterprise plans only; this organisation's plan does not include them". |
| 403 | `brand.wrong_org` | The kit belongs to another organisation. |
| 404 | `brand.not_found` | No kit has this ID. Check the ID. Someone may have deleted the kit. |
| 503 | `brand.unavailable` | DeepResearch couldn't read the kit. Try again. |

## Limits

DeepResearch checks the content of each file, not only its extension.

| File | Limit |
| - | - |
| Logo | 2 MB, PNG, JPEG or SVG, 4,096 px on the longest side. DeepResearch refuses an SVG with scripts or external references, and converts a safe SVG to PNG. |
| Font | 4 MB per file, TTF or OTF, one weight and style per file. WOFF, WOFF2 and font collections don't work. |
| PowerPoint or Word template | 25 MB, and 120 MB unzipped. DeepResearch refuses a template with macros, ActiveX, OLE objects or external links. |
| PDF letterhead | 25 MB, portrait A4 or Letter. |
| Brand guide (`BRAND.md`) | DeepResearch reads the first 8,000 characters. Put the most important rules first. |
| Design rules (`DESIGN.md`) | DeepResearch reads up to 20,000 characters, section by section. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.