Brand Studio docs
Engineering manualAPI route source

/api/brand-studio/ai-link

Exact current route handler: hosted-app/app/api/brand-studio/ai-link/route.js

Methods: POST. Input signals: none detected. Literal response-status signals: none detected.

Source: hosted-app/app/api/brand-studio/ai-link/route.js. Imports: ../../../../lib/ai-brief-http.mjs. Exact source is shown for inspection; its presence does not prove authentication, validation or live behavior.

All API routes · API and execution contract

import { createAiLinkResponse } from '../../../../lib/ai-brief-http.mjs';
export const runtime = 'nodejs';
export const dynamic = 'force-dynamic';

/** Owner human-session only. Creates a bearer share valid for at most 24 hours. */
export async function POST(request) {
  return createAiLinkResponse(request);
}