Generate the dataset's cover image
generate_coverGenerates the dataset's branded 1200×630 cover and attaches it: the page, the Community tile and the share card all wear it. Every dataset gets exactly one, generated once its description is written. Call it only for a dataset that has no cover (get_my_dataset says has_cover). A dataset that already has one is refused cover_exists, because a new cover REPLACES the current one everywhere, including a cover a person uploaded; pass replace: true only when the person has asked for a new cover. subject says in plain words what the image should depict — the place, the instrument, the phenomenon — and nothing about style, colour or size, which the service fixes. Leave it out to derive one from the dataset's name and description. Example: {"dataset_id": "…", "subject": "A weather station on the edge of Denver International Airport under a wide sky"}. COSTS MONEY: about $0.10 per image, and it is rate-limited per person and per workspace. A rate-limited or busy answer means do without a cover for now and say so; never retry it in a loop. To retry the SAME generation after an uncertain answer, send the idempotency_key it returned. Returns {dataset_id, cover_image_url, color, idempotency_key, visibility, public_projection_synced, dashboard_url}. The cover is already saved on the dataset; do not follow it with update_dataset. visibility is who can see the dataset: private (this workspace only), link (anyone with its link) or public (listed on Mostly Right), or null if unknown. public_projection_synced only says the public copy is current: it is true for a private dataset too and never means the dataset is public. Report visibility, not that flag. Change it only with set_dataset_visibility, and only when the person asks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replace | No | ||
| subject | No | ||
| dataset_id | Yes | ||
| idempotency_key | No |