> ## 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 requests waiting for approval

> Solara AI API: Coming soon (opens at launch). Every request to post the person hasn't decided yet, soonest first, and `review_url`: one page where they approve each or all at once, signed in. You cannot approve. Needs the review page switched on for the workspace (403 `post_planning_off` until then).

Permission: **Ask to post** (`publish`).



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/publish-requests
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/publish-requests:
    get:
      tags:
        - Posting
      summary: List requests waiting for approval
      description: >-
        Coming soon (opens at launch). Every request to post the person hasn't
        decided yet, soonest first, and `review_url`: one page where they
        approve each or all at once, signed in. You cannot approve. Needs the
        review page switched on for the workspace (403 `post_planning_off` until
        then).


        Permission: **Ask to post** (`publish`).
      operationId: list-publish-requests
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListPublishRequestsOutputBody'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - ApiKeyBearer: []
components:
  schemas:
    ListPublishRequestsOutputBody:
      additionalProperties: false
      type: object
      properties:
        requests:
          description: >-
            Every request still waiting for the person: soonest first (those to
            post as soon as approved before the scheduled ones), then the newest
          items:
            $ref: '#/components/schemas/PendingPublishRequestBody'
          type:
            - array
            - 'null'
        review_url:
          description: >-
            The page listing them all, where the person approves each or all at
            once, signed in
          type: string
      required:
        - requests
        - review_url
    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
    PendingPublishRequestBody:
      additionalProperties: false
      type: object
      properties:
        agent_name:
          description: >-
            The AI agent as the person named or approved it (its API key's or
            OAuth app's name)
          type: string
        approve_url:
          description: This request's own Approve page
          type: string
        auto_approved:
          description: >-
            Approved automatically, as it was prepared: the workspace's
            auto-approval was on (decided_by_name turned it on). Absent when a
            person decided
          type: boolean
        created_at:
          format: date-time
          type: string
        decided_at:
          format: date-time
          type: string
        decided_by_name:
          description: >-
            Absent when nobody decided: withdrawn (failure says why). With
            auto_approved, the person who turned auto-approval on
          type: string
        deliveries:
          description: Per platform, once approved
          items:
            $ref: '#/components/schemas/PublishDeliveryBody'
          type:
            - array
            - 'null'
        expires_at:
          format: date-time
          type: string
        export_key:
          description: >-
            The export the request names: send it back to approve that very
            file. Empty for a text post
          type: string
        failure:
          description: >-
            Why it failed or was withdrawn: revoked, superseded,
            replaced_by_new_request (another request for the video was approved
            and moved its post) or an error code
          type: string
        images:
          description: >-
            A photo post's images, in post order, each signed for an hour.
            Absent for a video or a text post
          items:
            $ref: '#/components/schemas/PublishImageBody'
          type:
            - array
            - 'null'
        media_url:
          description: >-
            The export the request names, signed; absent once the video has
            another export
          type: string
        post_id:
          description: >-
            The post approving it made (get-post). Absent before it is approved,
            and before several posts per video
          format: uuid
          type: string
        poster_url:
          type: string
        request_id:
          format: uuid
          type: string
        requested_by_name:
          description: The person the AI agent acts for
          type: string
        requested_by_you:
          description: The AI agent acts for the person reading
          type: boolean
        status:
          enum:
            - pending
            - approved
            - posted
            - cancelled
            - expired
            - edited
            - failed
          type: string
        summary:
          $ref: '#/components/schemas/PublishRequestSummary'
      required:
        - approve_url
        - request_id
        - status
        - summary
        - export_key
        - requested_by_name
        - requested_by_you
        - deliveries
        - expires_at
        - 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
    PublishDeliveryBody:
      additionalProperties: false
      type: object
      properties:
        platform:
          type: string
        state:
          description: >-
            pending, minting, handle_created, published, sent_to_drafts (nothing
            live) or failed
          type: string
      required:
        - platform
        - state
    PublishImageBody:
      additionalProperties: false
      type: object
      properties:
        upload_id:
          format: uuid
          type: string
        url:
          description: The image, signed for an hour; absent when it can't be shown
          type: string
      required:
        - upload_id
    PublishRequestSummary:
      additionalProperties: false
      type: object
      properties:
        accounts:
          items:
            $ref: '#/components/schemas/PublishAccountBody'
          type:
            - array
            - 'null'
        caption:
          description: 'What posts: a video''s caption, or a text post''s text'
          type: string
        comments:
          description: >-
            What goes out under the post, as the AI agent wrote it: LinkedIn,
            Facebook and Instagram post the first as a comment, X, Threads and
            Bluesky every one as a thread. Absent: none asked
          items:
            $ref: '#/components/schemas/PostCommentBody'
          type:
            - array
            - 'null'
        formats:
          additionalProperties:
            items:
              type: string
            type:
              - array
              - 'null'
          description: >-
            The formats asked per platform: a video's (reel, story, feed…), or a
            photo post's: carousel (several images; a photo post on TikTok),
            feed (one image) or story. Absent for the platforms' defaults
          type: object
        google_business:
          $ref: '#/components/schemas/GoogleBusinessOptionsBody'
          description: >-
            What a Google Business Profile post is, as the AI agent asked: an
            Update (topic_type absent), an Event or an Offer, with its button,
            title, dates and offer. Absent: an Update without a button, or no
            google_business
        instagram_trial:
          description: >-
            Instagram gets a trial reel, shown to non-followers first: MANUAL,
            the person shares it to followers from Instagram; SS_PERFORMANCE,
            Instagram shares it if it performs well. Absent: not a trial
          enum:
            - MANUAL
            - SS_PERFORMANCE
          type: string
        kind:
          description: >-
            video: a video's export (title, the export, caption). text: a text
            post to Facebook, LinkedIn, X, Threads, Bluesky or a Google Business
            Profile, its text in caption and maybe a link card in link; no video
            until it is approved. photo: images the AI agent uploaded, in
            upload_ids' order, with caption. More may come (x-extensible-enum):
            show an unknown one as a video
          type: string
          x-extensible-enum:
            - video
            - text
            - photo
        link:
          $ref: '#/components/schemas/PublishLinkBody'
          description: >-
            A text post's link card, exactly as it posts (no picture). Absent
            for none
        other_posts:
          description: >-
            The video's other posts not out yet: approving this request adds a
            post beside them, and changes none. Absent when none
          items:
            $ref: '#/components/schemas/OtherPostBody'
          type:
            - array
            - 'null'
        pinterest:
          $ref: '#/components/schemas/PublishPinterestBody'
          description: >-
            The board the Pin is saved to, and its title, link and alt text.
            Absent without pinterest
        platform_overrides:
          additionalProperties:
            $ref: '#/components/schemas/PlatformOverrideBody'
          description: >-
            The customised platforms, each with the caption and comments it
            posts instead of the shared ones (captions_by_platform,
            comments_by_platform). Absent when every platform shares them
          type: object
        platforms:
          items:
            type: string
          type:
            - array
            - 'null'
        publish_at:
          description: 'null: as soon as it is approved'
          format: date-time
          type:
            - string
            - 'null'
        threads:
          $ref: '#/components/schemas/ThreadsOptionsBody'
          description: 'Threads'' topic. Absent: none'
        tiktok:
          $ref: '#/components/schemas/TikTokOptionsBody'
          description: >-
            What TikTok gets: drafts (the person's TikTok inbox, to finish in
            the app) or direct with its settings. Absent: none chosen
        title:
          type: string
        upload_ids:
          description: A photo post's images, in post order
          items:
            type: string
          type:
            - array
            - 'null'
        video_id:
          description: >-
            The video it posts; for a text post, the id its post gets once
            approved
          type: string
        youtube:
          $ref: '#/components/schemas/YouTubeOptionsBody'
          description: >-
            What YouTube gets: the Short's title, who can watch and whether it
            is made for kids, as the AI agent stated them. Absent without
            youtube
      required:
        - kind
        - video_id
        - title
        - caption
        - platforms
        - accounts
        - publish_at
    PublishAccountBody:
      additionalProperties: false
      type: object
      properties:
        display_name:
          type: string
        location_address:
          description: >-
            A Google Business Profile account's location, its storefront address
            on one line. Absent for another platform, or a business with none
          type: string
        platform:
          type: string
      required:
        - platform
        - display_name
    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
    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
    PublishLinkBody:
      additionalProperties: false
      type: object
      properties:
        description:
          description: The card's line under the title, as the AI agent wrote it
          type: string
        domain:
          description: >-
            The link's registrable domain (example.co.uk for www.example.co.uk):
            the part of the address to recognise
          type: string
        other_domains:
          description: >-
            Domains the title or description names that are not the link's: the
            page warns. Absent when none
          items:
            type: string
          type:
            - array
            - 'null'
        title:
          description: >-
            The card's title as the AI agent wrote it. Absent: LinkedIn shows
            the host
          type: string
        url:
          description: >-
            The link, normalised: https, its host lowercase and ASCII (an
            internationalised domain in punycode)
          type: string
      required:
        - url
        - domain
    OtherPostBody:
      additionalProperties: false
      type: object
      properties:
        platforms:
          items:
            type: string
          type:
            - array
            - 'null'
        post_id:
          format: uuid
          type: string
        post_status:
          description: As list-posts' post_status
          type: string
          x-extensible-enum:
            - scheduled
            - on_hold
            - publishing
            - published
            - partly_published
            - in_tiktok_inbox
            - failed
            - cancelled
        publish_at:
          format: date-time
          type: string
      required:
        - post_id
        - platforms
        - publish_at
        - post_status
    PublishPinterestBody:
      additionalProperties: false
      type: object
      properties:
        alt_text:
          description: The image's description for people who can't see it. Absent for none
          type: string
        board_id:
          type: string
        board_name:
          description: >-
            The board's name on Pinterest when the AI agent asked. Absent when
            it could not be read
          type: string
        link:
          description: Where the Pin leads. Absent for none
          type: string
        title:
          description: The Pin's title. Absent for none
          type: string
      required:
        - board_id
    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
    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.