ask-expert

Ask Moda's built-in expert a product how-to question — free, grounded, cited.

Answers are generated from Moda's own teaching corpus and pass a mechanical lint against the live tool/verb surface before they ship; when a claim cannot be verified the answer degrades to a verbatim guide excerpt. Never metered. Pass brand_kit_ref to ground styling advice in one of your brand kits (opt-in per request — never inferred).

post/ask

Request

  • Base URL
    https://api.moda.app/v1
  • URL
    https://api.moda.app/v1/ask
  • Auth
    HTTP bearer

Headers

Moda-Version'2026-04-12' | '2026-05-01'
Example:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Request body

questionstring required

A Moda product how-to question, in plain language.

contextstring nullable

Optional context: the failing command, error text, or what you are trying to build.

session_idstring nullable

Optional session id from a previous answer. Pass it to continue that conversation with context; omit it to start a new session (every response returns one).

brand_kit_refstring nullable

Optional brand-kit reference (a bk_… id or UUID from GET /v1/brand-kits). Styling questions answer better with it: when present — and only then — the kit's palette, fonts, tone, and key imagery are injected as reference context so the advice is grounded in your brand. Never inferred: omitting it asks without any brand context. Requires the brand_kits:read scope.

Response

Successful Response

object required

Changes