Before you start
You need:- a dedicated Bloom API key created from the approved account that will own the integration (create one in Account);
- one or more public website or non-PDF file sources; and
- a server-side environment where the API key remains secret, with
curlandjqinstalled.
1. Create the Brand Skill
This example creates a Brand Skill from a website:202 Accepted:
data.idis the Brand Skill ID. The command saves it asBRAND_SKILL_ID; use it to check the build and delete the Brand Skill.data.brandIdis the ID of the created Brand.
instructions is optional, applies only to this Brand Skill run, and may
contain up to 4,000 characters after surrounding whitespace is removed. Bloom
passes it to the Brand Agent as customer guidance for authoring the Skill. The
Agent decides how to apply it under its existing instructions, so do not treat
it as a strict output guarantee.
2. Check the build
data.status is completed or failed. Wait 10
seconds before the first check, then double the interval after each
non-terminal response up to 60 seconds. Add a small random delay when polling
several Brand Skills so their requests do not arrive together. If a check
returns 429 Too Many Requests, wait for the number of seconds in the
Retry-After response header before checking again, or wait 60 seconds if the
header is absent.
When the build completes, data.download contains the temporary ZIP URL,
filename, and byte length. The get reference
contains the complete response schema.
3. Download and extract the Skill
Copydata.download.url from the completed response:
4. Optional: remove API access immediately
Bloom removes the Brand Skill and its inputs and derived outputs within 30 days of successful bundle delivery. You do not need to callDELETE to start this
clock.
After your system has stored the Skill, you may hide it from the API immediately:
Build the production lifecycle
Add safe polling, failure handling, storage, and cleanup to your backend.