> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solaraai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List posts: a window, or one video's

> Solara AI API: A video can have several posts, each with its own time, platforms and captions. `from` and `to` bound a window, each post once by `publish_at`; `video_id` lists one video's posts instead. A key gets no media URL.

Permission: **Read** (`read`).



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/posts
openapi: 3.1.0
info:
  title: Solara AI API
  version: '1'
  description: >-
    Make and edit videos with an API key. Every operation here accepts a key;
    everything else in Solara is for people in the app. Generated from the
    backend by tools/docs/build-public-spec.ts.
servers:
  - url: https://api.solaraai.com
    description: Production
security:
  - ApiKeyBearer: []
tags:
  - name: Styles
    description: The looks a video can be made in.
  - name: Upload
    description: Send a recording to Solara in parts.
  - name: Footage
    description: >-
      The person's own photos and clips, shown as b-roll on the lines that
      mention them. Add each one after the recording's upload and before Create
      a video: footage added after the video is made isn't placed in it.
  - name: Videos
    description: Make a video from an upload and follow it.
  - name: Editing
    description: Read and change an edit. Editing is free and never renders.
  - name: Export
    description: >-
      Render the final video and download it. An export uses one of the plan's
      videos.
  - name: Calendar
    description: >-
      What posts when, how each post went, and what is ready to post. Read only:
      moving, retrying or deleting a post is the person's, in Solara.
  - name: Performance
    description: >-
      How the workspace's posts are doing: each platform's own numbers, read on
      a schedule, never live. YouTube's and Threads' numbers are not shared with
      an API key; X's come with a plan; LinkedIn isn't measured yet.
  - name: Posting
    description: >-
      Ask the person to approve a post: they approve in Solara, and nothing
      posts before. Needs the Ask to post permission, which an AI agent gets
      when the person allows it; keys made in the app do not have it.
paths:
  /api/v1/posts:
    get:
      tags:
        - Calendar
      summary: 'List posts: a window, or one video''s'
      description: >-
        A video can have several posts, each with its own time, platforms and
        captions. `from` and `to` bound a window, each post once by
        `publish_at`; `video_id` lists one video's posts instead. A key gets no
        media URL.


        Permission: **Read** (`read`).
      operationId: list-posts
      parameters:
        - description: Only posts going out at or after this instant
          explode: false
          in: query
          name: from
          schema:
            description: Only posts going out at or after this instant
            format: date-time
            type: string
        - description: Only posts going out before this instant
          explode: false
          in: query
          name: to
          schema:
            description: Only posts going out before this instant
            format: date-time
            type: string
        - description: >-
            Only this video's posts, every one whatever its time (from and to
            are then ignored)
          explode: false
          in: query
          name: video_id
          schema:
            description: >-
              Only this video's posts, every one whatever its time (from and to
              are then ignored)
            format: uuid
            type: string
        - description: Maximum posts to return
          explode: false
          in: query
          name: limit
          schema:
            default: 100
            description: Maximum posts to return
            format: int64
            maximum: 200
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostsOutputBody'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - ApiKeyBearer: []
components:
  schemas:
    PostsOutputBody:
      additionalProperties: false
      type: object
      properties:
        posts:
          items:
            $ref: '#/components/schemas/PostBody'
          type:
            - array
            - 'null'
        truncated:
          description: >-
            The window holds more posts than limit, and only the first are
            listed. Absent otherwise
          type: boolean
      required:
        - posts
    ErrorModel:
      additionalProperties: false
      type: object
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
          description: >-
            Names a customer-visible error, for the app to translate; absent on
            other errors
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
    PostBody:
      additionalProperties: false
      type: object
      properties:
        agent_change:
          $ref: '#/components/schemas/AgentChangeBody'
          description: >-
            An AI agent moved or cancelled this post. Absent when none did, or
            the post changed since
        auto_approved:
          description: >-
            An AI agent asked for it and the workspace's auto-approval approved
            it. Absent when false
          type: boolean
        caption:
          description: >-
            The shared caption: every platform not in platform_overrides posts
            it
          type: string
        comments:
          description: The shared comments, in order. Absent for none
          items:
            $ref: '#/components/schemas/PostCommentBody'
          type:
            - array
            - 'null'
        created_at:
          format: date-time
          type: string
        deliveries:
          description: Per-platform publish outcome, empty before publishing
          items:
            $ref: '#/components/schemas/VideoDeliveryBody'
          type:
            - array
            - 'null'
        failure_reason:
          description: >-
            Why it failed, as a code the app words itself — plan_ended: the
            workspace's plan ended before its time; export_failed: the version
            it waited for did not finish; account_paused: the account was paused
            at its time. Absent otherwise, and for a platform's failure
            (deliveries says it). Codes are added over time: read an unknown one
            as absent
          enum:
            - plan_ended
            - export_failed
            - account_paused
          type: string
        id:
          format: uuid
          type: string
        is_manual_upload:
          description: The customer uploaded this media; there is nothing to regenerate
          type: boolean
        link:
          $ref: '#/components/schemas/PostLinkBody'
          description: A text post's link card. Absent for none
        may_be_live:
          description: >-
            Platforms a Try again leaves out because the post may already be
            there. Absent when none
          items:
            type: string
          type:
            - array
            - 'null'
        media_items:
          description: >-
            A post of several items (a carousel), in publish order; absent for
            one item
          items:
            $ref: '#/components/schemas/MediaItemBody'
          type:
            - array
            - 'null'
        media_kind:
          description: video or photo; absent before there is media
          type: string
        media_url:
          description: The file it posts, or a manual post's uploaded media
          type: string
        needs_plan_to_post:
          description: >-
            Posting it needs a plan the workspace does not have. Absent when
            false
          type: boolean
        needs_reconnect:
          description: >-
            Platforms a Try again leaves out until their account is reconnected.
            Absent when none
          items:
            type: string
          type:
            - array
            - 'null'
        platform_formats:
          additionalProperties:
            items:
              type: string
            type:
              - array
              - 'null'
          description: 'Formats per platform, e.g. {"instagram": ["reel"]}'
          type: object
        platform_overrides:
          additionalProperties:
            $ref: '#/components/schemas/PlatformOverrideBody'
          description: >-
            The customised platforms, each with its own caption and comments.
            Absent when every platform shares them
          type: object
        platforms:
          items:
            type: string
          type:
            - array
            - 'null'
        post_kind:
          description: >-
            A text post: text alone (text), or sharing a link card (link).
            Absent for a post with media
          enum:
            - text
            - link
          type: string
        post_status:
          description: >-
            The post, as the calendar shows it (the same values as a video's
            post_status); more may come (x-extensible-enum): show an unknown one
            as scheduled
          type: string
          x-extensible-enum:
            - scheduled
            - on_hold
            - publishing
            - published
            - partly_published
            - in_tiktok_inbox
            - failed
            - cancelled
        poster_url:
          description: The video's poster frame. Absent for none
          type: string
        publish_at:
          description: 'When it goes out (a post published now: when it was asked)'
          format: date-time
          type: string
        publish_options:
          $ref: '#/components/schemas/PublishOptionsBody'
          description: Per-platform publish choices
        published_at:
          description: When it went out. Absent before
          format: date-time
          type: string
        retryable:
          description: retry-post would take this post now
          type: boolean
        revision:
          description: >-
            The export revision it posts. Absent for a post of its own media (a
            calendar upload, a text post) or a recorded video
          format: int64
          type: integer
        run_id:
          description: The post's own run (get-run, stream-run-events)
          format: uuid
          type: string
        source:
          description: >-
            Who made it: person, agent (an approved request) or migrated (a post
            from before several posts). More may come (x-extensible-enum)
          type: string
          x-extensible-enum:
            - person
            - agent
            - migrated
        state:
          description: Current lifecycle state of the post's run
          type: string
        title:
          description: The video's title
          type: string
        uses_latest_version:
          description: >-
            It posts the video's latest export: false once a newer one is
            delivered (update-post with revision latest moves it)
          type: boolean
        video_id:
          description: The video it posts
          format: uuid
          type: string
        warnings:
          description: >-
            What the post may run into at its time, never a refusal: only
            create-post and update-post answer them. Absent when none
          items:
            $ref: '#/components/schemas/PostWarningBody'
          type:
            - array
            - 'null'
      required:
        - id
        - video_id
        - run_id
        - title
        - state
        - post_status
        - publish_at
        - platforms
        - platform_formats
        - publish_options
        - caption
        - deliveries
        - retryable
        - source
        - uses_latest_version
        - is_manual_upload
        - created_at
    ErrorCode:
      description: >-
        A stable name for a customer-visible error; the app translates it.
        Absent on other errors.
      enum:
        - invalid_credentials
        - invalid_or_expired
        - too_many_attempts
        - resend_too_soon
        - email_taken
        - invalid_phone
        - temporarily_unavailable
        - turnstile_failed
        - email_unchanged
        - phone_unchanged
        - account_deletion_unavailable
        - project_not_found
        - plan_changed
        - subscription_required
        - restyle_limit
        - fill_limit
        - export_limit
        - ask_limit
        - music_limit
        - music_unavailable
        - free_limit
        - plan_required
        - allowance_used
        - not_exported
        - not_editable
        - earlier_cut
        - invalid_edit
        - edit_timing_off
        - landscape_off
        - speaker_poster_off
        - reedit_off
        - music_off
        - animated_off
        - animated_locked
        - animation_pending
        - caption_style_unfit
        - animated_colors_fixed
        - animated_too_long
        - speed_too_slow
        - animated_allowance_used
        - animated_plan_required
        - redraw_limit
        - cap_workspace
        - cap_workspace_drawing
        - cap_global
        - attachment_video
        - attachment_too_big
        - attachment_missing
        - attachment_limit
        - attachment_too_long
        - ask_busy
        - plan_not_for_sale
        - not_entitled
        - plan_change_unavailable
        - not_for_sale
        - same_plan
        - resume_required
        - upgrade_pending
        - quote_expired
        - no_pending_upgrade
        - exit_offer_ended
        - campaign_offer_ended
        - post_publishing
        - post_already_ended
        - post_not_ended
        - post_preparing
        - post_not_retryable
        - post_needs_reconnect
        - post_may_be_live
        - text_post_needs_media
        - caption_required
        - caption_too_long
        - caption_ai_limit
        - caption_ai_no_source
        - caption_ai_failed
        - caption_ai_unavailable
        - caption_ai_no_room
        - caption_ai_listening
        - upload_words_limit
        - company_not_found
        - linkedin_needs_reconnect
        - youtube_off
        - youtube_not_short
        - youtube_too_large
        - scope_not_offered
        - x_off
        - x_video_refused
        - threads_off
        - threads_video_refused
        - pinterest_off
        - pinterest_video_refused
        - pinterest_business_account_needed
        - pinterest_needs_reconnect
        - google_business_off
        - google_business_needs_reconnect
        - google_business_video_refused
        - google_business_location_not_found
        - google_business_ended
        - bluesky_off
        - bluesky_video_refused
        - linkedin_page_off
        - linkedin_page_needs_reconnect
        - linkedin_page_not_found
        - facebook_video_refused
        - photo_unfittable
        - intake_not_found
        - intake_not_complete
        - intake_limit
        - intake_not_configured
        - intake_invalid
        - api_key_invalid
        - api_key_revoked
        - api_key_not_allowed
        - insufficient_scope
        - agent_api_off
        - agent_only
        - api_key_limit
        - api_key_daily_limit
        - idempotency_in_progress
        - idempotency_key_reused
        - publish_request_expired
        - publish_request_edited
        - publish_request_decided
        - publish_request_pending
        - video_not_postable
        - text_posts_waiting
        - publish_request_daily_limit
        - video_format_not_supported
        - photo_posts_waiting
        - upload_not_ready
        - tiktok_option_not_allowed
        - workspace_owner_only
        - oauth_off
        - oauth_request_expired
        - oauth_client_gone
        - oauth_device_code_unknown
        - oauth_request_not_yours
        - url_not_allowed
        - url_not_public
        - url_unreachable
        - not_a_video
        - video_too_large
        - video_too_long
        - url_fetches_busy
        - url_fetch_daily_limit
        - upload_incomplete
        - upload_used
        - broll_off
        - media_limit
        - media_daily_limit
        - media_too_large
        - media_too_long
        - media_not_supported
        - ai_clips_off
        - clip_limit
        - ai_clips_plan_required
        - clip_refusal_limit
        - stock_clip_limit
        - auto_edit_off
        - auto_edit_limit
        - auto_edit_locked
        - auto_edit_files_missing
        - auto_edit_busy
        - auto_edit_cutting
        - picture_blocks_off
        - picture_pending
        - block_too_long
        - footage_not_ready
        - block_is_clip
        - crop_size_unknown
        - no_speech
        - no_audio
        - feedback_unavailable
        - feedback_not_sent
        - feedback_rate_limited
        - duplicate_post
        - video_has_post
        - several_posts
        - post_in_old_format
        - x_same_text
        - youtube_already_posted
        - use_create_post
        - publish_requests_waiting
        - post_analytics_needs_plan
        - workspace_suspended
        - support_view_ended
        - support_view_read_only
      type: string
    ErrorDetail:
      additionalProperties: false
      type: object
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
    AgentChangeBody:
      additionalProperties: false
      type: object
      properties:
        agent_name:
          description: >-
            The AI agent as the person named or approved it (its API key's or
            connected app's name); empty when that record is gone
          type: string
        at:
          description: When the AI agent did it
          format: date-time
          type: string
        change:
          description: >-
            moved: an AI agent moved the post to the time it has now. cancelled:
            an AI agent cancelled it; it does not post
          enum:
            - moved
            - cancelled
          type: string
        from:
          description: The time the post had before
          format: date-time
          type: string
      required:
        - change
        - agent_name
        - at
    PostCommentBody:
      additionalProperties: false
      type: object
      properties:
        link:
          description: A link posted after the text, an https URL. Absent for none
          maxLength: 2048
          type: string
        text:
          description: The comment's text; may be empty when it carries a link
          maxLength: 8000
          type: string
      required:
        - text
    VideoDeliveryBody:
      additionalProperties: false
      type: object
      properties:
        account_disconnected:
          description: >-
            Its account was disconnected since: the delivery stays, the post's
            history, named by account_name. One that did not post waits for the
            same account to be connected again (needs_reconnect). Absent when
            false
          type: boolean
        account_name:
          description: >-
            The account it went to, as it was when the delivery was made: a
            Facebook Page's name, else the account's. Kept when the account is
            disconnected. Never sent to an API key or agent token. Absent when
            unknown
          type: string
        attempts:
          format: int64
          type: integer
        comments:
          description: >-
            How each comment under the post went, in order, once the post is
            published (an X thread's replies; another platform's first comment).
            A failed one keeps the post published; retry-video-post sends it
            again when it certainly did not post. Absent for none
          items:
            $ref: '#/components/schemas/DeliveryCommentBody'
          type:
            - array
            - 'null'
        error:
          description: >-
            What the platform answered, for the person. Never sent to an API key
            or agent token: they read failure
          type: string
        failure:
          description: >-
            Why a failed delivery failed, as a stable code:
            account_needs_reconnect (reconnect the account, then Try again),
            may_be_live (the post may already be on the platform: check before
            posting again), platform_error (the platform refused it). Absent for
            a delivery that did not fail
          enum:
            - account_needs_reconnect
            - may_be_live
            - platform_error
          type: string
        made_by_another_login:
          description: >-
            A Facebook delivery whose account was disconnected and whose Page is
            connected again only through another Facebook login: a Try again
            never posts through another login than the one that made it, so post
            it again instead. Absent when false
          type: boolean
        platform:
          type: string
        post_url:
          description: >-
            Where the post is seen, once published: a YouTube Short's, an X
            post's, a LinkedIn post's, a Pin's, an Instagram post's, a Facebook
            post's, reel's, video's or photo's, or a TikTok video's link (TikTok
            names one only for a video everyone may watch, once its review
            passed as it went out). Sent to an API key or agent token too: the
            post is public, and the key acts for the workspace's owner. A TikTok
            link names the account's @username, and a Facebook video's or
            photo's link may name its Page. Absent for a story, a TikTok photo
            post, where the platform named none, and before it is published
          type: string
        state:
          type: string
        updated_at:
          format: date-time
          type: string
      required:
        - platform
        - state
        - attempts
        - updated_at
    PostLinkBody:
      additionalProperties: false
      type: object
      properties:
        description:
          description: The card's line under the title, on LinkedIn
          maxLength: 1000
          type: string
        image_url:
          description: >-
            The page's picture, an https URL, for the calendar's card. Not
            posted: Facebook takes the page's own, and LinkedIn's card has no
            picture yet
          maxLength: 2048
          type: string
        title:
          description: >-
            The card's title. LinkedIn shows it (the page's host when absent);
            Facebook builds its own card from the page
          maxLength: 300
          type: string
        url:
          description: 'The page it shares: an https URL, at most 2,048 bytes'
          maxLength: 2048
          minLength: 1
          type: string
      required:
        - url
    MediaItemBody:
      additionalProperties: false
      type: object
      properties:
        kind:
          enum:
            - video
            - photo
          type: string
        url:
          description: A preview URL for the item
          type: string
      required:
        - url
        - kind
    PlatformOverrideBody:
      additionalProperties: false
      type: object
      properties:
        caption:
          description: The platform's own caption; may be empty
          maxLength: 5000
          type: string
        comments:
          description: >-
            The platform's own comments, in order: X and Threads post every one
            as a thread, LinkedIn, Facebook and Instagram the first. null: none
            on this platform
          items:
            $ref: '#/components/schemas/PostCommentBody'
          maxItems: 10
          type:
            - array
            - 'null'
      required:
        - caption
        - comments
    PublishOptionsBody:
      additionalProperties: false
      type: object
      properties:
        google_business:
          $ref: '#/components/schemas/GoogleBusinessOptionsBody'
          description: >-
            Google Business Profile: an Update (absent is one), an Event or an
            Offer, and its button
        instagram:
          $ref: '#/components/schemas/InstagramOptionsBody'
          description: 'Instagram: a trial reel'
        pinterest:
          $ref: '#/components/schemas/PinterestOptionsBody'
          description: >-
            Pinterest: the board the Pin is saved to, and its title, link and
            alt text. Required with pinterest
        threads:
          $ref: '#/components/schemas/ThreadsOptionsBody'
          description: 'Threads: the post''s topic'
        tiktok:
          $ref: '#/components/schemas/TikTokOptionsBody'
          description: 'TikTok: post directly, or send to the creator''s TikTok drafts'
        youtube:
          $ref: '#/components/schemas/YouTubeOptionsBody'
          description: >-
            YouTube (a Short): the title, who can watch, and whether it is made
            for kids. Required with youtube
    PostWarningBody:
      additionalProperties: false
      type: object
      properties:
        account_name:
          description: >-
            The connected account it is about, by the name the person knows.
            Absent when unknown
          type: string
        code:
          description: >-
            tiktok_daily_limit: this TikTok account would post more than TikTok
            takes from one account in a day (6) in the 24 hours around this
            post; TikTok may refuse it, and Try again works later. More may come
            (x-extensible-enum): show an unknown one as a plain warning
          type: string
          x-extensible-enum:
            - tiktok_daily_limit
        platform:
          description: The platform it is about
          type: string
      required:
        - code
        - platform
    DeliveryCommentBody:
      additionalProperties: false
      type: object
      properties:
        error:
          description: >-
            What the platform answered, for the person. Never sent to an API key
            or agent token: they read failure
          type: string
        failure:
          description: >-
            Why a failed comment failed: account_needs_reconnect (the account's
            connection does not let Solara comment: reconnect it, and the
            comment goes out with the reconnect's Try again), may_be_live (it
            may already be there: it is never sent again), platform_error (the
            platform refused it). Absent unless failed
          enum:
            - account_needs_reconnect
            - may_be_live
            - platform_error
          type: string
        position:
          description: Its place under the post, from 0
          format: int64
          type: integer
        post_url:
          description: >-
            Where it is seen, once published: an X reply's link. Absent for the
            other platforms (a Threads reply's link needs its handle, which
            Solara does not read)
          type: string
        state:
          description: >-
            pending (not sent yet), minting (being sent), published or failed. A
            plain string: a new state must never break the calendar
          type: string
      required:
        - position
        - state
    GoogleBusinessOptionsBody:
      additionalProperties: false
      type: object
      properties:
        action_type:
          description: >-
            An Update's or an Event's button: BOOK, ORDER, SHOP, LEARN_MORE,
            SIGN_UP or CALL (calls the number on the Business Profile). Absent
            for none; an Offer takes none (Google adds View offer)
          type: string
        action_url:
          description: >-
            Where the button leads: a full web address (https://…), at most
            2,048 characters. Required with a button other than CALL; absent
            with CALL
          type: string
        coupon_code:
          description: An Offer's code, used in store or online, at most 58 characters
          type: string
        end_date:
          description: >-
            Its last day, YYYY-MM-DD, not before start_date. Required with EVENT
            and OFFER
          type: string
        end_time:
          description: When it ends on its last day, HH:MM (24 hours)
          type: string
        redeem_url:
          description: 'An Offer''s link to redeem it online: a full web address'
          type: string
        start_date:
          description: >-
            An Event's or an Offer's first day, YYYY-MM-DD in the business's own
            time. Required with EVENT and OFFER
          type: string
        start_time:
          description: >-
            When it starts on its first day, HH:MM (24 hours). With end_time, or
            neither for all day
          type: string
        terms:
          description: An Offer's terms and conditions, at most 1,500 characters
          type: string
        title:
          description: >-
            An Event's or an Offer's title, at most 58 characters. Required with
            EVENT and OFFER
          type: string
        topic_type:
          description: STANDARD (an Update; absent is one), EVENT or OFFER
          type: string
    InstagramOptionsBody:
      additionalProperties: false
      type: object
      properties:
        trial_strategy:
          description: >-
            A trial reel, shown to non-followers first: MANUAL is shared to
            followers by the creator, SS_PERFORMANCE by Instagram if it performs
            well. Absent is an ordinary Reel. Needs the instagram format reel.
          enum:
            - MANUAL
            - SS_PERFORMANCE
          type: string
    PinterestOptionsBody:
      additionalProperties: false
      type: object
      properties:
        alt_text:
          description: >-
            Describes the image for people who can't see it, at most 500
            characters
          type: string
        board_id:
          description: >-
            The board the Pin is saved to: one of the account's own
            (list-pinterest-boards). Required
          type: string
        link:
          description: >-
            Where the Pin leads: a full web address (https://…), at most 2,048
            characters. Absent for none
          type: string
        title:
          description: The Pin's title, at most 100 characters. Absent for none
          type: string
      required:
        - board_id
    ThreadsOptionsBody:
      additionalProperties: false
      type: object
      properties:
        topic_tag:
          description: >-
            The post's topic on Threads, without its #: 1 to 50 characters, no
            period or ampersand. Absent: no topic
          type: string
    TikTokOptionsBody:
      additionalProperties: false
      type: object
      properties:
        allow_comment:
          type: boolean
        allow_duet:
          type: boolean
        allow_stitch:
          type: boolean
        brand_organic:
          description: 'Promotes the creator''s own brand: labelled Promotional content'
          type: boolean
        branded_content:
          description: 'Promotes a third party: labelled Paid partnership; never SELF_ONLY'
          type: boolean
        mode:
          description: >-
            direct posts at the scheduled time; drafts sends the video to the
            creator's TikTok drafts, finished in the app
          enum:
            - direct
            - drafts
          type: string
        privacy_level:
          description: >-
            Who can watch. Required for direct, one of the creator's
            privacy_level_options.
          enum:
            - PUBLIC_TO_EVERYONE
            - MUTUAL_FOLLOW_FRIENDS
            - FOLLOWER_OF_CREATOR
            - SELF_ONLY
          type: string
      required:
        - mode
    YouTubeOptionsBody:
      additionalProperties: false
      type: object
      properties:
        made_for_kids:
          description: >-
            The audience every channel must declare: true when the video is made
            for kids. Required, never defaulted
          type: boolean
        privacy:
          description: 'Who can watch: public, unlisted (anyone with the link) or private'
          enum:
            - public
            - unlisted
            - private
          type: string
        title:
          description: >-
            The video's title on YouTube, 1 to 100 characters, no < or >. Posted
            exactly as written
          type: string
      required:
        - title
        - privacy
        - made_for_kids
  securitySchemes:
    ApiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: sol_live_
      description: >-
        An API key, created in Solara: the menu under your name, then API keys.
        Send it as `Authorization: Bearer sol_live_…`. It works while the
        workspace has agent access, within what its plan gives (the free plan
        included).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.