{"openapi":"3.1.0","info":{"title":"TikTok API (Bowmark)","version":"186fdf3b86f9","description":"Creator profiles, videos, transcripts and comments off TikTok's own logged-out pages — no login, no browser.\n\nEvery function Bowmark has for TikTok (tiktok.com) as one HTTP call. Each runs on Bowmark's infrastructure with the same billing, rules and response envelope as `POST /v1/run`. The whole API: https://api.bowmark.ai/openapi.json. Guide: https://bowmark.ai/docs/api.","contact":{"email":"support@bowmark.ai","url":"https://bowmark.ai/docs/api"}},"servers":[{"url":"https://api.bowmark.ai"}],"security":[{"bearer":[]},{"apiKeyHeader":[]}],"paths":{"/v1/sites/tiktok/getProfile":{"post":{"operationId":"getProfile","summary":"A creator's own profile as TikTok's server-rendered page carries it — id, uniqueId (handle), nickname, bio, secUid, verified and private flags, avatar, bioLink, account creation time, business/seller/","description":"A creator's own profile as TikTok's server-rendered page carries it — id, uniqueId (handle), nickname, bio, secUid, verified and private flags, avatar, bioLink, account creation time, business/seller/organization flags and category, and EXACT stats (follower, following, friend, video, heart and liked-video counts). Reads the phone render of the page, the cheaper of TikTok's two.\n\nCalls `bowmark.providers.tiktok.getProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokProfile>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetProfileArgs","description":"TypeScript: `GetProfileArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/getPlayback":{"post":{"operationId":"getPlayback","summary":"The playback menu for one TikTok video (a `/@<handle>/video/<id>` URL or a bare numeric id): every rendition the watch page names (about 540p-1080p, h264 and HEVC mp4s with picture and sound together,","description":"The playback menu for one TikTok video (a `/@<handle>/video/<id>` URL or a bare numeric id): every rendition the watch page names (about 540p-1080p, h264 and HEVC mp4s with picture and sound together, tallest first), TikTok's own embed player, and expiresAt (about 48 h). The files answer ONLY with the returned `cookie` (tt_chain_token) and a tiktok.com Referer, which a page's own <video> cannot send: Bowmark's player (Buddy) fetches them with both in the person's Chrome; anywhere else use the embed. Files for no ads, a chosen size or your own controls; the embed for TikTok's own player. A photo post throws (getVideo returns its images).\n\nCalls `bowmark.providers.tiktok.getPlayback`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokPlayback>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"description":"TypeScript: `{ video: string }`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/getVideo":{"post":{"operationId":"getVideo","summary":"One video's own facts, off the watch page's embedded state: url, caption, hashtags, mentions, create time, duration, the stats block (plays, likes, comments, shares, saves), the uploading author (veri","description":"One video's own facts, off the watch page's embedded state: url, caption, hashtags, mentions, create time, duration, the stats block (plays, likes, comments, shares, saves), the uploading author (verified, avatar, secUid, follower/heart/video counts), the music track and its author, cover, playAddr and download address, region, the tagged location (name, address, city, category) when the creator added one, branded-content code and AI-label flag, whether it is a video or a photo post (with the photo post's image URLs), and TikTok's \"Paid partnership\" label (with the partner's handles) and \"Promotional content\" label. Takes a `/@<handle>/video/<id>` or `/@<handle>/photo/<id>` URL or a bare numeric id. Also duetEnabled/stitchEnabled, isAd, stats.repostCount and music.original. Pass `lite: true` for the phone render at about half the bytes, without those five.\n\nCalls `bowmark.providers.tiktok.getVideo`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokVideo>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetVideoArgs","description":"TypeScript: `GetVideoArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/getTranscript":{"post":{"operationId":"getTranscript","summary":"A video's caption track fetched and parsed from the WebVTT file TikTok embeds in each video page, with timed segments and full text.","description":"A video's caption track fetched and parsed from the WebVTT file TikTok embeds in each video page, with timed segments and full text. Returns empty segments when captions are unavailable. Takes a `/@<handle>/video/<id>` URL or a bare numeric video id.\n\nCalls `bowmark.providers.tiktok.getTranscript`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokTranscript>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetTranscriptArgs","description":"TypeScript: `GetTranscriptArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listCaptionTracks":{"post":{"operationId":"listCaptionTracks","summary":"Which languages a video's captions are available in and which TikTok shows by default.","description":"Which languages a video's captions are available in and which TikTok shows by default. Returns an array of caption tracks with language codes, display names, whether each is auto-generated, and which one is default. Mirrors youtube.listCaptionTracks. Takes a `/@<handle>/video/<id>` URL or a bare numeric video id.\n\nCalls `bowmark.providers.tiktok.listCaptionTracks`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokCaptionTrack[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListCaptionTracksArgs","description":"TypeScript: `ListCaptionTracksArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listUserVideos":{"post":{"operationId":"listUserVideos","summary":"A creator's most recent videos — id, caption, play count, cover and play address — the 15 newest posts, read off the unsigned `/api/creator/item_list/` after the profile page gives the secUid; falls b","description":"A creator's most recent videos — id, caption, play count, cover and play address — the 15 newest posts, read off the unsigned `/api/creator/item_list/` after the profile page gives the secUid; falls back to the `/embed/@<handle>` page (10-12 posts) when that list does not answer, and says so in the run's notes. A private account returns [] with a note. Like/comment counts are not returned; each id resolves through getVideo for full stats. Paging past the first 15 is unmeasured.\n\nCalls `bowmark.providers.tiktok.listUserVideos`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokVideoSummary[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListUserVideosArgs","description":"TypeScript: `ListUserVideosArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listUserPlaylists":{"post":{"operationId":"listUserPlaylists","summary":"The playlists a TikTok creator shows on their profile — id, name, video count, cover and URL.","description":"The playlists a TikTok creator shows on their profile — id, name, video count, cover and URL. Takes a username or a secUid; a username costs one profile page first. Reads the unsigned `/api/user/playlist/` door, no browser, no login. Up to 100 with limit (default 20). Throws when the account is private. Pass an id to listPlaylistVideos for the videos.\n\nCalls `bowmark.providers.tiktok.listUserPlaylists`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokPlaylist[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListUserPlaylistsArgs","description":"TypeScript: `ListUserPlaylistsArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listPlaylistVideos":{"post":{"operationId":"listPlaylistVideos","summary":"The videos in one TikTok playlist, in the creator's order — id, caption, play count, cover and play address.","description":"The videos in one TikTok playlist, in the creator's order — id, caption, play count, cover and play address. Takes the playlist id from listUserPlaylists or its tiktok.com/@<handle>/playlist/<name>-<id> URL. Reads the unsigned `/api/mix/item_list/` door, no browser, no login. 30 by default, up to 200 with limit.\n\nCalls `bowmark.providers.tiktok.listPlaylistVideos`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokVideoSummary[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListPlaylistVideosArgs","description":"TypeScript: `ListPlaylistVideosArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listComments":{"post":{"operationId":"listComments","summary":"The first 20 comments on a video — text, author (id, handle, nickname, secUid, avatar), like count, reply count, creation time, and whether the creator liked it.","description":"The first 20 comments on a video — text, author (id, handle, nickname, secUid, avatar), like count, reply count, creation time, and whether the creator liked it. Reads the unsigned `/api/comment/list/` endpoint straight off the video id, no page fetch and no request signature. Paging with cursor is unmeasured.\n\nCalls `bowmark.providers.tiktok.listComments`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokComment[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListCommentsArgs","description":"TypeScript: `ListCommentsArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listCommentReplies":{"post":{"operationId":"listCommentReplies","summary":"The replies under one comment thread — text, author (id, handle, nickname), like count, and creation time.","description":"The replies under one comment thread — text, author (id, handle, nickname), like count, and creation time. Takes a video reference plus a commentId (the `id` field off a listComments row). Reads the unsigned `/api/comment/list/reply/` endpoint, the same shape as listComments on the same host. A comment with no replies answers an empty array rather than an error. Returns up to 20 replies on the first call; paging with cursor is unmeasured.\n\nCalls `bowmark.providers.tiktok.listCommentReplies`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokCommentReply[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListCommentRepliesArgs","description":"TypeScript: `ListCommentRepliesArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/searchVideos":{"post":{"operationId":"searchVideos","summary":"Find TikTok videos on a topic.","description":"Find TikTok videos on a topic. Returns up to 20 of the top posts on TikTok's topic page for that keyword, in TikTok's ranking, with id, caption, author (id, handle, nickname) and rounded stats (plays, likes, comments, shares). When TikTok has no topic page for the exact query, the nearest phrase its search suggestions name is used and a note says which. Not TikTok's own signed-in search ranking. No browser.\n\nCalls `bowmark.providers.tiktok.searchVideos`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokSearchResult[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/SearchVideosArgs","description":"TypeScript: `SearchVideosArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/searchUsers":{"post":{"operationId":"searchUsers","summary":"Find TikTok accounts matching a name or a topic — id, handle, nickname, bio, avatar, secUid, verified flag, follower, video and like counts.","description":"Find TikTok accounts matching a name or a topic — id, handle, nickname, bio, avatar, secUid, verified flag, follower, video and like counts. First the accounts TikTok's search suggestions name (0-5, matched by name, exact counts), then the authors of TikTok's top posts on that topic (counts rounded, e.g. 4300000), up to 10. Not TikTok's own ranked user search, which answers only a signed-in visitor; a note says which rows came from where. No browser. Takes an optional limit (1-10).\n\nCalls `bowmark.providers.tiktok.searchUsers`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokUserSearchResult[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/SearchUsersArgs","description":"TypeScript: `SearchUsersArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listFollowers":{"post":{"operationId":"listFollowers","summary":"The accounts that follow a TikTok creator, newest first, each in getProfile's shape (handle, nickname, bio, secUid, avatar, verified/private flags, exact follower, following, video and heart counts).","description":"The accounts that follow a TikTok creator, newest first, each in getProfile's shape (handle, nickname, bio, secUid, avatar, verified/private flags, exact follower, following, video and heart counts). Takes a username or a secUid; a username costs one profile page first to find the secUid. 30 per page, up to 200 with limit. No browser, no login. Throws when the account is private.\n\nCalls `bowmark.providers.tiktok.listFollowers`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokProfile[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListFollowersArgs","description":"TypeScript: `ListFollowersArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listFollowing":{"post":{"operationId":"listFollowing","summary":"The accounts a TikTok creator follows, each in getProfile's shape (handle, nickname, bio, secUid, avatar, verified/private flags, exact follower, following, video and heart counts).","description":"The accounts a TikTok creator follows, each in getProfile's shape (handle, nickname, bio, secUid, avatar, verified/private flags, exact follower, following, video and heart counts). Takes a username or a secUid; a username costs one profile page first to find the secUid. 30 per page, up to 200 with limit. No browser, no login. Throws when the account is private or hides its following list, which many large creators do.\n\nCalls `bowmark.providers.tiktok.listFollowing`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokProfile[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListFollowingArgs","description":"TypeScript: `ListFollowingArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/getHashtag":{"post":{"operationId":"getHashtag","summary":"A hashtag's facts — view count, description, whether it is currently promoted — off TikTok's hashtag page.","description":"A hashtag's facts — view count, description, whether it is currently promoted — off TikTok's hashtag page. Uses the browser to load the hashtag page and intercept the API response, as the hashtag page is served off the signed app API.\n\nCalls `bowmark.providers.tiktok.getHashtag`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokHashtag>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetHashtagArgs","description":"TypeScript: `GetHashtagArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listHashtagVideos":{"post":{"operationId":"listHashtagVideos","summary":"The videos under one hashtag — id and caption — the companion read to getHashtag.","description":"The videos under one hashtag — id and caption — the companion read to getHashtag. Uses the browser to load the hashtag page and intercept the API response, as the hashtag page is served off the signed app API. Returns videos in the order TikTok serves them (newest or top, depending on the sort option).\n\nCalls `bowmark.providers.tiktok.listHashtagVideos`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokVideoSummary[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListHashtagVideosArgs","description":"TypeScript: `ListHashtagVideosArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listTrendingVideos":{"post":{"operationId":"listTrendingVideos","summary":"What is trending on TikTok right now — the Explore page's own grid, in TikTok's order: id, caption, play count, cover and play address per video.","description":"What is trending on TikTok right now — the Explore page's own grid, in TikTok's order: id, caption, play count, cover and play address per video. Uses the browser to load /explore and read the list it fetches, scrolling for more. Default 6, up to 60 with limit. Returns { videos, warnings }; a warning says when the grid came back shorter than limit. No login.\n\nCalls `bowmark.providers.tiktok.listTrendingVideos`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokVideoList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListTrendingVideosArgs","description":"TypeScript: `ListTrendingVideosArgs`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listLikedVideos":{"post":{"operationId":"listLikedVideos","summary":"The videos a creator has liked, from the public Liked tab on their profile: id, caption, play count, cover and play address.","description":"The videos a creator has liked, from the public Liked tab on their profile: id, caption, play count, cover and play address. Takes a username. Uses the browser (branded Chrome) to open the tab and read the list the page fetches; the newest 15 at most. Returns { videos, warnings }. Throws when the creator keeps their likes private. No login.\n\nCalls `bowmark.providers.tiktok.listLikedVideos`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokVideoList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListLikedVideosArgs","description":"TypeScript: `ListLikedVideosArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/getSound":{"post":{"operationId":"getSound","summary":"A sound's own facts — title, artist, duration in seconds, how many videos use it — keyed by the music id getVideo carries on `music.id`.","description":"A sound's own facts — title, artist, duration in seconds, how many videos use it — keyed by the music id getVideo carries on `music.id`. Uses the browser to load the sound's page and read the detail response it fetches, as that endpoint answers an unsigned request with an empty body.\n\nCalls `bowmark.providers.tiktok.getSound`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokSound>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetSoundArgs","description":"TypeScript: `GetSoundArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listSoundVideos":{"post":{"operationId":"listSoundVideos","summary":"The videos made with one sound — id and caption — the companion read to getSound.","description":"The videos made with one sound — id and caption — the companion read to getSound. Uses the browser to load the sound's page and intercept the API response, as that endpoint answers an unsigned request with an empty body. Returns videos in the order TikTok serves them.\n\nCalls `bowmark.providers.tiktok.listSoundVideos`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokVideoSummary[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListSoundVideosArgs","description":"TypeScript: `ListSoundVideosArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listForYouFeed":{"post":{"operationId":"listForYouFeed","summary":"The signed-in viewer's own For You feed, the same personalised ranking /foryou shows in a browser — id and caption for each video.","description":"The signed-in viewer's own For You feed, the same personalised ranking /foryou shows in a browser — id and caption for each video. The caller signs in through the auth relay; Bowmark never signs up on this site. Takes no arguments.\n\nCalls `bowmark.providers.tiktok.listForYouFeed`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokVideoSummary[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListForYouFeedArgs","description":"TypeScript: `ListForYouFeedArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listFollowingFeed":{"post":{"operationId":"listFollowingFeed","summary":"The signed-in viewer's Following feed — videos only from accounts they follow, in upload order, mirroring /following.","description":"The signed-in viewer's Following feed — videos only from accounts they follow, in upload order, mirroring /following. The caller signs in through the auth relay; Bowmark never signs up on this site. Takes no arguments.\n\nCalls `bowmark.providers.tiktok.listFollowingFeed`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokVideoSummary[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListFollowingFeedArgs","description":"TypeScript: `ListFollowingFeedArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/getOwnProfile":{"post":{"operationId":"getOwnProfile","summary":"The signed-in caller's own account facts — handle, bio, email/phone binding status, privacy setting — the account-settings equivalent of getProfile.","description":"The signed-in caller's own account facts — handle, bio, email/phone binding status, privacy setting — the account-settings equivalent of getProfile. Reads /passport/web/account/info/ directly with the caller's session cookies, no browser. The caller signs in through the auth relay; Bowmark never signs up on this site. Takes no arguments. Field values are read defensively and may come back undefined until a real signed-in capture measures the success shape.\n\nCalls `bowmark.providers.tiktok.getOwnProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokOwnProfile>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetOwnProfileArgs","description":"TypeScript: `GetOwnProfileArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/editProfile":{"post":{"operationId":"editProfile","summary":"Change the signed-in caller's own profile — display name (nickname), bio (signature), or bio link.","description":"Change the signed-in caller's own profile — display name (nickname), bio (signature), or bio link. Takes optional nickname, signature, and bioLink fields. Writes via POST to /passport/web/user/info/ with the caller's session cookies, no browser. The caller signs in through the auth relay; Bowmark never signs up on this site. Returns the updated account facts. Field values are read defensively and may come back undefined until a real signed-in capture measures the success shape.\n\nCalls `bowmark.providers.tiktok.editProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<tiktokOwnProfile>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/EditProfileArgs","description":"TypeScript: `EditProfileArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/likeVideo":{"post":{"operationId":"likeVideo","summary":"Like a video (heart button) as the signed-in caller.","description":"Like a video (heart button) as the signed-in caller. Takes a video reference — a full video URL or a bare video id. Writes via POST to /api/favorite/add/ with the caller's session cookies, no browser. The caller signs in through the auth relay; Bowmark never signs up on this site. Returns a confirmation of the like.\n\nCalls `bowmark.providers.tiktok.likeVideo`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ liked: boolean }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/LikeVideoArgs","description":"TypeScript: `LikeVideoArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/unlikeVideo":{"post":{"operationId":"unlikeVideo","summary":"Remove a like (unheart) as the signed-in caller — the reverse of likeVideo.","description":"Remove a like (unheart) as the signed-in caller — the reverse of likeVideo. Takes a video reference — a full video URL or a bare video id. Writes via POST to /api/favorite/del/ with the caller's session cookies, no browser. The caller signs in through the auth relay; Bowmark never signs up on this site. Returns a confirmation of the removal.\n\nCalls `bowmark.providers.tiktok.unlikeVideo`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ unliked: boolean }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UnlikeVideoArgs","description":"TypeScript: `UnlikeVideoArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/postComment":{"post":{"operationId":"postComment","summary":"Post a top-level comment on a video as the signed-in caller.","description":"Post a top-level comment on a video as the signed-in caller. Takes a video reference — a full video URL or a bare video id — and the comment text. Writes via POST to /api/comment/publish/ with the caller's session cookies, no browser. The caller signs in through the auth relay; Bowmark never signs up on this site. Returns a confirmation of the post.\n\nCalls `bowmark.providers.tiktok.postComment`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ posted: boolean }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/PostCommentArgs","description":"TypeScript: `PostCommentArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/deleteComment":{"post":{"operationId":"deleteComment","summary":"Delete the signed-in caller's own comment — the reverse of postComment, and how a test write is cleaned up.","description":"Delete the signed-in caller's own comment — the reverse of postComment, and how a test write is cleaned up. Takes a video reference — a full video URL or a bare video id — and the commentId (the `id` field off postComment/listComments). Writes via POST to /api/comment/delete/ with the caller's session cookies, no browser. The caller signs in through the auth relay; Bowmark never signs up on this site. Returns a confirmation of the deletion.\n\nCalls `bowmark.providers.tiktok.deleteComment`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ deleted: boolean }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/DeleteCommentArgs","description":"TypeScript: `DeleteCommentArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/followUser":{"post":{"operationId":"followUser","summary":"Follow a creator as the signed-in caller.","description":"Follow a creator as the signed-in caller. Takes the userId and secUid off getProfile's result, not a username — TikTok's follow endpoint keys on both. Writes via POST to /api/follow/user/ with the caller's session cookies, no browser. The caller signs in through the auth relay; Bowmark never signs up on this site. Returns a confirmation of the follow.\n\nCalls `bowmark.providers.tiktok.followUser`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ followed: boolean }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/FollowUserArgs","description":"TypeScript: `FollowUserArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/unfollowUser":{"post":{"operationId":"unfollowUser","summary":"Unfollow a creator as the signed-in caller, the reverse of followUser.","description":"Unfollow a creator as the signed-in caller, the reverse of followUser. Takes the userId and secUid off getProfile's result, not a username. Writes via POST to /api/follow/user/ with type=0 (following uses type=1) and the caller's session cookies, no browser. The caller signs in through the auth relay; Bowmark never signs up on this site. Returns a confirmation of the unfollow.\n\nCalls `bowmark.providers.tiktok.unfollowUser`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ unfollowed: boolean }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UnfollowUserArgs","description":"TypeScript: `UnfollowUserArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/bookmarkVideo":{"post":{"operationId":"bookmarkVideo","summary":"Save a video to the signed-in caller's own Favorites/bookmarks.","description":"Save a video to the signed-in caller's own Favorites/bookmarks. Takes a video reference — a full video URL or a bare video id. Writes via POST to /api/collect/item/ with the caller's session cookies, no browser. The caller signs in through the auth relay; Bowmark never signs up on this site. Returns a confirmation of the save.\n\nCalls `bowmark.providers.tiktok.bookmarkVideo`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ bookmarked: boolean }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/BookmarkVideoArgs","description":"TypeScript: `BookmarkVideoArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/deleteVideo":{"post":{"operationId":"deleteVideo","summary":"Delete the signed-in caller's own video.","description":"Delete the signed-in caller's own video. Takes a video reference — a full video URL or a bare video id. Writes via POST to /api/aweme/delete/ with the caller's session cookies, no browser. The caller signs in through the auth relay; Bowmark never signs up on this site. Returns a confirmation of the deletion.\n\nCalls `bowmark.providers.tiktok.deleteVideo`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ deleted: boolean }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/DeleteVideoArgs","description":"TypeScript: `DeleteVideoArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/sendDirectMessage":{"post":{"operationId":"sendDirectMessage","summary":"Send a direct message as the signed-in caller to a TikTok account, by handle.","description":"Send a direct message as the signed-in caller to a TikTok account, by handle. Drives TikTok's own web UI with the caller's session (profile, Message, type, send) and confirms on the page's own send call; TikTok's IM API takes an unpublished protobuf body, so there is no browserless door. The caller signs in through the auth relay; Bowmark never signs up on this site. Returns { sent, username }. A recipient who does not accept messages from the caller fails with that reason.\n\nCalls `bowmark.providers.tiktok.sendDirectMessage`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ sent: boolean; username: string }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/SendDirectMessageArgs","description":"TypeScript: `SendDirectMessageArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listBookmarkedVideos":{"post":{"operationId":"listBookmarkedVideos","summary":"The signed-in caller's own saved (Favorites) videos — the companion read to bookmarkVideo.","description":"The signed-in caller's own saved (Favorites) videos — the companion read to bookmarkVideo. Optional count (1-30, default 30). Loads the caller's TikTok profile with their session cookies, opens the Favorites tab and reads the page's own /api/user/collect/item_list/ response, because that door is signature-walled to any browserless request. The caller signs in through the auth relay; Bowmark never signs up on this site.\n\nCalls `bowmark.providers.tiktok.listBookmarkedVideos`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ videos: tiktokVideoSummary[]; hasMore: boolean }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListBookmarkedVideosArgs","description":"TypeScript: `ListBookmarkedVideosArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listConversations":{"post":{"operationId":"listConversations","summary":"The signed-in caller's own DM inbox — threads, last message and unread state, newest first.","description":"The signed-in caller's own DM inbox — threads, last message and unread state, newest first. Optional count (1-50, default 20). Loads TikTok's /messages page with the caller's session cookies and reads the rendered conversation list; the same unpublished protobuf door that blocks sendDirectMessage's send call blocks the IM list API too, so there is no browserless door. The caller signs in through the auth relay; Bowmark never signs up on this site.\n\nCalls `bowmark.providers.tiktok.listConversations`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ conversations: Array<{ username?: string; nickname?: string; lastMessage?: string; unread?: boolean }> }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListConversationsArgs","description":"TypeScript: `ListConversationsArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/uploadVideo":{"post":{"operationId":"uploadVideo","summary":"Upload a video to the signed-in caller's own TikTok account with a caption (hashtags inline).","description":"Upload a video to the signed-in caller's own TikTok account with a caption (hashtags inline). Pass exactly one of `file` (a Bowmark file id) or `url` (an https link to the video). `privacy` is \"public\", \"friends\" or \"private\" and defaults to \"private\"; a public post is visible to everyone at once under the caller's name, so only publish when they asked. Drives TikTok Studio's own upload page with the caller's session and confirms on the page's own post call. The caller signs in through the auth relay; Bowmark never signs up on this site.\n\nCalls `bowmark.providers.tiktok.uploadVideo`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ posted: boolean; privacy: \"public\" | \"friends\" | \"private\" }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UploadVideoArgs","description":"TypeScript: `UploadVideoArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/listNotifications":{"post":{"operationId":"listNotifications","summary":"The signed-in caller's own activity inbox — new followers, likes, comments and mentions, newest first.","description":"The signed-in caller's own activity inbox — new followers, likes, comments and mentions, newest first. Optional count (1-50, default 20) and cursor (pass back the previous page's cursor). Reads GET /api/notice/multi/ with the caller's session cookies, no browser. The caller signs in through the auth relay; Bowmark never signs up on this site.\n\nCalls `bowmark.providers.tiktok.listNotifications`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ notifications: Array<{ id?: string; type?: number; createTime?: number; text?: string; fromUser?: { uniqueId?: string; nickname?: string; userId?: string }; videoId?: string }>; hasMore: boolean; cursor?: number }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListNotificationsArgs","description":"TypeScript: `ListNotificationsArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/signup":{"post":{"operationId":"signup","summary":"Makes a NEW TikTok account with the person's own email and password, in a session.","description":"Makes a NEW TikTok account with the person's own email and password, in a session. Pauses with `needs_code` / `needs_phone` whenever the site wants something only the person has; continue with `confirmSignup` in the same session. Ends `signed_up` with the login saved and the credentials in the person's secrets.\n\nCalls `bowmark.providers.tiktok.signup`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ status: \"needs_code\"; channel: \"email\" | \"sms\"; sentTo?: string } | { status: \"needs_phone\" } | { status: \"in_progress\"; retryAfterSeconds: number } | { status: \"signed_up\"; username: string; email: string; connection: string | null; twoFactor: \"enrolled\" | \"none\"; secrets: string[] }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"description":"TypeScript: `SignupInput`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/tiktok/confirmSignup":{"post":{"operationId":"confirmSignup","summary":"Continues the sign-up `signup` started in this session with the emailed or texted `code`, the email's verification `link`, or the person's `phone`.","description":"Continues the sign-up `signup` started in this session with the emailed or texted `code`, the email's verification `link`, or the person's `phone`.\n\nCalls `bowmark.providers.tiktok.confirmSignup`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ status: \"needs_code\"; channel: \"email\" | \"sms\"; sentTo?: string } | { status: \"needs_phone\" } | { status: \"in_progress\"; retryAfterSeconds: number } | { status: \"signed_up\"; username: string; email: string; connection: string | null; twoFactor: \"enrolled\" | \"none\"; secrets: string[] }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"description":"TypeScript: `SignupConfirmInput`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Your Bowmark API key."},"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-Bowmark-Key"}},"responses":{"NotFound":{"description":"No such site or function.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}},"schemas":{"RunEnvelope":{"type":"object","description":"What a run returns. `status` says whether the SCRIPT succeeded. A script that threw or paused for a login is still HTTP 200. Branch on `status`, not on the HTTP code.","required":["ok","status","result","logs","error","ms"],"properties":{"runId":{"type":"string","description":"Stable id for this run. Quote it in a support or `report` message."},"ok":{"type":"boolean","description":"False only when the run produced nothing usable."},"status":{"type":"string","enum":["ok","error","partial","needs_user"],"description":"`partial`: the result is real but some calls failed (see `incomplete`); `ok` stays true. `needs_user`: a person must sign in to a site first. Relay `meta.handoff.url` to them, then run again."},"egress":{"type":"string","enum":["default","link"],"description":"The egress the run was given, present only when the request asked for one. `link`: every request went through the caller's own Chrome (Bowmark Buddy)."},"result":{"description":"Whatever the script `return`ed. Any JSON value."},"logs":{"type":"array","items":{"type":"string"},"description":"Lines the script wrote with `log(...)`."},"error":{"type":["string","null"],"description":"Why the run failed, in plain words. Null on success."},"ms":{"type":"integer","description":"How long the script itself ran, in milliseconds."},"queuedMs":{"type":"integer","description":"How long the run waited for a worker before starting. Present only when it was a second or more."},"needs":{"type":"array","description":"The sign-ins this script is waiting on. Present when `status` is `needs_user`.","items":{"type":"object","required":["capability","provider","providerTitle","kind"],"properties":{"capability":{"type":"string"},"provider":{"type":"string"},"providerTitle":{"type":"string","description":"The site's name, to show a person."},"kind":{"type":"string"}}}},"incomplete":{"type":"object","description":"Present only when `status` is `partial`: which calls did not answer.","properties":{"summary":{"type":"string"},"totalCalls":{"type":"integer"}},"additionalProperties":true},"emptyHanded":{"type":"object","description":"Present when the script returned nothing while its calls returned rows, usually a filter that matched none of the site's own labels. Lists the label values the calls actually returned.","additionalProperties":true},"notes":{"type":"array","description":"Caveats a call attached to a complete answer. Never changes `status`.","items":{"type":"object","properties":{"path":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}}}},"meta":{"type":"object","properties":{"handoff":{"type":"object","description":"A single-use sign-in link for a person to open. Expires at `expiresAt`.","properties":{"ref":{"type":"string"},"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"}}},"concurrency":{"type":"object","description":"On a 429: how many runs are in flight and when to retry.","properties":{"limit":{"type":"integer"},"inFlight":{"type":"integer"},"retryAfterSeconds":{"type":"integer"}}}},"additionalProperties":true},"notice":{"type":"object","description":"Set when the account owner has not accepted the current Terms. Relay it to them.","additionalProperties":true}}},"BookmarkVideoArgs":{"type":"object","properties":{"video":{"type":"string"}},"required":["video"],"additionalProperties":true},"DeleteCommentArgs":{"type":"object","properties":{"video":{"type":"string"},"commentId":{"type":"string"}},"required":["video","commentId"],"additionalProperties":true},"DeleteVideoArgs":{"type":"object","properties":{"video":{"type":"string"}},"required":["video"],"additionalProperties":true},"EditProfileArgs":{"type":"object","properties":{"nickname":{"type":"string"},"signature":{"type":"string"},"bioLink":{"type":"string"}},"additionalProperties":true},"FollowUserArgs":{"type":"object","properties":{"userId":{"type":"string"},"secUid":{"type":"string"}},"required":["userId","secUid"],"additionalProperties":true},"GetHashtagArgs":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"additionalProperties":true},"GetOwnProfileArgs":{"type":"object","additionalProperties":{}},"GetProfileArgs":{"type":"object","properties":{"username":{"type":"string"}},"required":["username"],"additionalProperties":true},"GetSoundArgs":{"type":"object","properties":{"soundId":{"type":"string"}},"required":["soundId"],"additionalProperties":true},"GetTranscriptArgs":{"type":"object","properties":{"video":{"type":"string"}},"required":["video"],"additionalProperties":true},"GetVideoArgs":{"type":"object","properties":{"video":{"type":"string"},"lite":{"type":"boolean"}},"required":["video"],"additionalProperties":true},"LikeVideoArgs":{"type":"object","properties":{"video":{"type":"string"}},"required":["video"],"additionalProperties":true},"ListBookmarkedVideosArgs":{"type":"object","properties":{"count":{"type":"number"}},"additionalProperties":true},"ListCaptionTracksArgs":{"type":"object","properties":{"video":{"type":"string"}},"required":["video"],"additionalProperties":true},"ListCommentRepliesArgs":{"type":"object","properties":{"video":{"type":"string"},"commentId":{"type":"string"}},"required":["video","commentId"],"additionalProperties":true},"ListCommentsArgs":{"type":"object","properties":{"video":{"type":"string"}},"required":["video"],"additionalProperties":true},"ListConversationsArgs":{"type":"object","properties":{"count":{"type":"number"}},"additionalProperties":true},"ListFollowersArgs":{"type":"object","properties":{"username":{"type":"string"},"secUid":{"type":"string"},"limit":{"type":"number"}},"additionalProperties":true},"ListFollowingArgs":{"type":"object","properties":{"username":{"type":"string"},"secUid":{"type":"string"},"limit":{"type":"number"}},"additionalProperties":true},"ListFollowingFeedArgs":{"type":"object","additionalProperties":{}},"ListForYouFeedArgs":{"type":"object","additionalProperties":{}},"ListHashtagVideosArgs":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"additionalProperties":true},"ListLikedVideosArgs":{"type":"object","properties":{"username":{"type":"string"},"limit":{"type":"number"}},"required":["username"],"additionalProperties":true},"ListNotificationsArgs":{"type":"object","properties":{"count":{"type":"number"},"cursor":{"type":"number"}},"additionalProperties":true},"ListPlaylistVideosArgs":{"type":"object","properties":{"playlist":{"type":"string"},"limit":{"type":"number"}},"required":["playlist"],"additionalProperties":true},"ListSoundVideosArgs":{"type":"object","properties":{"soundId":{"type":"string"}},"required":["soundId"],"additionalProperties":true},"ListTrendingVideosArgs":{"type":"object","properties":{"limit":{"type":"number"}},"additionalProperties":true},"ListUserPlaylistsArgs":{"type":"object","properties":{"username":{"type":"string"},"secUid":{"type":"string"},"limit":{"type":"number"}},"additionalProperties":true},"ListUserVideosArgs":{"type":"object","properties":{"username":{"type":"string"}},"required":["username"],"additionalProperties":true},"PostCommentArgs":{"type":"object","properties":{"video":{"type":"string"},"text":{"type":"string"}},"required":["video","text"],"additionalProperties":true},"SearchUsersArgs":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"number"}},"required":["query"],"additionalProperties":true},"SearchVideosArgs":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":true},"SendDirectMessageArgs":{"type":"object","properties":{"username":{"type":"string"},"text":{"type":"string"}},"required":["username","text"],"additionalProperties":true},"UnfollowUserArgs":{"type":"object","properties":{"userId":{"type":"string"},"secUid":{"type":"string"}},"required":["userId","secUid"],"additionalProperties":true},"UnlikeVideoArgs":{"type":"object","properties":{"video":{"type":"string"}},"required":["video"],"additionalProperties":true},"UploadVideoArgs":{"type":"object","properties":{"file":{"type":"string"},"url":{"type":"string"},"caption":{"type":"string"},"privacy":{"anyOf":[{"const":"public"},{"const":"friends"},{"const":"private"}]}},"additionalProperties":true}}}}