aidelly_create_repurpose_job
Run a synchronous repurpose job: extract source content, distill, and generate output for one (medium, shape) target.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional body override for endpoints with sparse parameter schemas. | |
| query | No | Optional query overrides for endpoints with sparse parameter schemas. | |
| shape | Yes | Output shape ID — must be one of the valid shapes for the chosen `medium` (an invalid pair returns 400 listing the valid shapes): twitter: single_tweet | thread_3 | thread_5 | thread_10 | thread_script | long_form_article instagram: single_post | carousel_7 | reel_script linkedin: short_post | long_form_1500w | article | carousel_7 tiktok: caption | video_script | shorts_script youtube: description | video_script | shorts_script pinterest: pin_description threads: single_post | thread_5 facebook: short_post substack_newsletter: essay_800w | essay_2000w substack_note: note reddit_thread: post_title_and_body newsletter: issue_600w email: subject_and_body podcast: episode_outline | show_notes lead_resource: lead_magnet_outline | one_pager case_study: case_study_writeup bluesky: single_post | thread_3 mastodon: single_post google_business: update_post | |
| medium | Yes | ||
| brand_id | No | ||
| sourceRef | No | URL for `url`/`youtube`, storage ref for `pdf`, or row id for `aidelly_draft` / `aidelly_scheduled`. Required unless `sourceType` is `raw_text`. | |
| sourceText | No | Required when `sourceType` is `raw_text`. | |
| sourceType | Yes | ||
| sourceTitle | No | ||
| workspace_id | No | Workspace to operate in. Do not ask the user for this UUID — call aidelly_list_workspaces and use the `id` of the matching workspace. Optional for read operations; required when creating content. | |
| idempotency_key | Yes |