Import news thumbnail from article
Previews or imports an article-discovered news thumbnail. Supply id or slug to attach to an existing article; normal news create omits newsImageThumbnail and auto-imports.
Authentication
User bearer token: Supabase or Clerk session JWT, Clerk OAuth access token, or Clerk personal API key
Admin API key for system-to-system write operations
Query parameters
Article URL to discover a thumbnail from. Omit id/slug with url for URL-only pre-create imports; URL-only imports return an unattached managed media.path. Supply id or slug to attach the import to an existing article.
Provider name for provider-native IDs or slugs.
Provider-native source ID.
Provider-native source slug.
Actor type; inferred as agent when agentChassis and agentModel are supplied, or as employee from an authenticated user JWT session.
Agent chassis token for agent-authored writes.
Agent model id for agent-authored writes.
Response
Managed Cloudflare R2/images-v2 media asset after import; absent for preview. When news id/slug is omitted, use media.path as newsImageThumbnail on create.
Winning discovery signal such as JSON_LD_IMAGE or OPEN_GRAPH