postApiV1AdminNotificationsAnnounceModel
postApiV1AdminNotificationsAnnounceModel<
ThrowOnError>(options:Options<PostApiV1AdminNotificationsAnnounceModelData,ThrowOnError>):RequestResult<PostApiV1AdminNotificationsAnnounceModelResponses,PostApiV1AdminNotificationsAnnounceModelErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:328
Announce a new model via push notification (admin)
Creates an immediately-scheduled announcement campaign for a curated model (delivery is asynchronous and preference-gated; only announcements opt-ins receive it). Title and body default from the catalog entry; the tap deep-links to the in-app models screen. Idempotent per model_id — repeat calls return 409 unless force=true. Track delivery via GET /api/v1/admin/notifications/campaigns/{campaign_id}.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostApiV1AdminNotificationsAnnounceModelResponses, PostApiV1AdminNotificationsAnnounceModelErrors, ThrowOnError>