@oomol-lab/open-connector 1.9.1 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/assets/open-connector/catalog/apps/aisa.json +1946 -56
- package/assets/open-connector/catalog/apps/akta.json +1181 -0
- package/assets/open-connector/catalog/apps/allratestoday.json +174 -0
- package/assets/open-connector/catalog/apps/asana.json +110 -0
- package/assets/open-connector/catalog/apps/calendly.json +103 -0
- package/assets/open-connector/catalog/apps/clickup.json +104 -0
- package/assets/open-connector/catalog/apps/cloro.json +9289 -0
- package/assets/open-connector/catalog/apps/contextdev.json +20670 -0
- package/assets/open-connector/catalog/apps/deepseek.json +177 -0
- package/assets/open-connector/catalog/apps/defillama.json +23747 -0
- package/assets/open-connector/catalog/apps/fireflies.json +103 -0
- package/assets/open-connector/catalog/apps/fundable.json +7926 -0
- package/assets/open-connector/catalog/apps/intercom.json +110 -0
- package/assets/open-connector/catalog/apps/jira.json +110 -0
- package/assets/open-connector/catalog/apps/keenable.json +235 -0
- package/assets/open-connector/catalog/apps/kolsprite_mcp.json +1227 -0
- package/assets/open-connector/catalog/apps/litescrape.json +52514 -0
- package/assets/open-connector/catalog/apps/magichour.json +5926 -0
- package/assets/open-connector/catalog/apps/minimax.json +24 -14
- package/assets/open-connector/catalog/apps/notion.json +731 -76
- package/assets/open-connector/catalog/apps/octen.json +5248 -0
- package/assets/open-connector/catalog/apps/openrouter.json +10 -0
- package/assets/open-connector/catalog/apps/orbit.json +3574 -0
- package/assets/open-connector/catalog/apps/pandadoc.json +68 -0
- package/assets/open-connector/catalog/apps/pipedrive.json +86 -0
- package/assets/open-connector/catalog/apps/ploid.json +9802 -0
- package/assets/open-connector/catalog/apps/resend.json +100 -0
- package/assets/open-connector/catalog/apps/salesforce.json +2487 -119
- package/assets/open-connector/catalog/apps/saperly.json +7056 -0
- package/assets/open-connector/catalog/apps/search1api.json +2382 -0
- package/assets/open-connector/catalog/apps/sentry.json +129 -0
- package/assets/open-connector/catalog/apps/slackbot.json +250 -2
- package/assets/open-connector/catalog/apps/surf.json +11378 -0
- package/assets/open-connector/catalog/apps/tally.json +113 -0
- package/assets/open-connector/catalog/apps/tinyfish.json +6154 -0
- package/assets/open-connector/catalog/apps/typeform.json +90 -1
- package/assets/open-connector/catalog/apps/vaquill.json +5944 -0
- package/assets/open-connector/catalog/apps/vercel.json +110 -0
- package/assets/open-connector/catalog/apps/weixin_store.json +1256 -7
- package/assets/open-connector/catalog/apps/zoom.json +112 -0
- package/assets/open-connector/catalog/apps-index.json +1 -1
- package/package.json +1 -1
- package/src/connection-error.d.ts +7 -0
- package/src/connection-error.js +10 -0
- package/src/connection-service.d.ts +2 -50
- package/src/connection-service.js +6 -130
- package/src/connection-store.d.ts +41 -0
- package/src/connection-store.js +1 -0
- package/src/core/guarded-fetch.d.ts +3 -0
- package/src/core/guarded-fetch.js +8 -1
- package/src/core/json-schema.d.ts +11 -3
- package/src/core/json-schema.js +13 -3
- package/src/core/provider-network-policy.d.ts +15 -0
- package/src/core/provider-network-policy.js +11 -0
- package/src/core/request.d.ts +18 -14
- package/src/core/request.js +11 -35
- package/src/credential-resolver.d.ts +24 -0
- package/src/credential-resolver.js +131 -0
- package/src/mcp.js +1 -1
- package/src/oauth/oauth-client-config-service.d.ts +1 -1
- package/src/oauth/oauth-client-config-service.js +14 -2
- package/src/oauth/oauth-credential-refresh-service.js +1 -1
- package/src/oauth/oauth-flow-service.d.ts +9 -1
- package/src/oauth/oauth-flow-service.js +11 -1
- package/src/providers/abuseipdb/executors.js +3 -4
- package/src/providers/action-contracts.generated.d.ts +24 -6
- package/src/providers/addressfinder/executors.js +2 -3
- package/src/providers/aeroleads/executors.js +3 -3
- package/src/providers/affinity/runtime.js +6 -7
- package/src/providers/aftership/executors.js +2 -2
- package/src/providers/agent_mail/runtime.js +2 -2
- package/src/providers/agentql/runtime.js +2 -2
- package/src/providers/agenty/runtime.js +5 -6
- package/src/providers/agiled/runtime.d.ts +0 -1
- package/src/providers/agiled/runtime.js +2 -3
- package/src/providers/agility/runtime.js +2 -3
- package/src/providers/ahrefs/runtime.js +3 -3
- package/src/providers/aifinmarket/runtime.js +6 -7
- package/src/providers/airtable/executors.js +3 -3
- package/src/providers/aisa/executors.js +238 -6
- package/src/providers/aisa/firecrawl-actions.d.ts +9 -0
- package/src/providers/aisa/firecrawl-actions.js +115 -0
- package/src/providers/akta/actions.d.ts +9 -0
- package/src/providers/akta/actions.js +420 -0
- package/src/providers/akta/executors.d.ts +4 -0
- package/src/providers/akta/executors.js +103 -0
- package/src/providers/alchemy/runtime.js +2 -2
- package/src/providers/algolia/runtime.js +3 -3
- package/src/providers/aliyun_oss/executors.js +7 -7
- package/src/providers/allratestoday/executors.d.ts +3 -0
- package/src/providers/allratestoday/executors.js +18 -0
- package/src/providers/allratestoday/runtime.d.ts +17 -0
- package/src/providers/allratestoday/runtime.js +104 -0
- package/src/providers/alpaca/runtime.js +2 -3
- package/src/providers/alpha_vantage/runtime.js +2 -2
- package/src/providers/alt_text_ai/runtime.js +2 -2
- package/src/providers/altiria/executors.js +3 -3
- package/src/providers/amap/runtime.js +3 -3
- package/src/providers/ambee/runtime.js +2 -2
- package/src/providers/ambivo/executors.js +3 -3
- package/src/providers/amilia/runtime.js +1 -1
- package/src/providers/amplemarket/runtime.js +2 -2
- package/src/providers/amplitude/runtime.js +3 -3
- package/src/providers/anysearch/runtime.js +4 -4
- package/src/providers/apaleo/runtime.js +2 -2
- package/src/providers/api_sports/executors.js +3 -4
- package/src/providers/apiverve/executors.js +2 -3
- package/src/providers/apollo/executors.js +2 -3
- package/src/providers/appcircle/runtime.js +5 -5
- package/src/providers/appdrag/executors.js +2 -3
- package/src/providers/arcgis_online/executors.js +2 -2
- package/src/providers/asana/executors.d.ts +2 -0
- package/src/providers/asana/executors.js +2 -0
- package/src/providers/asana/trigger-on-task-event.d.ts +2 -0
- package/src/providers/asana/trigger-on-task-event.definition.d.ts +4 -0
- package/src/providers/asana/trigger-on-task-event.definition.js +42 -0
- package/src/providers/asana/trigger-on-task-event.js +160 -0
- package/src/providers/auth0_management/runtime.js +2 -3
- package/src/providers/autoblogger/executors.js +3 -3
- package/src/providers/baidu_maps/runtime.js +3 -3
- package/src/providers/baidu_netdisk/runtime-mcp.js +3 -4
- package/src/providers/bark/executors.js +5 -5
- package/src/providers/bitrise/runtime.js +3 -3
- package/src/providers/bouncer/executors.js +3 -4
- package/src/providers/browse_ai/runtime.js +3 -4
- package/src/providers/browserstack/executors.js +6 -7
- package/src/providers/buildkite/runtime.js +3 -3
- package/src/providers/bunnycdn/runtime.js +3 -3
- package/src/providers/businessmap/runtime.js +6 -7
- package/src/providers/buttondown/runtime.js +2 -2
- package/src/providers/byteforms/runtime.js +2 -2
- package/src/providers/calendly/executors.d.ts +2 -0
- package/src/providers/calendly/executors.js +2 -0
- package/src/providers/calendly/runtime.js +2 -2
- package/src/providers/calendly/trigger-on-booking-event.d.ts +2 -0
- package/src/providers/calendly/trigger-on-booking-event.definition.d.ts +5 -0
- package/src/providers/calendly/trigger-on-booking-event.definition.js +42 -0
- package/src/providers/calendly/trigger-on-booking-event.js +144 -0
- package/src/providers/captainbi/runtime.js +6 -6
- package/src/providers/castingwords/runtime.js +1 -1
- package/src/providers/chatpdf/runtime.js +4 -4
- package/src/providers/check/executors.js +3 -4
- package/src/providers/checkly/executors.js +3 -4
- package/src/providers/chengxin/runtime.js +3 -3
- package/src/providers/cincopa/executors.js +3 -4
- package/src/providers/circle/executors.js +3 -4
- package/src/providers/clearout/executors.js +1 -2
- package/src/providers/clickhelp/runtime.js +5 -5
- package/src/providers/clickhouse/runtime.js +4 -4
- package/src/providers/clickup/executors.d.ts +2 -0
- package/src/providers/clickup/executors.js +2 -0
- package/src/providers/clickup/trigger-on-task-event.d.ts +2 -0
- package/src/providers/clickup/trigger-on-task-event.definition.d.ts +4 -0
- package/src/providers/clickup/trigger-on-task-event.definition.js +41 -0
- package/src/providers/clickup/trigger-on-task-event.js +94 -0
- package/src/providers/clinicalkey/runtime.js +3 -3
- package/src/providers/clinicaltrials_gov/runtime.js +4 -5
- package/src/providers/clockify/runtime.js +4 -4
- package/src/providers/cloro/actions.d.ts +12 -0
- package/src/providers/cloro/actions.js +155 -0
- package/src/providers/cloro/executors.d.ts +4 -0
- package/src/providers/cloro/executors.js +67 -0
- package/src/providers/cloro/inputs.d.ts +10 -0
- package/src/providers/cloro/inputs.js +680 -0
- package/src/providers/close/runtime.js +3 -3
- package/src/providers/cloudconvert/runtime.js +8 -9
- package/src/providers/cloudflare_dns/runtime.js +2 -2
- package/src/providers/cloudflare_email_routing/runtime.js +2 -2
- package/src/providers/cloudflare_r2/runtime.js +5 -5
- package/src/providers/cloudflare_worker/runtime.js +10 -10
- package/src/providers/cloudinary/runtime.js +4 -4
- package/src/providers/cloudlayer/runtime.js +5 -5
- package/src/providers/codacy/runtime.js +2 -2
- package/src/providers/codemagic/runtime.js +2 -2
- package/src/providers/confluence/executors.js +4 -4
- package/src/providers/confluence/runtime.d.ts +0 -1
- package/src/providers/confluence/runtime.js +6 -7
- package/src/providers/contactout/runtime.js +5 -5
- package/src/providers/contentful/runtime.js +2 -2
- package/src/providers/contentstack_content_delivery/runtime.js +1 -1
- package/src/providers/contextdev/actions.d.ts +14 -0
- package/src/providers/contextdev/actions.js +647 -0
- package/src/providers/contextdev/executors.d.ts +4 -0
- package/src/providers/contextdev/executors.js +109 -0
- package/src/providers/contextdev/files.d.ts +3 -0
- package/src/providers/contextdev/files.js +49 -0
- package/src/providers/contextdev/input-schemas.d.ts +49 -0
- package/src/providers/contextdev/input-schemas.js +3082 -0
- package/src/providers/contextdev/output-schemas.d.ts +49 -0
- package/src/providers/contextdev/output-schemas.js +1599 -0
- package/src/providers/cronly/runtime.js +2 -2
- package/src/providers/crossref/runtime.js +3 -3
- package/src/providers/cutt_ly/runtime.js +3 -3
- package/src/providers/cyberimpact/runtime.js +3 -3
- package/src/providers/dachser/executors.js +2 -2
- package/src/providers/dailybot/runtime.js +1 -1
- package/src/providers/databox/runtime.js +2 -2
- package/src/providers/databricks/runtime.js +2 -2
- package/src/providers/datacite/runtime.js +1 -1
- package/src/providers/datadog/executors.js +3 -4
- package/src/providers/datascope/runtime.js +2 -2
- package/src/providers/daytona/executors.js +3 -3
- package/src/providers/deepgram/runtime.js +2 -2
- package/src/providers/deepl/runtime.js +4 -4
- package/src/providers/deepseek/executors.d.ts +0 -5
- package/src/providers/deepseek/executors.js +38 -25
- package/src/providers/defillama/actions.d.ts +24 -0
- package/src/providers/defillama/actions.js +24 -0
- package/src/providers/defillama/dimensions-definitions.d.ts +2 -0
- package/src/providers/defillama/dimensions-definitions.js +1387 -0
- package/src/providers/defillama/ecosystem-definitions.d.ts +2 -0
- package/src/providers/defillama/ecosystem-definitions.js +758 -0
- package/src/providers/defillama/equities-definitions.d.ts +2 -0
- package/src/providers/defillama/equities-definitions.js +733 -0
- package/src/providers/defillama/executors.d.ts +4 -0
- package/src/providers/defillama/executors.js +196 -0
- package/src/providers/defillama/markets-definitions.d.ts +2 -0
- package/src/providers/defillama/markets-definitions.js +624 -0
- package/src/providers/defillama/shared-schemas.d.ts +71 -0
- package/src/providers/defillama/shared-schemas.js +157 -0
- package/src/providers/defillama/tvl-definitions.d.ts +2 -0
- package/src/providers/defillama/tvl-definitions.js +546 -0
- package/src/providers/defillama/yields-definitions.d.ts +2 -0
- package/src/providers/defillama/yields-definitions.js +766 -0
- package/src/providers/detrack/executors.js +5 -5
- package/src/providers/deutschlandgpt/runtime.js +2 -2
- package/src/providers/dialmycalls/runtime.js +4 -4
- package/src/providers/diffbot/executors.js +4 -4
- package/src/providers/digistore24/executors.js +3 -3
- package/src/providers/dingtalk_bot/executors.js +1 -1
- package/src/providers/discourse/executors.d.ts +0 -1
- package/src/providers/discourse/executors.js +6 -7
- package/src/providers/docugenerate/runtime.js +3 -3
- package/src/providers/doppler/runtime.shared.js +3 -3
- package/src/providers/doppler_marketing_automation/runtime.js +4 -4
- package/src/providers/dovetail/runtime.js +2 -2
- package/src/providers/dropcontact/runtime.js +3 -3
- package/src/providers/dub/executors.js +6 -6
- package/src/providers/dumplingai/runtime.js +2 -2
- package/src/providers/elevenlabs/executors.js +4 -4
- package/src/providers/elevenreader/runtime.js +1 -1
- package/src/providers/emailoctopus/runtime.js +4 -4
- package/src/providers/embase/runtime.js +3 -3
- package/src/providers/emelia/executors.js +2 -2
- package/src/providers/enigma/executors.js +3 -3
- package/src/providers/eodhd_apis/executors.js +2 -2
- package/src/providers/eventzilla/runtime.js +3 -4
- package/src/providers/evervault/runtime.js +1 -1
- package/src/providers/excalidraw_mcp/runtime.js +3 -4
- package/src/providers/excel/runtime.js +6 -6
- package/src/providers/expofp/runtime.js +2 -2
- package/src/providers/faktoora/runtime.js +5 -5
- package/src/providers/fast_note_sync/runtime.js +2 -2
- package/src/providers/feathery/executors.js +2 -3
- package/src/providers/feishu_app_bot/executors.js +2 -3
- package/src/providers/feishu_app_bot/trigger-on-event.js +2 -0
- package/src/providers/feishu_custom_bot/executors.js +2 -3
- package/src/providers/ffhub/executors.js +2 -3
- package/src/providers/fidel_api/executors.js +2 -3
- package/src/providers/files_com/executors.js +2 -3
- package/src/providers/fireberry/runtime.d.ts +0 -1
- package/src/providers/fireberry/runtime.js +3 -4
- package/src/providers/fireflies/executors.d.ts +2 -0
- package/src/providers/fireflies/executors.js +2 -0
- package/src/providers/fireflies/trigger-on-meeting-ready.d.ts +2 -0
- package/src/providers/fireflies/trigger-on-meeting-ready.definition.d.ts +4 -0
- package/src/providers/fireflies/trigger-on-meeting-ready.definition.js +44 -0
- package/src/providers/fireflies/trigger-on-meeting-ready.js +60 -0
- package/src/providers/firehydrant/executors.js +2 -3
- package/src/providers/float/executors.js +2 -3
- package/src/providers/flomo/executors.js +5 -6
- package/src/providers/flowiseai/executors.js +2 -3
- package/src/providers/fluxguard/executors.js +2 -3
- package/src/providers/folk/executors.js +2 -3
- package/src/providers/football_data/executors.js +2 -3
- package/src/providers/forem/executors.js +2 -3
- package/src/providers/formbricks/executors.js +2 -3
- package/src/providers/formsite/executors.js +3 -4
- package/src/providers/formspree/executors.js +2 -2
- package/src/providers/freshdesk/executors.js +3 -4
- package/src/providers/freshservice/executors.js +3 -4
- package/src/providers/freshteam/runtime.js +3 -4
- package/src/providers/full_contact/executors.js +3 -3
- package/src/providers/fundable/actions.d.ts +8 -0
- package/src/providers/fundable/actions.js +1515 -0
- package/src/providers/fundable/executors.d.ts +4 -0
- package/src/providers/fundable/executors.js +74 -0
- package/src/providers/fusion-api/runtime.js +2 -3
- package/src/providers/gagelist/executors.js +3 -3
- package/src/providers/gainsight_nxt/executors.js +2 -2
- package/src/providers/gamma/executors.js +4 -3
- package/src/providers/gangtise/runtime.js +3 -4
- package/src/providers/gatherup/runtime.js +1 -1
- package/src/providers/geckoboard/executors.js +2 -3
- package/src/providers/gemini/runtime.d.ts +0 -1
- package/src/providers/gemini/runtime.js +5 -6
- package/src/providers/genpage/runtime.js +2 -2
- package/src/providers/geokeo/executors.js +4 -4
- package/src/providers/getnote/runtime.js +2 -3
- package/src/providers/github/runtime-shared.js +2 -2
- package/src/providers/glyphic/runtime.js +3 -4
- package/src/providers/gmail/executors.js +125 -27
- package/src/providers/gmail/message.d.ts +1 -6
- package/src/providers/gmail/message.js +1 -1
- package/src/providers/gong/runtime.js +6 -7
- package/src/providers/googlecalendar/runtime-shared.js +3 -4
- package/src/providers/googledrive/runtime-request.js +2 -3
- package/src/providers/googlesheets/runtime-shared.js +3 -4
- package/src/providers/gorgias/runtime.js +4 -4
- package/src/providers/gotify/executors.js +7 -8
- package/src/providers/greenhouse/executors.js +3 -3
- package/src/providers/gumloop/executors.js +2 -3
- package/src/providers/gumroad/executors.js +2 -3
- package/src/providers/habitica/executors.js +2 -3
- package/src/providers/hackerrank_work/executors.js +2 -3
- package/src/providers/harvest/executors.js +3 -4
- package/src/providers/haveibeenpwned/executors.js +2 -3
- package/src/providers/headout/executors.js +3 -4
- package/src/providers/healthchecks_io/executors.js +2 -3
- package/src/providers/helium10/runtime.js +4 -5
- package/src/providers/helpdesk/runtime.js +4 -4
- package/src/providers/home_assistant/runtime-ws.js +9 -10
- package/src/providers/hotjar/executors.js +4 -4
- package/src/providers/httpsms/runtime.js +3 -4
- package/src/providers/hub_planner/executors.js +3 -3
- package/src/providers/hubspot/runtime.js +3 -4
- package/src/providers/humaans/runtime.js +3 -3
- package/src/providers/hunter/runtime.js +3 -3
- package/src/providers/icypeas/executors.js +3 -4
- package/src/providers/ima/runtime.js +7 -7
- package/src/providers/infolobby/runtime.js +6 -6
- package/src/providers/instabot/runtime.js +6 -6
- package/src/providers/instatus/runtime.js +4 -4
- package/src/providers/intercom/executors.d.ts +2 -0
- package/src/providers/intercom/executors.js +2 -0
- package/src/providers/intercom/trigger-on-conversation-event.d.ts +2 -0
- package/src/providers/intercom/trigger-on-conversation-event.definition.d.ts +4 -0
- package/src/providers/intercom/trigger-on-conversation-event.definition.js +42 -0
- package/src/providers/intercom/trigger-on-conversation-event.js +23 -0
- package/src/providers/intuiface/executors.js +3 -3
- package/src/providers/iplocate/runtime.js +4 -5
- package/src/providers/ipregistry/executors.js +2 -2
- package/src/providers/jiminny/runtime.js +4 -4
- package/src/providers/jin10/executors.js +4 -5
- package/src/providers/jira/executors.d.ts +2 -0
- package/src/providers/jira/executors.js +6 -4
- package/src/providers/jira/trigger-on-issue-event.d.ts +2 -0
- package/src/providers/jira/trigger-on-issue-event.definition.d.ts +4 -0
- package/src/providers/jira/trigger-on-issue-event.definition.js +44 -0
- package/src/providers/jira/trigger-on-issue-event.js +116 -0
- package/src/providers/jira/trigger-resource.d.ts +4 -0
- package/src/providers/jira/trigger-resource.js +141 -0
- package/src/providers/kaleido/runtime.js +2 -2
- package/src/providers/kandji/runtime.js +2 -2
- package/src/providers/keenable/executors.d.ts +4 -0
- package/src/providers/keenable/executors.js +20 -0
- package/src/providers/keenable/runtime.d.ts +26 -0
- package/src/providers/keenable/runtime.js +89 -0
- package/src/providers/keygen/executors.js +4 -4
- package/src/providers/keyword/runtime.js +2 -2
- package/src/providers/kie_ai/executors.js +1 -1
- package/src/providers/kintone/runtime.js +1 -1
- package/src/providers/kit/runtime.js +2 -2
- package/src/providers/klangio/runtime.js +4 -4
- package/src/providers/klaviyo/executors.js +1 -1
- package/src/providers/klazify/executors.js +3 -3
- package/src/providers/klipfolio/runtime.js +3 -3
- package/src/providers/knack/executors.js +1 -1
- package/src/providers/kolsprite_mcp/actions.d.ts +2 -0
- package/src/providers/kolsprite_mcp/actions.js +519 -0
- package/src/providers/kolsprite_mcp/executors.d.ts +4 -0
- package/src/providers/kolsprite_mcp/executors.js +89 -0
- package/src/providers/kommo/runtime.js +2 -2
- package/src/providers/kontent_ai/executors.js +3 -4
- package/src/providers/l2s/executors.js +3 -4
- package/src/providers/latchshot/executors.js +2 -2
- package/src/providers/leadboxer/runtime.js +4 -4
- package/src/providers/leadiq/runtime.js +4 -4
- package/src/providers/linguapop/runtime.js +1 -1
- package/src/providers/lingvanex_translation_api/runtime.js +5 -6
- package/src/providers/lingxing_mcp/runtime.js +3 -4
- package/src/providers/linkup/runtime.js +5 -6
- package/src/providers/litescrape/actions.d.ts +12 -0
- package/src/providers/litescrape/actions.js +124 -0
- package/src/providers/litescrape/airbnb-schemas.d.ts +2 -0
- package/src/providers/litescrape/airbnb-schemas.js +72 -0
- package/src/providers/litescrape/aliexpress-schemas.d.ts +2 -0
- package/src/providers/litescrape/aliexpress-schemas.js +52 -0
- package/src/providers/litescrape/amazon-schemas.d.ts +2 -0
- package/src/providers/litescrape/amazon-schemas.js +358 -0
- package/src/providers/litescrape/apartments-schemas.d.ts +2 -0
- package/src/providers/litescrape/apartments-schemas.js +45 -0
- package/src/providers/litescrape/apple-schemas.d.ts +2 -0
- package/src/providers/litescrape/apple-schemas.js +215 -0
- package/src/providers/litescrape/ashby-schemas.d.ts +2 -0
- package/src/providers/litescrape/ashby-schemas.js +82 -0
- package/src/providers/litescrape/baidu-schemas.d.ts +2 -0
- package/src/providers/litescrape/baidu-schemas.js +31 -0
- package/src/providers/litescrape/bestbuy-schemas.d.ts +2 -0
- package/src/providers/litescrape/bestbuy-schemas.js +56 -0
- package/src/providers/litescrape/bing-schemas.d.ts +2 -0
- package/src/providers/litescrape/bing-schemas.js +315 -0
- package/src/providers/litescrape/brave-schemas.d.ts +2 -0
- package/src/providers/litescrape/brave-schemas.js +101 -0
- package/src/providers/litescrape/copilot-schemas.d.ts +2 -0
- package/src/providers/litescrape/copilot-schemas.js +590 -0
- package/src/providers/litescrape/duckduckgo-schemas.d.ts +2 -0
- package/src/providers/litescrape/duckduckgo-schemas.js +64 -0
- package/src/providers/litescrape/ebay-schemas.d.ts +2 -0
- package/src/providers/litescrape/ebay-schemas.js +300 -0
- package/src/providers/litescrape/etsy-schemas.d.ts +2 -0
- package/src/providers/litescrape/etsy-schemas.js +52 -0
- package/src/providers/litescrape/eventbrite-schemas.d.ts +2 -0
- package/src/providers/litescrape/eventbrite-schemas.js +43 -0
- package/src/providers/litescrape/executors.d.ts +4 -0
- package/src/providers/litescrape/executors.js +138 -0
- package/src/providers/litescrape/facebook-schemas.d.ts +2 -0
- package/src/providers/litescrape/facebook-schemas.js +283 -0
- package/src/providers/litescrape/glassdoor-schemas.d.ts +2 -0
- package/src/providers/litescrape/glassdoor-schemas.js +147 -0
- package/src/providers/litescrape/google-schemas.d.ts +2 -0
- package/src/providers/litescrape/google-schemas.js +1686 -0
- package/src/providers/litescrape/homedepot-schemas.d.ts +2 -0
- package/src/providers/litescrape/homedepot-schemas.js +58 -0
- package/src/providers/litescrape/homes-schemas.d.ts +2 -0
- package/src/providers/litescrape/homes-schemas.js +45 -0
- package/src/providers/litescrape/ikea-schemas.d.ts +2 -0
- package/src/providers/litescrape/ikea-schemas.js +56 -0
- package/src/providers/litescrape/indeed-schemas.d.ts +2 -0
- package/src/providers/litescrape/indeed-schemas.js +141 -0
- package/src/providers/litescrape/instagram-schemas.d.ts +2 -0
- package/src/providers/litescrape/instagram-schemas.js +234 -0
- package/src/providers/litescrape/kroger-schemas.d.ts +2 -0
- package/src/providers/litescrape/kroger-schemas.js +62 -0
- package/src/providers/litescrape/levels-schemas.d.ts +2 -0
- package/src/providers/litescrape/levels-schemas.js +153 -0
- package/src/providers/litescrape/naver-schemas.d.ts +2 -0
- package/src/providers/litescrape/naver-schemas.js +107 -0
- package/src/providers/litescrape/realtor-schemas.d.ts +2 -0
- package/src/providers/litescrape/realtor-schemas.js +47 -0
- package/src/providers/litescrape/redfin-schemas.d.ts +2 -0
- package/src/providers/litescrape/redfin-schemas.js +112 -0
- package/src/providers/litescrape/shared.d.ts +9 -0
- package/src/providers/litescrape/shared.js +1 -0
- package/src/providers/litescrape/sprouts-schemas.d.ts +2 -0
- package/src/providers/litescrape/sprouts-schemas.js +72 -0
- package/src/providers/litescrape/target-schemas.d.ts +2 -0
- package/src/providers/litescrape/target-schemas.js +56 -0
- package/src/providers/litescrape/tiktok-schemas.d.ts +2 -0
- package/src/providers/litescrape/tiktok-schemas.js +625 -0
- package/src/providers/litescrape/tools.d.ts +2 -0
- package/src/providers/litescrape/tools.js +88 -0
- package/src/providers/litescrape/tripadvisor-schemas.d.ts +2 -0
- package/src/providers/litescrape/tripadvisor-schemas.js +119 -0
- package/src/providers/litescrape/walmart-schemas.d.ts +2 -0
- package/src/providers/litescrape/walmart-schemas.js +52 -0
- package/src/providers/litescrape/wayfair-schemas.d.ts +2 -0
- package/src/providers/litescrape/wayfair-schemas.js +52 -0
- package/src/providers/litescrape/web-schemas.d.ts +2 -0
- package/src/providers/litescrape/web-schemas.js +463 -0
- package/src/providers/litescrape/wholefoods-schemas.d.ts +2 -0
- package/src/providers/litescrape/wholefoods-schemas.js +56 -0
- package/src/providers/litescrape/x-schemas.d.ts +2 -0
- package/src/providers/litescrape/x-schemas.js +128 -0
- package/src/providers/litescrape/yahoo-schemas.d.ts +2 -0
- package/src/providers/litescrape/yahoo-schemas.js +234 -0
- package/src/providers/litescrape/yandex-schemas.d.ts +2 -0
- package/src/providers/litescrape/yandex-schemas.js +179 -0
- package/src/providers/litescrape/yelp-schemas.d.ts +2 -0
- package/src/providers/litescrape/yelp-schemas.js +130 -0
- package/src/providers/litescrape/youtube-schemas.d.ts +2 -0
- package/src/providers/litescrape/youtube-schemas.js +128 -0
- package/src/providers/litescrape/zillow-schemas.d.ts +2 -0
- package/src/providers/litescrape/zillow-schemas.js +128 -0
- package/src/providers/litescrape/ziprecruiter-schemas.d.ts +2 -0
- package/src/providers/litescrape/ziprecruiter-schemas.js +96 -0
- package/src/providers/liveagent/executors.js +6 -6
- package/src/providers/loops/executors.js +2 -2
- package/src/providers/loyjoy/runtime.js +2 -2
- package/src/providers/loyverse/executors.js +4 -4
- package/src/providers/lusha/runtime.js +3 -3
- package/src/providers/magichour/actions.d.ts +22 -0
- package/src/providers/magichour/actions.js +308 -0
- package/src/providers/magichour/audio-schemas.d.ts +2 -0
- package/src/providers/magichour/audio-schemas.js +54 -0
- package/src/providers/magichour/executors.d.ts +4 -0
- package/src/providers/magichour/executors.js +115 -0
- package/src/providers/magichour/image-schemas.d.ts +2 -0
- package/src/providers/magichour/image-schemas.js +443 -0
- package/src/providers/magichour/project-schemas.d.ts +8 -0
- package/src/providers/magichour/project-schemas.js +65 -0
- package/src/providers/magichour/shared-schemas.d.ts +8 -0
- package/src/providers/magichour/shared-schemas.js +18 -0
- package/src/providers/magichour/utility-schemas.d.ts +11 -0
- package/src/providers/magichour/utility-schemas.js +150 -0
- package/src/providers/magichour/video-schemas.d.ts +2 -0
- package/src/providers/magichour/video-schemas.js +629 -0
- package/src/providers/magichour/voices.d.ts +1 -0
- package/src/providers/magichour/voices.js +1268 -0
- package/src/providers/mailbluster/runtime.js +3 -4
- package/src/providers/mailcoach/runtime.js +4 -4
- package/src/providers/mailgenius/executors.js +3 -4
- package/src/providers/mailjet/runtime.js +3 -3
- package/src/providers/mails_so/runtime.js +1 -1
- package/src/providers/mailsoftly/runtime.js +5 -5
- package/src/providers/mailtrap/runtime.js +4 -5
- package/src/providers/manus/runtime.js +3 -3
- package/src/providers/mautic/runtime.js +3 -3
- package/src/providers/megaventory/runtime.js +3 -3
- package/src/providers/memberstack/runtime.js +2 -2
- package/src/providers/mendeley/executors.js +2 -3
- package/src/providers/mindbody/runtime.js +3 -3
- package/src/providers/minerstat/executors.js +3 -3
- package/src/providers/minimax/executors.js +19 -4
- package/src/providers/minimax/text-models.d.ts +2 -0
- package/src/providers/minimax/text-models.js +34 -0
- package/src/providers/mintlify/runtime.js +3 -3
- package/src/providers/missive/executors.js +3 -5
- package/src/providers/mixpanel/executors.js +3 -3
- package/src/providers/mobile_text_alerts/runtime.js +3 -3
- package/src/providers/mocean/executors.js +3 -3
- package/src/providers/moco/executors.js +5 -5
- package/src/providers/moesif/runtime.js +4 -4
- package/src/providers/monday/runtime-common.js +3 -3
- package/src/providers/moneyforward_mcp/manifest.d.ts +0 -2
- package/src/providers/moneyforward_mcp/manifest.js +1 -1
- package/src/providers/monica_crm/runtime.js +4 -4
- package/src/providers/moorcheh/runtime.js +3 -3
- package/src/providers/more_trees/runtime.d.ts +0 -1
- package/src/providers/more_trees/runtime.js +7 -8
- package/src/providers/moxie/runtime.js +2 -2
- package/src/providers/msg91/runtime.js +4 -4
- package/src/providers/mx/runtime.js +1 -1
- package/src/providers/needle/runtime.js +3 -4
- package/src/providers/netlify/runtime.js +2 -3
- package/src/providers/niftyimages/executors.js +2 -2
- package/src/providers/northbeam/runtime.js +1 -1
- package/src/providers/notion/executors.js +36 -3
- package/src/providers/nozbe_teams/executors.js +4 -4
- package/src/providers/npm/runtime.js +4 -4
- package/src/providers/nusii_proposals/runtime.js +2 -2
- package/src/providers/ocr_web_service/executors.js +4 -4
- package/src/providers/octen/actions.d.ts +6 -0
- package/src/providers/octen/actions.js +919 -0
- package/src/providers/octen/executors.d.ts +4 -0
- package/src/providers/octen/executors.js +125 -0
- package/src/providers/octen/inputs.d.ts +2 -0
- package/src/providers/octen/inputs.js +2434 -0
- package/src/providers/octen/research.d.ts +1 -0
- package/src/providers/octen/research.js +86 -0
- package/src/providers/octopus_deploy/executors.js +3 -3
- package/src/providers/oksign/runtime.js +3 -4
- package/src/providers/one_drive/executors.js +6 -6
- package/src/providers/one_password_events/runtime.js +1 -1
- package/src/providers/onfleet/runtime.js +3 -3
- package/src/providers/onlyoffice_docspace/runtime.js +4 -4
- package/src/providers/oomnitza/runtime.js +3 -4
- package/src/providers/openrouter/executors.js +7 -4
- package/src/providers/orbit/actions.d.ts +2 -0
- package/src/providers/orbit/actions.js +3030 -0
- package/src/providers/orbit/executors.d.ts +4 -0
- package/src/providers/orbit/executors.js +106 -0
- package/src/providers/orbit/routes.d.ts +9 -0
- package/src/providers/orbit/routes.js +170 -0
- package/src/providers/otter_ai/executors.js +2 -2
- package/src/providers/oura/runtime.js +1 -1
- package/src/providers/paddle/executors.js +3 -3
- package/src/providers/pagerduty/runtime.js +2 -2
- package/src/providers/pandadoc/executors.d.ts +2 -0
- package/src/providers/pandadoc/executors.js +2 -0
- package/src/providers/pandadoc/trigger-on-document-event.d.ts +2 -0
- package/src/providers/pandadoc/trigger-on-document-event.definition.d.ts +4 -0
- package/src/providers/pandadoc/trigger-on-document-event.definition.js +33 -0
- package/src/providers/pandadoc/trigger-on-document-event.js +96 -0
- package/src/providers/paradym/runtime.js +4 -4
- package/src/providers/parallel/runtime.js +3 -3
- package/src/providers/partner_stack_partner/runtime.js +1 -1
- package/src/providers/payrexx/runtime.js +5 -6
- package/src/providers/permit_io/runtime.js +2 -2
- package/src/providers/pinboard/executors.js +5 -6
- package/src/providers/pinpoint/runtime.js +2 -2
- package/src/providers/pipedrive/executors.d.ts +2 -0
- package/src/providers/pipedrive/executors.js +2 -0
- package/src/providers/pipedrive/trigger-on-crm-event.d.ts +2 -0
- package/src/providers/pipedrive/trigger-on-crm-event.definition.d.ts +4 -0
- package/src/providers/pipedrive/trigger-on-crm-event.definition.js +30 -0
- package/src/providers/pipedrive/trigger-on-crm-event.js +101 -0
- package/src/providers/placid/runtime.js +3 -3
- package/src/providers/plain/runtime.js +5 -5
- package/src/providers/planetscale/runtime.js +2 -2
- package/src/providers/planhat/executors.js +6 -6
- package/src/providers/plausible_analytics/runtime.js +3 -3
- package/src/providers/ploid/actions.d.ts +16 -0
- package/src/providers/ploid/actions.js +23 -0
- package/src/providers/ploid/endpoints.json +8440 -0
- package/src/providers/ploid/executors.d.ts +4 -0
- package/src/providers/ploid/executors.js +119 -0
- package/src/providers/posthog/runtime.js +3 -3
- package/src/providers/predis_ai/executors.js +3 -3
- package/src/providers/printavo/runtime.js +2 -2
- package/src/providers/prospeo/runtime.js +2 -3
- package/src/providers/provider-runtime.d.ts +26 -1
- package/src/providers/provider-runtime.js +62 -14
- package/src/providers/push_by_techulus/executors.js +3 -4
- package/src/providers/pushover/runtime.js +4 -5
- package/src/providers/pushsafer/runtime.js +4 -5
- package/src/providers/pylon/runtime.js +2 -2
- package/src/providers/qase/runtime.js +3 -3
- package/src/providers/qdrant/runtime.js +1 -1
- package/src/providers/qichacha/runtime.js +2 -2
- package/src/providers/qingflow/runtime.js +2 -2
- package/src/providers/quickchart/runtime.js +2 -2
- package/src/providers/quintadb/runtime.js +2 -2
- package/src/providers/quo/runtime.js +2 -2
- package/src/providers/rawg/runtime.js +4 -4
- package/src/providers/razorpay/runtime.js +4 -5
- package/src/providers/readme/runtime.js +6 -6
- package/src/providers/referralhero/runtime.js +3 -3
- package/src/providers/registry.generated.js +18 -0
- package/src/providers/render/executors.js +3 -3
- package/src/providers/resend/executors.d.ts +2 -0
- package/src/providers/resend/executors.js +2 -0
- package/src/providers/resend/trigger-on-email-event.d.ts +2 -0
- package/src/providers/resend/trigger-on-email-event.definition.d.ts +4 -0
- package/src/providers/resend/trigger-on-email-event.definition.js +37 -0
- package/src/providers/resend/trigger-on-email-event.js +125 -0
- package/src/providers/respond_io/executors.js +3 -3
- package/src/providers/reversecontact/runtime.js +3 -3
- package/src/providers/ritekit/executors.js +2 -2
- package/src/providers/riveter/executors.js +2 -3
- package/src/providers/rocket_chat/executors.js +3 -4
- package/src/providers/rocket_reach/executors.js +3 -4
- package/src/providers/salesforce/chatter-routes.d.ts +107 -0
- package/src/providers/salesforce/chatter-routes.js +140 -0
- package/src/providers/salesforce/context.d.ts +2 -2
- package/src/providers/salesforce/context.js +7 -4
- package/src/providers/salesforce/executors.js +10 -0
- package/src/providers/salesforce/runtime-approvals.d.ts +2 -0
- package/src/providers/salesforce/runtime-approvals.js +52 -0
- package/src/providers/salesforce/runtime-base.js +14 -3
- package/src/providers/salesforce/runtime-chatter.d.ts +2 -0
- package/src/providers/salesforce/runtime-chatter.js +78 -0
- package/src/providers/salesforce/runtime-knowledge.d.ts +2 -0
- package/src/providers/salesforce/runtime-knowledge.js +34 -0
- package/src/providers/salesforce/runtime-leads.d.ts +2 -0
- package/src/providers/salesforce/runtime-leads.js +117 -0
- package/src/providers/salesforce/runtime-platform.d.ts +2 -0
- package/src/providers/salesforce/runtime-platform.js +67 -0
- package/src/providers/saperly/actions.d.ts +17 -0
- package/src/providers/saperly/actions.js +869 -0
- package/src/providers/saperly/executors.d.ts +4 -0
- package/src/providers/saperly/executors.js +113 -0
- package/src/providers/saperly/schemas.d.ts +33 -0
- package/src/providers/saperly/schemas.js +601 -0
- package/src/providers/saucelabs/runtime.js +4 -4
- package/src/providers/scopus/runtime.js +3 -3
- package/src/providers/scrape_do/executors.js +2 -2
- package/src/providers/scraperapi/runtime.js +4 -4
- package/src/providers/scrapfly/executors.js +2 -2
- package/src/providers/scrapingant/executors.js +6 -7
- package/src/providers/scrapingbee/executors.js +3 -3
- package/src/providers/scrapingdog/executors.js +1 -1
- package/src/providers/screenshot_fyi/executors.js +3 -4
- package/src/providers/screenshotbase/runtime.js +3 -3
- package/src/providers/search1api/actions.d.ts +2 -0
- package/src/providers/search1api/actions.js +39 -0
- package/src/providers/search1api/executors.d.ts +4 -0
- package/src/providers/search1api/executors.js +72 -0
- package/src/providers/search1api/runtime.d.ts +3 -0
- package/src/providers/search1api/runtime.js +44 -0
- package/src/providers/search1api/schemas.d.ts +3 -0
- package/src/providers/search1api/schemas.js +1834 -0
- package/src/providers/search_api/runtime.js +2 -2
- package/src/providers/securitytrails/executors.js +2 -2
- package/src/providers/semantic_scholar/executors.js +2 -2
- package/src/providers/sendbird/executors.js +2 -2
- package/src/providers/sendfox/executors.js +3 -3
- package/src/providers/sendgrid/executors.js +5 -5
- package/src/providers/sendmator/runtime.js +3 -4
- package/src/providers/sentry/executors.d.ts +2 -0
- package/src/providers/sentry/executors.js +2 -0
- package/src/providers/sentry/trigger-on-issue-alert.d.ts +2 -0
- package/src/providers/sentry/trigger-on-issue-alert.definition.d.ts +4 -0
- package/src/providers/sentry/trigger-on-issue-alert.definition.js +64 -0
- package/src/providers/sentry/trigger-on-issue-alert.js +80 -0
- package/src/providers/seqera/runtime.js +3 -4
- package/src/providers/serveravatar/executors.js +3 -3
- package/src/providers/sf_express/runtime.d.ts +0 -16
- package/src/providers/sf_express/runtime.js +2 -2
- package/src/providers/sheetdb/runtime.js +2 -2
- package/src/providers/short_menu/runtime.js +3 -3
- package/src/providers/shortcut/runtime.js +3 -3
- package/src/providers/shortpixel/runtime.js +2 -2
- package/src/providers/shotstack/runtime.js +4 -4
- package/src/providers/signpath/runtime.js +2 -2
- package/src/providers/signwell/runtime.js +5 -6
- package/src/providers/similarweb_digitalrank_api/runtime.js +3 -3
- package/src/providers/simla/runtime.js +5 -5
- package/src/providers/simplybook_me/executors.js +6 -6
- package/src/providers/sitespeakai/runtime.js +3 -3
- package/src/providers/slack/runtime.d.ts +6 -1
- package/src/providers/slack/runtime.js +21 -0
- package/src/providers/slackbot/actions.js +17 -1
- package/src/providers/slackbot/executors.d.ts +2 -0
- package/src/providers/slackbot/executors.js +5 -1
- package/src/providers/slackbot/trigger-on-event.d.ts +2 -0
- package/src/providers/slackbot/trigger-on-event.definition.d.ts +4 -0
- package/src/providers/slackbot/trigger-on-event.definition.js +57 -0
- package/src/providers/slackbot/trigger-on-event.js +23 -0
- package/src/providers/slickdeals/runtime.js +2 -3
- package/src/providers/smartsuite/runtime.js +3 -3
- package/src/providers/sonarcloud/runtime.js +5 -5
- package/src/providers/sorftime/runtime.js +8 -8
- package/src/providers/spider/runtime.js +2 -2
- package/src/providers/splunk_http_event_collector/runtime.js +7 -8
- package/src/providers/sportsdata/runtime.js +4 -4
- package/src/providers/spyfu/runtime.js +4 -5
- package/src/providers/square/runtime.js +4 -4
- package/src/providers/stannp/runtime.js +2 -2
- package/src/providers/stripe/executors.js +2 -2
- package/src/providers/supermemory/runtime.js +3 -3
- package/src/providers/surf/actions.d.ts +21 -0
- package/src/providers/surf/actions.js +26 -0
- package/src/providers/surf/discovery-definitions.d.ts +2 -0
- package/src/providers/surf/discovery-definitions.js +871 -0
- package/src/providers/surf/equity-definitions.d.ts +2 -0
- package/src/providers/surf/equity-definitions.js +322 -0
- package/src/providers/surf/executors.d.ts +4 -0
- package/src/providers/surf/executors.js +131 -0
- package/src/providers/surf/market-definitions.d.ts +2 -0
- package/src/providers/surf/market-definitions.js +885 -0
- package/src/providers/surf/onchain-definitions.d.ts +2 -0
- package/src/providers/surf/onchain-definitions.js +901 -0
- package/src/providers/surf/prediction-definitions.d.ts +2 -0
- package/src/providers/surf/prediction-definitions.js +683 -0
- package/src/providers/surf/shared-schemas.d.ts +18 -0
- package/src/providers/surf/shared-schemas.js +37 -0
- package/src/providers/survey_monkey/runtime.js +3 -3
- package/src/providers/taiga/runtime.js +4 -4
- package/src/providers/talenox/executors.js +4 -4
- package/src/providers/tally/executors.d.ts +2 -0
- package/src/providers/tally/executors.js +2 -0
- package/src/providers/tally/runtime.js +3 -3
- package/src/providers/tally/trigger-on-form-response.d.ts +2 -0
- package/src/providers/tally/trigger-on-form-response.definition.d.ts +4 -0
- package/src/providers/tally/trigger-on-form-response.definition.js +54 -0
- package/src/providers/tally/trigger-on-form-response.js +166 -0
- package/src/providers/tavily/runtime.js +3 -4
- package/src/providers/teamcamp/executors.js +2 -2
- package/src/providers/teamtailor/executors.js +2 -2
- package/src/providers/telegram/executors.js +6 -7
- package/src/providers/teltel/executors.js +2 -2
- package/src/providers/templated/executors.js +3 -3
- package/src/providers/tencent_docs/runtime.js +4 -4
- package/src/providers/tencent_maps/runtime.js +3 -3
- package/src/providers/textcortex/runtime.js +3 -3
- package/src/providers/the_cat_api/runtime.js +3 -3
- package/src/providers/the_colony/runtime.js +3 -3
- package/src/providers/the_odds_api/runtime.js +3 -4
- package/src/providers/the_official_board/runtime.js +4 -4
- package/src/providers/thehive/runtime.js +1 -1
- package/src/providers/tikhub/endpoint-catalog.js +2 -3
- package/src/providers/tiktok_business/runtime.js +2 -2
- package/src/providers/timecamp/runtime.js +2 -2
- package/src/providers/timelink/runtime.js +2 -2
- package/src/providers/tinyfish/actions.d.ts +6 -0
- package/src/providers/tinyfish/actions.js +19 -0
- package/src/providers/tinyfish/agent-actions.d.ts +2 -0
- package/src/providers/tinyfish/agent-actions.js +268 -0
- package/src/providers/tinyfish/data-actions.d.ts +2 -0
- package/src/providers/tinyfish/data-actions.js +186 -0
- package/src/providers/tinyfish/data-schemas.d.ts +7 -0
- package/src/providers/tinyfish/data-schemas.js +103 -0
- package/src/providers/tinyfish/endpoints.d.ts +14 -0
- package/src/providers/tinyfish/endpoints.js +1 -0
- package/src/providers/tinyfish/executors.d.ts +4 -0
- package/src/providers/tinyfish/executors.js +133 -0
- package/src/providers/tinyfish/management-actions.d.ts +2 -0
- package/src/providers/tinyfish/management-actions.js +524 -0
- package/src/providers/tinyfish/monitor-schemas.d.ts +5 -0
- package/src/providers/tinyfish/monitor-schemas.js +65 -0
- package/src/providers/tinyfish/research-schemas.d.ts +6 -0
- package/src/providers/tinyfish/research-schemas.js +71 -0
- package/src/providers/totp/runtime.js +4 -5
- package/src/providers/trawlingweb/runtime.js +2 -2
- package/src/providers/trello/executors.js +5 -2
- package/src/providers/trilium/runtime.js +2 -2
- package/src/providers/triple_whale/runtime.js +3 -3
- package/src/providers/truvera/runtime.js +2 -2
- package/src/providers/tuskr/runtime.js +2 -2
- package/src/providers/typebot/runtime.js +2 -2
- package/src/providers/typeform/executors.d.ts +2 -0
- package/src/providers/typeform/executors.js +2 -0
- package/src/providers/typeform/runtime.js +2 -2
- package/src/providers/typeform/trigger-on-form-response.d.ts +2 -0
- package/src/providers/typeform/trigger-on-form-response.definition.d.ts +4 -0
- package/src/providers/typeform/trigger-on-form-response.definition.js +40 -0
- package/src/providers/typeform/trigger-on-form-response.js +68 -0
- package/src/providers/uptimerobot/executors.js +3 -4
- package/src/providers/v2ex/runtime.js +8 -9
- package/src/providers/valyu/runtime.js +3 -3
- package/src/providers/vapi/runtime.js +4 -4
- package/src/providers/vaquill/actions.d.ts +13 -0
- package/src/providers/vaquill/actions.js +529 -0
- package/src/providers/vaquill/executors.d.ts +4 -0
- package/src/providers/vaquill/executors.js +141 -0
- package/src/providers/vaquill/schemas.d.ts +67 -0
- package/src/providers/vaquill/schemas.js +4953 -0
- package/src/providers/vectorshift/runtime.js +3 -3
- package/src/providers/venafitlsprotectcloud/runtime.js +2 -3
- package/src/providers/venafitlsprotectdatacenter/runtime.js +2 -3
- package/src/providers/vercel/executors.d.ts +2 -0
- package/src/providers/vercel/executors.js +2 -0
- package/src/providers/vercel/trigger-on-deployment-event.d.ts +2 -0
- package/src/providers/vercel/trigger-on-deployment-event.definition.d.ts +5 -0
- package/src/providers/vercel/trigger-on-deployment-event.definition.js +41 -0
- package/src/providers/vercel/trigger-on-deployment-event.js +102 -0
- package/src/providers/vida/runtime.js +4 -4
- package/src/providers/vonage/runtime.js +3 -3
- package/src/providers/walmart_marketplace/runtime.js +5 -5
- package/src/providers/weatherapi/executors.js +3 -4
- package/src/providers/web_of_science/runtime.js +4 -4
- package/src/providers/web_of_science_expanded/runtime.js +9 -9
- package/src/providers/webex/runtime.js +3 -3
- package/src/providers/webinarjam/runtime.js +4 -4
- package/src/providers/webscraping_ai/runtime.js +3 -3
- package/src/providers/webvizio/runtime.js +3 -4
- package/src/providers/wecom_bot/smart-runtime.js +4 -5
- package/src/providers/wecom_mcp/runtime.js +3 -4
- package/src/providers/weixin_bot/runtime.d.ts +0 -1
- package/src/providers/weixin_bot/runtime.js +1 -1
- package/src/providers/weixin_store/access-token.d.ts +3 -3
- package/src/providers/weixin_store/access-token.js +15 -7
- package/src/providers/weixin_store/executors.js +214 -1
- package/src/providers/wejam_ai/runtime.js +3 -3
- package/src/providers/wolfram_alpha_api/runtime.js +3 -3
- package/src/providers/woocommerce/runtime.js +1 -1
- package/src/providers/woodpecker_co/executors.js +3 -4
- package/src/providers/woot/runtime.js +6 -6
- package/src/providers/workable/runtime.js +3 -3
- package/src/providers/workday/runtime.js +4 -4
- package/src/providers/workiom/runtime.js +2 -2
- package/src/providers/workiz/runtime.js +2 -2
- package/src/providers/workpath/executors.js +3 -4
- package/src/providers/worksnaps/executors.js +2 -2
- package/src/providers/y_gy/runtime.js +2 -2
- package/src/providers/zenscrape/runtime.js +3 -3
- package/src/providers/zep/runtime.js +4 -4
- package/src/providers/zeplin/runtime.js +2 -2
- package/src/providers/zhihu/executors.js +6 -6
- package/src/providers/zoom/executors.d.ts +2 -0
- package/src/providers/zoom/executors.js +2 -0
- package/src/providers/zoom/trigger-on-recording-ready.d.ts +2 -0
- package/src/providers/zoom/trigger-on-recording-ready.definition.d.ts +4 -0
- package/src/providers/zoom/trigger-on-recording-ready.definition.js +44 -0
- package/src/providers/zoom/trigger-on-recording-ready.js +39 -0
- package/src/providers/zylvie/runtime.js +4 -4
- package/src/saas/saas-cleanup-service.d.ts +2 -0
- package/src/saas/saas-cleanup-service.js +2 -1
- package/src/saas/saas-execution-service.d.ts +1 -1
- package/src/server/actions/action-runner.js +1 -1
- package/src/server/api/action-example.js +12 -1
- package/src/server/api/auth.js +3 -0
- package/src/server/api/connection-routes.js +1 -1
- package/src/server/api/console-catalog-routes.js +1 -1
- package/src/server/api/console-oauth-routes.d.ts +3 -1
- package/src/server/api/console-oauth-routes.js +22 -9
- package/src/server/api/oauth-completion-page.d.ts +57 -0
- package/src/server/api/oauth-completion-page.js +135 -10
- package/src/server/api/openapi.d.ts +5 -0
- package/src/server/api/openapi.js +62 -2
- package/src/server/api/pattern-example.js +35 -1
- package/src/server/api/runtime-api.d.ts +2 -1
- package/src/server/api/runtime-app-routes.js +1 -1
- package/src/server/api/runtime-execution-routes.js +2 -1
- package/src/server/api/trigger-routes.js +1 -1
- package/src/server/connect-app.d.ts +4 -0
- package/src/server/connect-app.js +15 -1
- package/src/server/connect-server.d.ts +6 -0
- package/src/server/connect-server.js +114 -4
- package/src/server/connector-runtime.d.ts +6 -8
- package/src/server/connector-runtime.js +8 -28
- package/src/server/proxy/proxy-runner.js +1 -1
- package/src/server/slack-event-verification.d.ts +37 -0
- package/src/server/slack-event-verification.js +91 -0
- package/src/server/storage/connection-request-store.d.ts +1 -1
- package/src/server/storage/connection-store.d.ts +1 -1
- package/src/server/storage/postgres/runtime-store.d.ts +1 -1
- package/src/server/storage/runtime-database.d.ts +1 -1
- package/src/server/storage/saas-project-store.d.ts +1 -1
- package/src/triggers/common/integration.d.ts +15 -3
- package/src/triggers/common/integration.js +5 -0
- package/src/triggers/common/proxy.d.ts +7 -0
- package/src/triggers/maintenance.d.ts +2 -0
- package/src/triggers/maintenance.js +2 -1
- package/src/triggers/managed-webhook.d.ts +13 -0
- package/src/triggers/managed-webhook.js +48 -0
- package/src/triggers/request.d.ts +5 -1
- package/src/triggers/request.js +2 -0
- package/src/triggers/resources.d.ts +8 -2
- package/src/triggers/resources.js +31 -0
- package/src/triggers/signature.d.ts +3 -3
- package/src/triggers/signature.js +4 -6
- package/src/triggers/sources/configuration-schema.d.ts +5 -0
- package/src/triggers/sources/configuration-schema.js +118 -0
- package/src/triggers/sources/configuration.d.ts +115 -0
- package/src/triggers/sources/configuration.js +1 -0
- package/src/triggers/sources/definition.d.ts +61 -0
- package/src/triggers/sources/definition.js +3 -0
- package/src/triggers/sources/feishu-demands.d.ts +6 -0
- package/src/triggers/sources/feishu-demands.js +24 -0
- package/src/triggers/sources/feishu-events.d.ts +19 -0
- package/src/triggers/sources/feishu-events.js +108 -0
- package/src/triggers/sources/feishu.d.ts +3 -0
- package/src/triggers/sources/feishu.js +85 -0
- package/src/triggers/sources/fireflies.d.ts +3 -0
- package/src/triggers/sources/fireflies.js +100 -0
- package/src/triggers/sources/intercom.d.ts +3 -0
- package/src/triggers/sources/intercom.js +86 -0
- package/src/triggers/sources/jira.d.ts +3 -0
- package/src/triggers/sources/jira.js +120 -0
- package/src/triggers/sources/operation.d.ts +42 -0
- package/src/triggers/sources/operation.js +146 -0
- package/src/triggers/sources/sentry.d.ts +3 -0
- package/src/triggers/sources/sentry.js +125 -0
- package/src/triggers/sources/signature.d.ts +1 -0
- package/src/triggers/sources/signature.js +10 -0
- package/src/triggers/sources/slack-signature.d.ts +10 -0
- package/src/triggers/sources/slack-signature.js +13 -0
- package/src/triggers/sources/slack.d.ts +3 -0
- package/src/triggers/sources/slack.js +125 -0
- package/src/triggers/sources/zoom.d.ts +3 -0
- package/src/triggers/sources/zoom.js +113 -0
- package/src/triggers/trigger-runner.d.ts +2 -0
- package/src/triggers/trigger-runner.js +53 -17
|
@@ -0,0 +1,2434 @@
|
|
|
1
|
+
const querySchema = {
|
|
2
|
+
type: "string",
|
|
3
|
+
maxLength: 500,
|
|
4
|
+
description: "The search query.\n\n**Operators**\n\n- `site:<domain>`: restrict results to a single domain. For multiple domains, use `include_domains` and `exclude_domains`.\n- `-site:<domain>`: exclude a single domain from the results.",
|
|
5
|
+
};
|
|
6
|
+
const excludeDomainsSchema = {
|
|
7
|
+
type: "array",
|
|
8
|
+
maxItems: 1200,
|
|
9
|
+
description: "A list of domains to specifically exclude from the search results. The `-site:` query operator adds to this list. If a domain appears in both `include_domains` and `exclude_domains`, `exclude_domains` takes precedence.",
|
|
10
|
+
items: {
|
|
11
|
+
type: "string",
|
|
12
|
+
maxLength: 60,
|
|
13
|
+
description: "exclude domains item.",
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
const timeBasisSchema = {
|
|
17
|
+
type: "string",
|
|
18
|
+
enum: ["auto", "published", "crawled"],
|
|
19
|
+
description: "Determines which time field is used for time filtering. `published` uses time_published; `crawled` uses time_last_crawled. Results missing this field are excluded when filtering by time.",
|
|
20
|
+
};
|
|
21
|
+
const timeRangeSchema = {
|
|
22
|
+
type: "string",
|
|
23
|
+
enum: ["day", "week", "month", "year", "d", "w", "m", "y"],
|
|
24
|
+
description: "Relative time window counting back from the current time based on `time_basis`. Mutually exclusive with `start_time`/`end_time` — if both are provided, `start_time`/`end_time` take precedence.",
|
|
25
|
+
};
|
|
26
|
+
const languageSchema = {
|
|
27
|
+
type: "array",
|
|
28
|
+
description: "A list of languages to restrict results to, as ISO 639-1 codes. By default, no language filter is applied.",
|
|
29
|
+
items: {
|
|
30
|
+
type: "string",
|
|
31
|
+
enum: ["ar", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt", "ru", "th", "tr", "vi", "zh"],
|
|
32
|
+
description: "language item.",
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
const highlightSchema = {
|
|
36
|
+
type: "object",
|
|
37
|
+
description: "Controls highlight extraction from result pages.",
|
|
38
|
+
properties: {
|
|
39
|
+
enable: {
|
|
40
|
+
type: "boolean",
|
|
41
|
+
description: "If true, returns query-relevant highlight in each result.",
|
|
42
|
+
},
|
|
43
|
+
max_tokens: {
|
|
44
|
+
type: "integer",
|
|
45
|
+
minimum: 100,
|
|
46
|
+
maximum: 20000,
|
|
47
|
+
description: "Max tokens returned per highlight.",
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
required: [],
|
|
51
|
+
additionalProperties: false,
|
|
52
|
+
};
|
|
53
|
+
const fullContentSchema = {
|
|
54
|
+
type: "object",
|
|
55
|
+
description: "Controls whether to return the full raw content of each result page.",
|
|
56
|
+
properties: {
|
|
57
|
+
enable: {
|
|
58
|
+
type: "boolean",
|
|
59
|
+
description: "If true, returns full_content for each result.",
|
|
60
|
+
},
|
|
61
|
+
max_tokens: {
|
|
62
|
+
type: "integer",
|
|
63
|
+
minimum: 100,
|
|
64
|
+
maximum: 100000,
|
|
65
|
+
description: "Maximum tokens of full content included per result.",
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
required: [],
|
|
69
|
+
additionalProperties: false,
|
|
70
|
+
};
|
|
71
|
+
const timeRangeSchema2 = {
|
|
72
|
+
type: "string",
|
|
73
|
+
enum: ["day", "week", "month", "year", "d", "w", "m", "y"],
|
|
74
|
+
description: "Relative time window counting back from the current time based on `time_basis`. Mutually exclusive with `start_time`/`end_time`: if both are provided, `start_time`/`end_time` take precedence.",
|
|
75
|
+
};
|
|
76
|
+
const cacheControlSchema = {
|
|
77
|
+
type: "object",
|
|
78
|
+
description: "Prompt caching marker. Sets a cache breakpoint so the stable prefix up to this block can be reused.",
|
|
79
|
+
properties: {
|
|
80
|
+
type: {
|
|
81
|
+
type: "string",
|
|
82
|
+
enum: ["ephemeral"],
|
|
83
|
+
description: "The cache control type. Always `ephemeral`.",
|
|
84
|
+
},
|
|
85
|
+
ttl: {
|
|
86
|
+
type: "string",
|
|
87
|
+
enum: ["5m", "1h"],
|
|
88
|
+
description: "Cache lifetime.",
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
required: ["type"],
|
|
92
|
+
additionalProperties: false,
|
|
93
|
+
};
|
|
94
|
+
const contentItemSchema = {
|
|
95
|
+
type: "object",
|
|
96
|
+
description: "A content block within a message.",
|
|
97
|
+
properties: {
|
|
98
|
+
type: {
|
|
99
|
+
type: "string",
|
|
100
|
+
enum: ["text", "image", "image_url"],
|
|
101
|
+
description: "The type of content block.",
|
|
102
|
+
},
|
|
103
|
+
text: {
|
|
104
|
+
type: "string",
|
|
105
|
+
description: "The text content. Required when `type` is `text`.",
|
|
106
|
+
},
|
|
107
|
+
image: {
|
|
108
|
+
type: "string",
|
|
109
|
+
description: "Base64-encoded image. Required when `type` is `image`.",
|
|
110
|
+
},
|
|
111
|
+
image_url: {
|
|
112
|
+
type: "object",
|
|
113
|
+
description: "Image URL object. Required when `type` is `image_url`.",
|
|
114
|
+
properties: {
|
|
115
|
+
url: {
|
|
116
|
+
type: "string",
|
|
117
|
+
description: "The URL of the image.",
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
required: ["url"],
|
|
121
|
+
additionalProperties: false,
|
|
122
|
+
},
|
|
123
|
+
cache_control: cacheControlSchema,
|
|
124
|
+
},
|
|
125
|
+
required: ["type"],
|
|
126
|
+
additionalProperties: false,
|
|
127
|
+
};
|
|
128
|
+
const contentSchema2 = {
|
|
129
|
+
type: "array",
|
|
130
|
+
description: "content.",
|
|
131
|
+
items: contentItemSchema,
|
|
132
|
+
};
|
|
133
|
+
const contentSchema = {
|
|
134
|
+
description: "The system prompt content. A plain string or an array of content blocks.",
|
|
135
|
+
oneOf: [
|
|
136
|
+
{
|
|
137
|
+
type: "string",
|
|
138
|
+
description: "content.",
|
|
139
|
+
},
|
|
140
|
+
contentSchema2,
|
|
141
|
+
],
|
|
142
|
+
};
|
|
143
|
+
const messagesItemSchema2 = {
|
|
144
|
+
type: "object",
|
|
145
|
+
description: "messages item.",
|
|
146
|
+
properties: {
|
|
147
|
+
role: {
|
|
148
|
+
type: "string",
|
|
149
|
+
enum: ["system"],
|
|
150
|
+
description: "The role of the message author. Always `system`.",
|
|
151
|
+
},
|
|
152
|
+
content: contentSchema,
|
|
153
|
+
},
|
|
154
|
+
required: ["role", "content"],
|
|
155
|
+
additionalProperties: false,
|
|
156
|
+
};
|
|
157
|
+
const contentSchema3 = {
|
|
158
|
+
description: "The content. A plain string or an array of content blocks.",
|
|
159
|
+
oneOf: [
|
|
160
|
+
{
|
|
161
|
+
type: "string",
|
|
162
|
+
description: "content.",
|
|
163
|
+
},
|
|
164
|
+
contentSchema2,
|
|
165
|
+
],
|
|
166
|
+
};
|
|
167
|
+
const messagesItemSchema3 = {
|
|
168
|
+
type: "object",
|
|
169
|
+
description: "A developer message. The OpenAI-protocol equivalent of `system` (sent by newer OpenAI SDKs); handled as `system`.",
|
|
170
|
+
properties: {
|
|
171
|
+
role: {
|
|
172
|
+
type: "string",
|
|
173
|
+
enum: ["developer"],
|
|
174
|
+
description: "The role of the message author. Always `developer`.",
|
|
175
|
+
},
|
|
176
|
+
content: contentSchema3,
|
|
177
|
+
},
|
|
178
|
+
required: ["role", "content"],
|
|
179
|
+
additionalProperties: false,
|
|
180
|
+
};
|
|
181
|
+
const contentSchema4 = {
|
|
182
|
+
description: "The content of the message. A plain string or an array of content blocks.",
|
|
183
|
+
oneOf: [
|
|
184
|
+
{
|
|
185
|
+
type: "string",
|
|
186
|
+
description: "content.",
|
|
187
|
+
},
|
|
188
|
+
contentSchema2,
|
|
189
|
+
],
|
|
190
|
+
};
|
|
191
|
+
const messagesItemSchema4 = {
|
|
192
|
+
type: "object",
|
|
193
|
+
description: "messages item.",
|
|
194
|
+
properties: {
|
|
195
|
+
role: {
|
|
196
|
+
type: "string",
|
|
197
|
+
enum: ["user"],
|
|
198
|
+
description: "The role of the message author. Always `user`.",
|
|
199
|
+
},
|
|
200
|
+
content: contentSchema4,
|
|
201
|
+
},
|
|
202
|
+
required: ["role", "content"],
|
|
203
|
+
additionalProperties: false,
|
|
204
|
+
};
|
|
205
|
+
const functionSchema = {
|
|
206
|
+
type: "object",
|
|
207
|
+
description: "The function invocation details within a tool call.",
|
|
208
|
+
properties: {
|
|
209
|
+
name: {
|
|
210
|
+
type: "string",
|
|
211
|
+
description: "The name of the function to call.",
|
|
212
|
+
},
|
|
213
|
+
arguments: {
|
|
214
|
+
type: "string",
|
|
215
|
+
description: "The arguments to the function, as a JSON string generated by the model.",
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
required: ["name", "arguments"],
|
|
219
|
+
additionalProperties: false,
|
|
220
|
+
};
|
|
221
|
+
const toolCallsItemSchema = {
|
|
222
|
+
type: "object",
|
|
223
|
+
description: "A custom function call generated by the model.",
|
|
224
|
+
properties: {
|
|
225
|
+
index: {
|
|
226
|
+
type: "integer",
|
|
227
|
+
description: "The index of this tool call in the array.",
|
|
228
|
+
},
|
|
229
|
+
id: {
|
|
230
|
+
type: "string",
|
|
231
|
+
description: "A unique identifier for this tool call. Referenced by the corresponding `tool` message's `tool_call_id`.",
|
|
232
|
+
},
|
|
233
|
+
type: {
|
|
234
|
+
type: "string",
|
|
235
|
+
enum: ["function"],
|
|
236
|
+
description: "The type of tool call. Always `function`.",
|
|
237
|
+
},
|
|
238
|
+
function: functionSchema,
|
|
239
|
+
thought_signature: {
|
|
240
|
+
type: "string",
|
|
241
|
+
description: "Encrypted reasoning state, replayed verbatim. Required when the request ends with a `tool` message.",
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
required: ["id", "type", "function"],
|
|
245
|
+
additionalProperties: false,
|
|
246
|
+
};
|
|
247
|
+
const toolCallsSchema = {
|
|
248
|
+
type: "array",
|
|
249
|
+
description: "Tool calls generated by the model in a previous turn, replayed verbatim. Only valid when `role` is `assistant`.",
|
|
250
|
+
items: toolCallsItemSchema,
|
|
251
|
+
};
|
|
252
|
+
const messagesItemSchema5 = {
|
|
253
|
+
type: "object",
|
|
254
|
+
description: "messages item.",
|
|
255
|
+
properties: {
|
|
256
|
+
role: {
|
|
257
|
+
type: "string",
|
|
258
|
+
enum: ["assistant"],
|
|
259
|
+
description: "The role of the message author. Always `assistant`.",
|
|
260
|
+
},
|
|
261
|
+
content: {
|
|
262
|
+
type: ["string", "null"],
|
|
263
|
+
description: "The assistant's text content. May be `null` or omitted when the assistant only produces tool calls.",
|
|
264
|
+
},
|
|
265
|
+
tool_calls: toolCallsSchema,
|
|
266
|
+
},
|
|
267
|
+
required: ["role"],
|
|
268
|
+
additionalProperties: false,
|
|
269
|
+
};
|
|
270
|
+
const messagesItemSchema6 = {
|
|
271
|
+
type: "object",
|
|
272
|
+
description: "messages item.",
|
|
273
|
+
properties: {
|
|
274
|
+
role: {
|
|
275
|
+
type: "string",
|
|
276
|
+
enum: ["tool"],
|
|
277
|
+
description: "The role of the message author. Always `tool`.",
|
|
278
|
+
},
|
|
279
|
+
tool_call_id: {
|
|
280
|
+
type: "string",
|
|
281
|
+
description: "The ID of the tool call this message responds to.",
|
|
282
|
+
},
|
|
283
|
+
content: {
|
|
284
|
+
type: "string",
|
|
285
|
+
description: "The tool output, typically a JSON string with the function result.",
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
required: ["role", "tool_call_id", "content"],
|
|
289
|
+
additionalProperties: false,
|
|
290
|
+
};
|
|
291
|
+
const messagesItemSchema = {
|
|
292
|
+
description: "messages item.",
|
|
293
|
+
oneOf: [messagesItemSchema2, messagesItemSchema3, messagesItemSchema4, messagesItemSchema5, messagesItemSchema6],
|
|
294
|
+
};
|
|
295
|
+
const parametersSchema = {
|
|
296
|
+
type: "object",
|
|
297
|
+
description: "Broad search behavior configuration. Optional.",
|
|
298
|
+
properties: {
|
|
299
|
+
max_queries: {
|
|
300
|
+
type: "integer",
|
|
301
|
+
minimum: 1,
|
|
302
|
+
maximum: 30,
|
|
303
|
+
description: "Upper bound on the number of sub-queries generated.",
|
|
304
|
+
},
|
|
305
|
+
count: {
|
|
306
|
+
type: "integer",
|
|
307
|
+
minimum: 1,
|
|
308
|
+
maximum: 100,
|
|
309
|
+
description: "Number of results to return.",
|
|
310
|
+
},
|
|
311
|
+
include_domains: {
|
|
312
|
+
type: "array",
|
|
313
|
+
maxItems: 1200,
|
|
314
|
+
description: "A list of domains to specifically include in the search results. The `site:` query operator adds to this list.",
|
|
315
|
+
items: {
|
|
316
|
+
type: "string",
|
|
317
|
+
maxLength: 60,
|
|
318
|
+
description: "include domains item.",
|
|
319
|
+
},
|
|
320
|
+
},
|
|
321
|
+
exclude_domains: excludeDomainsSchema,
|
|
322
|
+
include_text: {
|
|
323
|
+
type: "array",
|
|
324
|
+
maxItems: 5,
|
|
325
|
+
description: "Strings that must appear in the result page text.",
|
|
326
|
+
items: {
|
|
327
|
+
type: "string",
|
|
328
|
+
maxLength: 30,
|
|
329
|
+
description: "include text item.",
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
exclude_text: {
|
|
333
|
+
type: "array",
|
|
334
|
+
maxItems: 5,
|
|
335
|
+
description: "Strings that must not appear in the result page text.",
|
|
336
|
+
items: {
|
|
337
|
+
type: "string",
|
|
338
|
+
maxLength: 30,
|
|
339
|
+
description: "exclude text item.",
|
|
340
|
+
},
|
|
341
|
+
},
|
|
342
|
+
time_basis: timeBasisSchema,
|
|
343
|
+
time_range: timeRangeSchema,
|
|
344
|
+
start_time: {
|
|
345
|
+
type: "string",
|
|
346
|
+
format: "date-time",
|
|
347
|
+
description: "Start time for filtering results. ISO 8601 format.",
|
|
348
|
+
},
|
|
349
|
+
end_time: {
|
|
350
|
+
type: "string",
|
|
351
|
+
format: "date-time",
|
|
352
|
+
description: "End time for filtering results. ISO 8601 format.",
|
|
353
|
+
},
|
|
354
|
+
language: languageSchema,
|
|
355
|
+
highlight: highlightSchema,
|
|
356
|
+
full_content: fullContentSchema,
|
|
357
|
+
format: {
|
|
358
|
+
type: "string",
|
|
359
|
+
enum: ["markdown", "text"],
|
|
360
|
+
description: "Controls the formatting of highlight outputs.",
|
|
361
|
+
},
|
|
362
|
+
safesearch: {
|
|
363
|
+
type: "string",
|
|
364
|
+
enum: ["off", "strict"],
|
|
365
|
+
description: "Controls filtering of explicit/adult content. `off` disables filtering; `strict` drops all adult content.",
|
|
366
|
+
},
|
|
367
|
+
include_images: {
|
|
368
|
+
type: "boolean",
|
|
369
|
+
description: "Whether to include images in each result.",
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
required: [],
|
|
373
|
+
additionalProperties: false,
|
|
374
|
+
};
|
|
375
|
+
const parametersSchema2 = {
|
|
376
|
+
type: "object",
|
|
377
|
+
description: "Search behavior configuration. Optional.",
|
|
378
|
+
properties: {
|
|
379
|
+
max_searches: {
|
|
380
|
+
type: "integer",
|
|
381
|
+
description: "Maximum number of searches allowed in a single request.",
|
|
382
|
+
},
|
|
383
|
+
count: {
|
|
384
|
+
type: "integer",
|
|
385
|
+
minimum: 1,
|
|
386
|
+
maximum: 100,
|
|
387
|
+
description: "Number of results to return.",
|
|
388
|
+
},
|
|
389
|
+
include_domains: {
|
|
390
|
+
type: "array",
|
|
391
|
+
maxItems: 1200,
|
|
392
|
+
description: "A list of domains to specifically include in the search results. The `site:` query operator adds to this list.",
|
|
393
|
+
items: {
|
|
394
|
+
type: "string",
|
|
395
|
+
maxLength: 60,
|
|
396
|
+
description: "include domains item.",
|
|
397
|
+
},
|
|
398
|
+
},
|
|
399
|
+
exclude_domains: excludeDomainsSchema,
|
|
400
|
+
include_text: {
|
|
401
|
+
type: "array",
|
|
402
|
+
maxItems: 5,
|
|
403
|
+
description: "Strings that must appear in the result page text.",
|
|
404
|
+
items: {
|
|
405
|
+
type: "string",
|
|
406
|
+
maxLength: 30,
|
|
407
|
+
description: "include text item.",
|
|
408
|
+
},
|
|
409
|
+
},
|
|
410
|
+
exclude_text: {
|
|
411
|
+
type: "array",
|
|
412
|
+
maxItems: 5,
|
|
413
|
+
description: "Strings that must not appear in the result page text.",
|
|
414
|
+
items: {
|
|
415
|
+
type: "string",
|
|
416
|
+
maxLength: 30,
|
|
417
|
+
description: "exclude text item.",
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
time_basis: timeBasisSchema,
|
|
421
|
+
time_range: timeRangeSchema,
|
|
422
|
+
start_time: {
|
|
423
|
+
type: "string",
|
|
424
|
+
format: "date-time",
|
|
425
|
+
description: "Start time for filtering results. ISO 8601 format.",
|
|
426
|
+
},
|
|
427
|
+
end_time: {
|
|
428
|
+
type: "string",
|
|
429
|
+
format: "date-time",
|
|
430
|
+
description: "End time for filtering results. ISO 8601 format.",
|
|
431
|
+
},
|
|
432
|
+
language: languageSchema,
|
|
433
|
+
highlight: highlightSchema,
|
|
434
|
+
full_content: fullContentSchema,
|
|
435
|
+
format: {
|
|
436
|
+
type: "string",
|
|
437
|
+
enum: ["markdown", "text"],
|
|
438
|
+
description: "Controls the formatting of highlight outputs.",
|
|
439
|
+
},
|
|
440
|
+
safesearch: {
|
|
441
|
+
type: "string",
|
|
442
|
+
enum: ["off", "strict"],
|
|
443
|
+
description: "Controls filtering of explicit/adult content. `off` disables filtering; `strict` drops all adult content.",
|
|
444
|
+
},
|
|
445
|
+
include_images: {
|
|
446
|
+
type: "boolean",
|
|
447
|
+
description: "Whether to include images in each result.",
|
|
448
|
+
},
|
|
449
|
+
},
|
|
450
|
+
required: [],
|
|
451
|
+
additionalProperties: false,
|
|
452
|
+
};
|
|
453
|
+
export const octenInputs = {
|
|
454
|
+
search: {
|
|
455
|
+
type: "object",
|
|
456
|
+
description: "search parameters.",
|
|
457
|
+
properties: {
|
|
458
|
+
query: querySchema,
|
|
459
|
+
count: {
|
|
460
|
+
type: "integer",
|
|
461
|
+
minimum: 1,
|
|
462
|
+
maximum: 100,
|
|
463
|
+
description: "Number of results to return.",
|
|
464
|
+
},
|
|
465
|
+
include_domains: {
|
|
466
|
+
type: "array",
|
|
467
|
+
maxItems: 1200,
|
|
468
|
+
description: "A list of domains to specifically include in the search results. The `site:` query operator adds to this list.",
|
|
469
|
+
items: {
|
|
470
|
+
type: "string",
|
|
471
|
+
maxLength: 60,
|
|
472
|
+
description: "include domains item.",
|
|
473
|
+
},
|
|
474
|
+
},
|
|
475
|
+
exclude_domains: excludeDomainsSchema,
|
|
476
|
+
include_text: {
|
|
477
|
+
type: "array",
|
|
478
|
+
maxItems: 5,
|
|
479
|
+
description: "Strings that must appear in the result page text.",
|
|
480
|
+
items: {
|
|
481
|
+
type: "string",
|
|
482
|
+
maxLength: 30,
|
|
483
|
+
description: "include text item.",
|
|
484
|
+
},
|
|
485
|
+
},
|
|
486
|
+
exclude_text: {
|
|
487
|
+
type: "array",
|
|
488
|
+
maxItems: 5,
|
|
489
|
+
description: "Strings that must not appear in the result page text.",
|
|
490
|
+
items: {
|
|
491
|
+
type: "string",
|
|
492
|
+
maxLength: 30,
|
|
493
|
+
description: "exclude text item.",
|
|
494
|
+
},
|
|
495
|
+
},
|
|
496
|
+
time_basis: timeBasisSchema,
|
|
497
|
+
time_range: timeRangeSchema,
|
|
498
|
+
start_time: {
|
|
499
|
+
type: "string",
|
|
500
|
+
format: "date-time",
|
|
501
|
+
description: "Start time for filtering results. ISO 8601 format.",
|
|
502
|
+
},
|
|
503
|
+
end_time: {
|
|
504
|
+
type: "string",
|
|
505
|
+
format: "date-time",
|
|
506
|
+
description: "End time for filtering results. ISO 8601 format.",
|
|
507
|
+
},
|
|
508
|
+
language: languageSchema,
|
|
509
|
+
highlight: highlightSchema,
|
|
510
|
+
full_content: fullContentSchema,
|
|
511
|
+
format: {
|
|
512
|
+
type: "string",
|
|
513
|
+
enum: ["markdown", "text"],
|
|
514
|
+
description: "Controls the formatting of highlight outputs.",
|
|
515
|
+
},
|
|
516
|
+
safesearch: {
|
|
517
|
+
type: "string",
|
|
518
|
+
enum: ["off", "strict"],
|
|
519
|
+
description: "Controls filtering of explicit/adult content. `off` disables filtering; `strict` drops all adult content.",
|
|
520
|
+
},
|
|
521
|
+
include_images: {
|
|
522
|
+
type: "boolean",
|
|
523
|
+
description: "Whether to include images in each result.",
|
|
524
|
+
},
|
|
525
|
+
},
|
|
526
|
+
required: ["query"],
|
|
527
|
+
additionalProperties: false,
|
|
528
|
+
},
|
|
529
|
+
search_news: {
|
|
530
|
+
type: "object",
|
|
531
|
+
description: "search news parameters.",
|
|
532
|
+
properties: {
|
|
533
|
+
query: querySchema,
|
|
534
|
+
count: {
|
|
535
|
+
type: "integer",
|
|
536
|
+
minimum: 1,
|
|
537
|
+
maximum: 100,
|
|
538
|
+
description: "Number of results to return.",
|
|
539
|
+
},
|
|
540
|
+
include_domains: {
|
|
541
|
+
type: "array",
|
|
542
|
+
maxItems: 1200,
|
|
543
|
+
description: "A list of domains to specifically include in the search results. The `site:` query operator adds to this list. Applies to `results` only; subject grouping does not support domain filtering.",
|
|
544
|
+
items: {
|
|
545
|
+
type: "string",
|
|
546
|
+
maxLength: 60,
|
|
547
|
+
description: "include domains item.",
|
|
548
|
+
},
|
|
549
|
+
},
|
|
550
|
+
exclude_domains: {
|
|
551
|
+
type: "array",
|
|
552
|
+
maxItems: 1200,
|
|
553
|
+
description: "A list of domains to specifically exclude from the search results. The `-site:` query operator adds to this list. If a domain appears in both `include_domains` and `exclude_domains`, `exclude_domains` takes precedence. Applies to `results` only; subject grouping does not support domain filtering.",
|
|
554
|
+
items: {
|
|
555
|
+
type: "string",
|
|
556
|
+
maxLength: 60,
|
|
557
|
+
description: "exclude domains item.",
|
|
558
|
+
},
|
|
559
|
+
},
|
|
560
|
+
time_basis: timeBasisSchema,
|
|
561
|
+
time_range: timeRangeSchema2,
|
|
562
|
+
start_time: {
|
|
563
|
+
type: "string",
|
|
564
|
+
format: "date-time",
|
|
565
|
+
description: "Start time for filtering results. ISO 8601 format.",
|
|
566
|
+
},
|
|
567
|
+
end_time: {
|
|
568
|
+
type: "string",
|
|
569
|
+
format: "date-time",
|
|
570
|
+
description: "End time for filtering results. ISO 8601 format.",
|
|
571
|
+
},
|
|
572
|
+
language: {
|
|
573
|
+
type: "array",
|
|
574
|
+
description: "A list of languages to restrict results to, as ISO 639-1 codes. Applies to both `results` and `subjects`.",
|
|
575
|
+
items: {
|
|
576
|
+
type: "string",
|
|
577
|
+
enum: [
|
|
578
|
+
"ar",
|
|
579
|
+
"de",
|
|
580
|
+
"en",
|
|
581
|
+
"es",
|
|
582
|
+
"fr",
|
|
583
|
+
"hi",
|
|
584
|
+
"id",
|
|
585
|
+
"it",
|
|
586
|
+
"ja",
|
|
587
|
+
"ko",
|
|
588
|
+
"nl",
|
|
589
|
+
"pl",
|
|
590
|
+
"pt",
|
|
591
|
+
"ru",
|
|
592
|
+
"th",
|
|
593
|
+
"tr",
|
|
594
|
+
"vi",
|
|
595
|
+
"zh",
|
|
596
|
+
],
|
|
597
|
+
description: "language item.",
|
|
598
|
+
},
|
|
599
|
+
},
|
|
600
|
+
highlight: highlightSchema,
|
|
601
|
+
full_content: fullContentSchema,
|
|
602
|
+
subjects: {
|
|
603
|
+
type: "object",
|
|
604
|
+
description: "Controls subject grouping, which clusters related articles into events.",
|
|
605
|
+
properties: {
|
|
606
|
+
enable: {
|
|
607
|
+
type: "boolean",
|
|
608
|
+
description: "If true, returns data.subjects.",
|
|
609
|
+
},
|
|
610
|
+
count: {
|
|
611
|
+
type: "integer",
|
|
612
|
+
minimum: 1,
|
|
613
|
+
maximum: 5,
|
|
614
|
+
description: "Maximum number of subjects to return.",
|
|
615
|
+
},
|
|
616
|
+
max_sub_news: {
|
|
617
|
+
type: "integer",
|
|
618
|
+
minimum: 1,
|
|
619
|
+
maximum: 20,
|
|
620
|
+
description: "Maximum number of sub-events to return per subject.",
|
|
621
|
+
},
|
|
622
|
+
},
|
|
623
|
+
required: [],
|
|
624
|
+
additionalProperties: false,
|
|
625
|
+
},
|
|
626
|
+
},
|
|
627
|
+
required: ["query"],
|
|
628
|
+
additionalProperties: false,
|
|
629
|
+
},
|
|
630
|
+
search_business: {
|
|
631
|
+
type: "object",
|
|
632
|
+
description: "search business parameters.",
|
|
633
|
+
properties: {
|
|
634
|
+
query: querySchema,
|
|
635
|
+
count: {
|
|
636
|
+
type: "integer",
|
|
637
|
+
minimum: 1,
|
|
638
|
+
maximum: 100,
|
|
639
|
+
description: "Number of results to return.",
|
|
640
|
+
},
|
|
641
|
+
include_domains: {
|
|
642
|
+
type: "array",
|
|
643
|
+
maxItems: 1200,
|
|
644
|
+
description: "A list of domains to specifically include in the search results. The `site:` query operator adds to this list. Applies to `results` only; entity cards do not support domain filtering.",
|
|
645
|
+
items: {
|
|
646
|
+
type: "string",
|
|
647
|
+
maxLength: 60,
|
|
648
|
+
description: "include domains item.",
|
|
649
|
+
},
|
|
650
|
+
},
|
|
651
|
+
exclude_domains: {
|
|
652
|
+
type: "array",
|
|
653
|
+
maxItems: 1200,
|
|
654
|
+
description: "A list of domains to specifically exclude from the search results. The `-site:` query operator adds to this list. If a domain appears in both `include_domains` and `exclude_domains`, `exclude_domains` takes precedence. Applies to `results` only; entity cards do not support domain filtering.",
|
|
655
|
+
items: {
|
|
656
|
+
type: "string",
|
|
657
|
+
maxLength: 60,
|
|
658
|
+
description: "exclude domains item.",
|
|
659
|
+
},
|
|
660
|
+
},
|
|
661
|
+
time_basis: {
|
|
662
|
+
type: "string",
|
|
663
|
+
enum: ["auto", "published", "crawled"],
|
|
664
|
+
description: "Determines which time field is used for time filtering. `published` uses time_published; `crawled` uses time_last_crawled. Results missing this field are excluded when filtering by time. Applies to `results` only; entity cards do not support time filtering.",
|
|
665
|
+
},
|
|
666
|
+
time_range: timeRangeSchema2,
|
|
667
|
+
start_time: {
|
|
668
|
+
type: "string",
|
|
669
|
+
format: "date-time",
|
|
670
|
+
description: "Start time for filtering results. ISO 8601 format.",
|
|
671
|
+
},
|
|
672
|
+
end_time: {
|
|
673
|
+
type: "string",
|
|
674
|
+
format: "date-time",
|
|
675
|
+
description: "End time for filtering results. ISO 8601 format.",
|
|
676
|
+
},
|
|
677
|
+
language: {
|
|
678
|
+
type: "array",
|
|
679
|
+
description: "A list of languages to restrict results to, as ISO 639-1 codes. Applies to `results` only; entity cards do not support language filtering.",
|
|
680
|
+
items: {
|
|
681
|
+
type: "string",
|
|
682
|
+
enum: [
|
|
683
|
+
"ar",
|
|
684
|
+
"de",
|
|
685
|
+
"en",
|
|
686
|
+
"es",
|
|
687
|
+
"fr",
|
|
688
|
+
"hi",
|
|
689
|
+
"id",
|
|
690
|
+
"it",
|
|
691
|
+
"ja",
|
|
692
|
+
"ko",
|
|
693
|
+
"nl",
|
|
694
|
+
"pl",
|
|
695
|
+
"pt",
|
|
696
|
+
"ru",
|
|
697
|
+
"th",
|
|
698
|
+
"tr",
|
|
699
|
+
"vi",
|
|
700
|
+
"zh",
|
|
701
|
+
],
|
|
702
|
+
description: "language item.",
|
|
703
|
+
},
|
|
704
|
+
},
|
|
705
|
+
highlight: highlightSchema,
|
|
706
|
+
full_content: fullContentSchema,
|
|
707
|
+
entities: {
|
|
708
|
+
type: "object",
|
|
709
|
+
description: "Controls the entity cards returned for companies and people.",
|
|
710
|
+
properties: {
|
|
711
|
+
enable: {
|
|
712
|
+
type: "boolean",
|
|
713
|
+
description: "If true, returns data.entities.",
|
|
714
|
+
},
|
|
715
|
+
count: {
|
|
716
|
+
type: "integer",
|
|
717
|
+
minimum: 1,
|
|
718
|
+
maximum: 20,
|
|
719
|
+
description: "Maximum number of entity cards to return.",
|
|
720
|
+
},
|
|
721
|
+
max_activities: {
|
|
722
|
+
type: "integer",
|
|
723
|
+
minimum: 1,
|
|
724
|
+
maximum: 20,
|
|
725
|
+
description: "Maximum number of recent activities to return per entity card.",
|
|
726
|
+
},
|
|
727
|
+
max_news: {
|
|
728
|
+
type: "integer",
|
|
729
|
+
minimum: 1,
|
|
730
|
+
maximum: 20,
|
|
731
|
+
description: "Maximum number of related news items to return per entity card.",
|
|
732
|
+
},
|
|
733
|
+
},
|
|
734
|
+
required: [],
|
|
735
|
+
additionalProperties: false,
|
|
736
|
+
},
|
|
737
|
+
},
|
|
738
|
+
required: ["query"],
|
|
739
|
+
additionalProperties: false,
|
|
740
|
+
},
|
|
741
|
+
search_images: {
|
|
742
|
+
type: "object",
|
|
743
|
+
description: "Request body for the Image Search API.",
|
|
744
|
+
properties: {
|
|
745
|
+
inputs: {
|
|
746
|
+
type: "array",
|
|
747
|
+
minItems: 1,
|
|
748
|
+
maxItems: 1,
|
|
749
|
+
description: "Multimodal input array. Currently only a single input is supported: either one text input or one image input.",
|
|
750
|
+
items: {
|
|
751
|
+
type: "object",
|
|
752
|
+
description: "A single multimodal input. Currently each request accepts exactly one input: either one text input or one image input.",
|
|
753
|
+
properties: {
|
|
754
|
+
type: {
|
|
755
|
+
type: "string",
|
|
756
|
+
enum: ["text", "image"],
|
|
757
|
+
description: "The input type. A single image must be at most 5MB and one of: JPEG, PNG, WEBP, BMP, TIFF, ICO, DIB, ICNS, SGI.",
|
|
758
|
+
},
|
|
759
|
+
url: {
|
|
760
|
+
type: "string",
|
|
761
|
+
description: "Image input as a public URL. For an image input, provide either `url` or `data`, not both.",
|
|
762
|
+
},
|
|
763
|
+
data: {
|
|
764
|
+
type: "string",
|
|
765
|
+
description: "When `type` is `text`: the query content, max 500 characters. When `type` is `image`: base64-encoded image data, at most 5MB after encoding.",
|
|
766
|
+
},
|
|
767
|
+
},
|
|
768
|
+
required: ["type"],
|
|
769
|
+
additionalProperties: false,
|
|
770
|
+
},
|
|
771
|
+
},
|
|
772
|
+
count: {
|
|
773
|
+
type: "integer",
|
|
774
|
+
minimum: 1,
|
|
775
|
+
maximum: 10,
|
|
776
|
+
description: "Number of results to return.",
|
|
777
|
+
},
|
|
778
|
+
include_domains: {
|
|
779
|
+
type: "array",
|
|
780
|
+
description: "Domains to include, matched against each result's `source_page` URL.",
|
|
781
|
+
items: {
|
|
782
|
+
type: "string",
|
|
783
|
+
description: "include domains item.",
|
|
784
|
+
},
|
|
785
|
+
},
|
|
786
|
+
exclude_domains: {
|
|
787
|
+
type: "array",
|
|
788
|
+
description: "Domains to exclude, matched against each result's `source_page` URL.",
|
|
789
|
+
items: {
|
|
790
|
+
type: "string",
|
|
791
|
+
description: "exclude domains item.",
|
|
792
|
+
},
|
|
793
|
+
},
|
|
794
|
+
safesearch: {
|
|
795
|
+
type: "string",
|
|
796
|
+
enum: ["off", "strict"],
|
|
797
|
+
description: "Controls filtering of explicit/adult content. `off` disables filtering; `strict` drops all adult content.",
|
|
798
|
+
},
|
|
799
|
+
},
|
|
800
|
+
required: ["inputs"],
|
|
801
|
+
additionalProperties: false,
|
|
802
|
+
},
|
|
803
|
+
search_videos: {
|
|
804
|
+
type: "object",
|
|
805
|
+
description: "Request body for the Video Search API.",
|
|
806
|
+
properties: {
|
|
807
|
+
inputs: {
|
|
808
|
+
type: "array",
|
|
809
|
+
maxItems: 1,
|
|
810
|
+
description: "Input array carrying a text query (at most 1).",
|
|
811
|
+
items: {
|
|
812
|
+
type: "object",
|
|
813
|
+
description: "A single text input. At most one input per request.",
|
|
814
|
+
properties: {
|
|
815
|
+
type: {
|
|
816
|
+
type: "string",
|
|
817
|
+
enum: ["text"],
|
|
818
|
+
description: "The input type.",
|
|
819
|
+
},
|
|
820
|
+
data: {
|
|
821
|
+
type: "string",
|
|
822
|
+
description: "The query content, max 500 characters.",
|
|
823
|
+
},
|
|
824
|
+
},
|
|
825
|
+
required: ["type"],
|
|
826
|
+
additionalProperties: false,
|
|
827
|
+
},
|
|
828
|
+
},
|
|
829
|
+
count: {
|
|
830
|
+
type: "integer",
|
|
831
|
+
minimum: 1,
|
|
832
|
+
maximum: 10,
|
|
833
|
+
description: "Number of results to return.",
|
|
834
|
+
},
|
|
835
|
+
time_range: {
|
|
836
|
+
type: "string",
|
|
837
|
+
enum: ["day", "week", "month", "year", "d", "w", "m", "y"],
|
|
838
|
+
description: "Relative time window counting back from the current time, filtered by publish time. Mutually exclusive with `start_time`/`end_time` — if both are provided, `start_time`/`end_time` take precedence.",
|
|
839
|
+
},
|
|
840
|
+
start_time: {
|
|
841
|
+
type: "string",
|
|
842
|
+
format: "date-time",
|
|
843
|
+
description: "Start time for filtering results by publish time. ISO 8601 format.",
|
|
844
|
+
},
|
|
845
|
+
end_time: {
|
|
846
|
+
type: "string",
|
|
847
|
+
format: "date-time",
|
|
848
|
+
description: "End time for filtering results by publish time. ISO 8601 format.",
|
|
849
|
+
},
|
|
850
|
+
safesearch: {
|
|
851
|
+
type: "string",
|
|
852
|
+
enum: ["off", "strict"],
|
|
853
|
+
description: "Controls filtering of explicit/adult content. `off` disables filtering; `strict` drops all adult content.",
|
|
854
|
+
},
|
|
855
|
+
},
|
|
856
|
+
required: ["inputs"],
|
|
857
|
+
additionalProperties: false,
|
|
858
|
+
},
|
|
859
|
+
extract: {
|
|
860
|
+
type: "object",
|
|
861
|
+
description: "Request body for the Extract API.",
|
|
862
|
+
properties: {
|
|
863
|
+
urls: {
|
|
864
|
+
type: "array",
|
|
865
|
+
description: "List of URLs to extract content from. Maximum URLs per request: 20. Maximum length per URL: 2048. Failed URLs are not billed.",
|
|
866
|
+
items: {
|
|
867
|
+
type: "string",
|
|
868
|
+
description: "urls item.",
|
|
869
|
+
},
|
|
870
|
+
},
|
|
871
|
+
mode: {
|
|
872
|
+
type: "string",
|
|
873
|
+
enum: ["standard", "advanced", "auto"],
|
|
874
|
+
description: "Processing mode. `standard` prioritizes speed, `advanced` prioritizes success rate on hard-to-reach pages, and `auto` picks one per URL. `advanced` and `auto` can take longer, so raise `timeout` accordingly.",
|
|
875
|
+
},
|
|
876
|
+
query: {
|
|
877
|
+
type: "string",
|
|
878
|
+
maxLength: 500,
|
|
879
|
+
description: "Intent-focused keywords. When provided, returns query-relevant highlights per URL; otherwise returns the complete page content.",
|
|
880
|
+
},
|
|
881
|
+
max_age_seconds: {
|
|
882
|
+
type: "integer",
|
|
883
|
+
minimum: 300,
|
|
884
|
+
maximum: 31536000,
|
|
885
|
+
description: "Maximum age (in seconds) of cached content. URLs whose cached version exceeds this threshold will be re-fetched. Values outside the allowed range are adjusted to the nearest bound.",
|
|
886
|
+
},
|
|
887
|
+
format: {
|
|
888
|
+
type: "string",
|
|
889
|
+
enum: ["markdown", "text"],
|
|
890
|
+
description: "Format of the returned content.",
|
|
891
|
+
},
|
|
892
|
+
timeout: {
|
|
893
|
+
type: "integer",
|
|
894
|
+
minimum: 1,
|
|
895
|
+
maximum: 60,
|
|
896
|
+
description: "Per-URL extraction timeout in seconds. Values outside the allowed range are adjusted to the nearest bound.",
|
|
897
|
+
},
|
|
898
|
+
include_images: {
|
|
899
|
+
type: "boolean",
|
|
900
|
+
description: "Whether to return image URLs detected on the page.",
|
|
901
|
+
},
|
|
902
|
+
include_videos: {
|
|
903
|
+
type: "boolean",
|
|
904
|
+
description: "Whether to return video URLs detected on the page.",
|
|
905
|
+
},
|
|
906
|
+
include_audio: {
|
|
907
|
+
type: "boolean",
|
|
908
|
+
description: "Whether to return audio URLs detected on the page.",
|
|
909
|
+
},
|
|
910
|
+
include_links: {
|
|
911
|
+
type: "object",
|
|
912
|
+
description: "Controls whether to return links detected on the page.",
|
|
913
|
+
properties: {
|
|
914
|
+
scope: {
|
|
915
|
+
type: "string",
|
|
916
|
+
enum: ["prefer_internal", "prefer_external"],
|
|
917
|
+
description: "Which links to prioritize. `prefer_internal` favors links within the page's registered domain; `prefer_external` favors external links. Prioritized links come first, and links of the same kind keep their order on the page.",
|
|
918
|
+
},
|
|
919
|
+
max_links: {
|
|
920
|
+
type: "integer",
|
|
921
|
+
minimum: 1,
|
|
922
|
+
maximum: 1000,
|
|
923
|
+
description: "Maximum number of links to return per URL.",
|
|
924
|
+
},
|
|
925
|
+
},
|
|
926
|
+
required: [],
|
|
927
|
+
additionalProperties: false,
|
|
928
|
+
},
|
|
929
|
+
},
|
|
930
|
+
required: ["urls"],
|
|
931
|
+
additionalProperties: false,
|
|
932
|
+
},
|
|
933
|
+
embed_text: {
|
|
934
|
+
type: "object",
|
|
935
|
+
description: "embed text parameters.",
|
|
936
|
+
properties: {
|
|
937
|
+
input: {
|
|
938
|
+
type: "array",
|
|
939
|
+
maxItems: 1000,
|
|
940
|
+
description: "The text to be converted into embeddings. Maximum characters per element: 10000. Maximum request body size: 2MB",
|
|
941
|
+
items: {
|
|
942
|
+
type: "string",
|
|
943
|
+
description: "input item.",
|
|
944
|
+
maxLength: 10000,
|
|
945
|
+
},
|
|
946
|
+
minItems: 1,
|
|
947
|
+
},
|
|
948
|
+
model: {
|
|
949
|
+
type: "string",
|
|
950
|
+
enum: ["octen-embedding-0.6b", "octen-embedding-4b", "octen-embedding-8b"],
|
|
951
|
+
description: "The embedding model used for this request. `octen-embedding-0.6b` (max dim: 1024) for cost/throughput priority; `octen-embedding-4b` (max dim: 2560) for most applications; `octen-embedding-8b` (max dim: 4096) for accuracy-critical tasks.",
|
|
952
|
+
},
|
|
953
|
+
dimension: {
|
|
954
|
+
type: "integer",
|
|
955
|
+
description: "The dimensionality of the output embedding vectors. Defaults to the model's max dimension (0.6b: 1024, 4b: 2560, 8b: 4096). If set to a value smaller than the model default, the embedding will be truncated to the first N values. Any positive integer ≤ model default dimension is allowed.",
|
|
956
|
+
minimum: 1,
|
|
957
|
+
},
|
|
958
|
+
input_type: {
|
|
959
|
+
type: ["string", "null"],
|
|
960
|
+
enum: ["query", "document"],
|
|
961
|
+
description: 'Specifies whether the input is a query or a document for retrieval. Different values apply different internal prompts: `query` → "Represent the query for retrieving supporting" (prepended and counted in input_tokens); `document` and `null` mean no special prompt is applied.',
|
|
962
|
+
},
|
|
963
|
+
},
|
|
964
|
+
required: ["input"],
|
|
965
|
+
additionalProperties: false,
|
|
966
|
+
},
|
|
967
|
+
embed_multimodal: {
|
|
968
|
+
type: "object",
|
|
969
|
+
description: "embed multimodal parameters.",
|
|
970
|
+
properties: {
|
|
971
|
+
model: {
|
|
972
|
+
type: "string",
|
|
973
|
+
enum: ["octen-vl-embedding", "octen-vl-embedding-large"],
|
|
974
|
+
description: "The multimodal embedding model used for this request.",
|
|
975
|
+
},
|
|
976
|
+
input: {
|
|
977
|
+
type: "object",
|
|
978
|
+
description: "The multimodal content to be vectorized. Supports text, images, videos, and combinations. Maximum total elements per request: 20. Maximum images per request: 5. Maximum videos per request: 1.",
|
|
979
|
+
properties: {
|
|
980
|
+
contents: {
|
|
981
|
+
type: "array",
|
|
982
|
+
maxItems: 20,
|
|
983
|
+
description: "The list of content elements to process.",
|
|
984
|
+
items: {
|
|
985
|
+
type: "object",
|
|
986
|
+
description: "A single content element. Each object should provide exactly one of `text`, `image`, or `video`. For multiple images, include multiple content objects (one image per object).",
|
|
987
|
+
properties: {
|
|
988
|
+
text: {
|
|
989
|
+
type: "string",
|
|
990
|
+
description: "Text input. Maximum 10,000 characters per entry.",
|
|
991
|
+
},
|
|
992
|
+
image: {
|
|
993
|
+
type: "string",
|
|
994
|
+
description: "Image input. Supports a URL or a Base64 string. Maximum 5MB per image. Supported formats: JPEG, PNG, WEBP, BMP, TIFF, ICO, DIB, ICNS, SGI.",
|
|
995
|
+
},
|
|
996
|
+
video: {
|
|
997
|
+
type: "string",
|
|
998
|
+
description: "Video input. URL only. Maximum 50MB per file. Supported formats: MP4, AVI, MOV.",
|
|
999
|
+
},
|
|
1000
|
+
},
|
|
1001
|
+
required: [],
|
|
1002
|
+
additionalProperties: false,
|
|
1003
|
+
},
|
|
1004
|
+
},
|
|
1005
|
+
},
|
|
1006
|
+
required: ["contents"],
|
|
1007
|
+
additionalProperties: false,
|
|
1008
|
+
},
|
|
1009
|
+
enable_fusion: {
|
|
1010
|
+
type: "boolean",
|
|
1011
|
+
description: "Whether to generate a fused embedding. When `true`, all elements in `contents` are fused into a single vector; when `false`, each element produces an independent vector.",
|
|
1012
|
+
},
|
|
1013
|
+
dimension: {
|
|
1014
|
+
type: "integer",
|
|
1015
|
+
description: "The dimensionality of the output embedding vectors. Defaults to the model's max dimension (octen-vl-embedding: 2048, octen-vl-embedding-large: 4096). Any positive integer ≤ the model's max dimension is allowed.",
|
|
1016
|
+
minimum: 1,
|
|
1017
|
+
},
|
|
1018
|
+
fps: {
|
|
1019
|
+
type: "number",
|
|
1020
|
+
minimum: 0,
|
|
1021
|
+
maximum: 1,
|
|
1022
|
+
description: "Frames sampled per second of video. For example, `0.5` samples one frame every two seconds. Lower values sample fewer frames and reduce video token consumption. Each video is sampled to at most 64 frames.",
|
|
1023
|
+
},
|
|
1024
|
+
instruct: {
|
|
1025
|
+
type: "string",
|
|
1026
|
+
description: "Custom task description used to guide the model in understanding the query intent. Its length counts toward `input_tokens` and shares the 10,000-character total limit with `contents`.",
|
|
1027
|
+
},
|
|
1028
|
+
},
|
|
1029
|
+
required: ["model", "input"],
|
|
1030
|
+
additionalProperties: false,
|
|
1031
|
+
},
|
|
1032
|
+
chat: {
|
|
1033
|
+
type: "object",
|
|
1034
|
+
description: "Request body for the Chat Completions API. Some parameters apply only to certain models; unsupported parameters are ignored for the selected model.",
|
|
1035
|
+
properties: {
|
|
1036
|
+
model: {
|
|
1037
|
+
type: "string",
|
|
1038
|
+
enum: [
|
|
1039
|
+
"openai/gpt-6.1-sol",
|
|
1040
|
+
"openai/gpt-6-astra",
|
|
1041
|
+
"openai/gpt-5.6-sol",
|
|
1042
|
+
"openai/gpt-5.6-terra",
|
|
1043
|
+
"openai/gpt-5.6-luna",
|
|
1044
|
+
"openai/gpt-5.4",
|
|
1045
|
+
"anthropic/claude-fable-5.1",
|
|
1046
|
+
"anthropic/claude-fable-5",
|
|
1047
|
+
"anthropic/claude-opus-5.5",
|
|
1048
|
+
"anthropic/claude-opus-5",
|
|
1049
|
+
"anthropic/claude-opus-4.8",
|
|
1050
|
+
"anthropic/claude-opus-4.6",
|
|
1051
|
+
"anthropic/claude-sonnet-5.5",
|
|
1052
|
+
"anthropic/claude-sonnet-5",
|
|
1053
|
+
"anthropic/claude-sonnet-4.6",
|
|
1054
|
+
"anthropic/claude-haiku-5.5",
|
|
1055
|
+
"anthropic/claude-haiku-4.5",
|
|
1056
|
+
"google/gemini-4-argon",
|
|
1057
|
+
"google/gemini-3.8-flash",
|
|
1058
|
+
"google/gemini-3.5-flash",
|
|
1059
|
+
"google/gemini-3.5-flash-lite",
|
|
1060
|
+
"google/gemini-3.1-pro-preview",
|
|
1061
|
+
"google/gemini-3.1-flash-lite",
|
|
1062
|
+
"google/gemini-3-flash-preview",
|
|
1063
|
+
"moonshotai/kimi-k3",
|
|
1064
|
+
"moonshotai/kimi-k2.6",
|
|
1065
|
+
"moonshotai/kimi-k2.5",
|
|
1066
|
+
"minimax/minimax-m2.5",
|
|
1067
|
+
"qwen/qwen3.6-plus",
|
|
1068
|
+
"deepseek/deepseek-v4-pro",
|
|
1069
|
+
"deepseek/deepseek-v4-flash-0731",
|
|
1070
|
+
],
|
|
1071
|
+
description: "The model to use for chat completion.",
|
|
1072
|
+
},
|
|
1073
|
+
messages: {
|
|
1074
|
+
type: "array",
|
|
1075
|
+
description: "The conversation so far. System prompt plus user and assistant messages in chronological order.",
|
|
1076
|
+
items: messagesItemSchema,
|
|
1077
|
+
},
|
|
1078
|
+
tools: {
|
|
1079
|
+
type: "array",
|
|
1080
|
+
description: "tools.",
|
|
1081
|
+
items: {
|
|
1082
|
+
description: "A tool definition. One of a custom `function` tool, the built-in `octen_broad_search` tool, or the `octen_search` tool.",
|
|
1083
|
+
oneOf: [
|
|
1084
|
+
{
|
|
1085
|
+
type: "object",
|
|
1086
|
+
description: "A custom function tool, executed by the caller.",
|
|
1087
|
+
properties: {
|
|
1088
|
+
type: {
|
|
1089
|
+
type: "string",
|
|
1090
|
+
enum: ["function"],
|
|
1091
|
+
description: "The type of tool. Always `function` for a custom tool.",
|
|
1092
|
+
},
|
|
1093
|
+
function: {
|
|
1094
|
+
type: "object",
|
|
1095
|
+
description: "The function definition.",
|
|
1096
|
+
properties: {
|
|
1097
|
+
name: {
|
|
1098
|
+
type: "string",
|
|
1099
|
+
description: "The name of the function.",
|
|
1100
|
+
},
|
|
1101
|
+
description: {
|
|
1102
|
+
type: "string",
|
|
1103
|
+
description: "A description of what the function does.",
|
|
1104
|
+
},
|
|
1105
|
+
parameters: {
|
|
1106
|
+
type: "object",
|
|
1107
|
+
description: "The function's parameter definition in JSON Schema format.",
|
|
1108
|
+
additionalProperties: true,
|
|
1109
|
+
},
|
|
1110
|
+
strict: {
|
|
1111
|
+
type: "boolean",
|
|
1112
|
+
description: "Whether to enable strict mode. When enabled, generated arguments strictly conform to `parameters`.",
|
|
1113
|
+
},
|
|
1114
|
+
},
|
|
1115
|
+
required: ["name"],
|
|
1116
|
+
additionalProperties: false,
|
|
1117
|
+
},
|
|
1118
|
+
},
|
|
1119
|
+
required: ["type", "function"],
|
|
1120
|
+
additionalProperties: false,
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
type: "object",
|
|
1124
|
+
description: "The built-in `octen_broad_search` server tool, executed by Octen.",
|
|
1125
|
+
properties: {
|
|
1126
|
+
type: {
|
|
1127
|
+
type: "string",
|
|
1128
|
+
enum: ["octen_broad_search"],
|
|
1129
|
+
description: "The type of tool. Always `octen_broad_search`.",
|
|
1130
|
+
},
|
|
1131
|
+
parameters: parametersSchema,
|
|
1132
|
+
},
|
|
1133
|
+
required: ["type"],
|
|
1134
|
+
additionalProperties: false,
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
type: "object",
|
|
1138
|
+
description: "The built-in `octen_search` server tool, executed by Octen.",
|
|
1139
|
+
properties: {
|
|
1140
|
+
type: {
|
|
1141
|
+
type: "string",
|
|
1142
|
+
enum: ["octen_search"],
|
|
1143
|
+
description: "The type of tool. Always `octen_search`.",
|
|
1144
|
+
},
|
|
1145
|
+
parameters: parametersSchema2,
|
|
1146
|
+
},
|
|
1147
|
+
required: ["type"],
|
|
1148
|
+
additionalProperties: false,
|
|
1149
|
+
},
|
|
1150
|
+
],
|
|
1151
|
+
},
|
|
1152
|
+
},
|
|
1153
|
+
tool_choice: {
|
|
1154
|
+
description: "Controls tool invocation. `none`: never call tools; `auto`: model decides (default); `required`: must call a tool. Can also be an object to force a specific tool. Only valid when `tools` is set.",
|
|
1155
|
+
oneOf: [
|
|
1156
|
+
{
|
|
1157
|
+
type: "string",
|
|
1158
|
+
enum: ["none", "auto", "required"],
|
|
1159
|
+
description: "tool choice.",
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
type: "object",
|
|
1163
|
+
description: "Forces a specific tool. The named tool must be declared in `tools`.",
|
|
1164
|
+
properties: {
|
|
1165
|
+
type: {
|
|
1166
|
+
type: "string",
|
|
1167
|
+
enum: ["function", "octen_broad_search", "octen_search"],
|
|
1168
|
+
description: "The type of tool to force.",
|
|
1169
|
+
},
|
|
1170
|
+
function: {
|
|
1171
|
+
type: "object",
|
|
1172
|
+
description: "The function to call. Required when `type` is `function`.",
|
|
1173
|
+
properties: {
|
|
1174
|
+
name: {
|
|
1175
|
+
type: "string",
|
|
1176
|
+
description: "The name of the function to call.",
|
|
1177
|
+
},
|
|
1178
|
+
},
|
|
1179
|
+
required: ["name"],
|
|
1180
|
+
additionalProperties: false,
|
|
1181
|
+
},
|
|
1182
|
+
},
|
|
1183
|
+
required: ["type"],
|
|
1184
|
+
additionalProperties: false,
|
|
1185
|
+
},
|
|
1186
|
+
],
|
|
1187
|
+
},
|
|
1188
|
+
parallel_tool_calls: {
|
|
1189
|
+
type: "boolean",
|
|
1190
|
+
description: "Whether the model may issue multiple tool calls in one reply. When `false`, at most one tool call per turn.",
|
|
1191
|
+
},
|
|
1192
|
+
max_tokens: {
|
|
1193
|
+
type: "integer",
|
|
1194
|
+
minimum: 1,
|
|
1195
|
+
description: "Maximum number of tokens the model can output. If not set, the model's internal default limit is used.",
|
|
1196
|
+
},
|
|
1197
|
+
max_completion_tokens: {
|
|
1198
|
+
type: "integer",
|
|
1199
|
+
minimum: 1,
|
|
1200
|
+
description: "Maximum completion tokens, including reasoning and visible output tokens. If not set, the model's internal default limit is used.",
|
|
1201
|
+
},
|
|
1202
|
+
temperature: {
|
|
1203
|
+
type: "number",
|
|
1204
|
+
minimum: 0,
|
|
1205
|
+
maximum: 2,
|
|
1206
|
+
description: "Controls randomness in generation. Higher values produce more diverse output; lower values produce more deterministic output.",
|
|
1207
|
+
},
|
|
1208
|
+
top_p: {
|
|
1209
|
+
type: "number",
|
|
1210
|
+
exclusiveMinimum: 0,
|
|
1211
|
+
maximum: 1,
|
|
1212
|
+
description: "Nucleus sampling. Only tokens with cumulative probability up to `top_p` are considered.",
|
|
1213
|
+
},
|
|
1214
|
+
top_k: {
|
|
1215
|
+
type: "integer",
|
|
1216
|
+
minimum: 0,
|
|
1217
|
+
description: "Sample only from the top K most probable tokens. `0` disables it.",
|
|
1218
|
+
},
|
|
1219
|
+
min_p: {
|
|
1220
|
+
type: "number",
|
|
1221
|
+
minimum: 0,
|
|
1222
|
+
maximum: 1,
|
|
1223
|
+
description: "Minimum probability threshold relative to the most probable token. Tokens below it are filtered out. `0` disables it.",
|
|
1224
|
+
},
|
|
1225
|
+
top_a: {
|
|
1226
|
+
type: "number",
|
|
1227
|
+
minimum: 0,
|
|
1228
|
+
maximum: 1,
|
|
1229
|
+
description: "Dynamic filtering threshold based on the most probable token. `0` disables it.",
|
|
1230
|
+
},
|
|
1231
|
+
repetition_penalty: {
|
|
1232
|
+
type: "number",
|
|
1233
|
+
exclusiveMinimum: 0,
|
|
1234
|
+
maximum: 2,
|
|
1235
|
+
description: "Penalizes tokens already present in the input. Above 1 suppresses repetition; below 1 encourages it.",
|
|
1236
|
+
},
|
|
1237
|
+
frequency_penalty: {
|
|
1238
|
+
type: "number",
|
|
1239
|
+
minimum: -2,
|
|
1240
|
+
maximum: 2,
|
|
1241
|
+
description: "Penalizes tokens by their frequency in the output so far. Positive values reduce repetition.",
|
|
1242
|
+
},
|
|
1243
|
+
presence_penalty: {
|
|
1244
|
+
type: "number",
|
|
1245
|
+
minimum: -2,
|
|
1246
|
+
maximum: 2,
|
|
1247
|
+
description: "Penalizes tokens that have already appeared. Positive values encourage new topics.",
|
|
1248
|
+
},
|
|
1249
|
+
response_format: {
|
|
1250
|
+
type: "object",
|
|
1251
|
+
description: "Controls the output format. Some models may not support structured output and will automatically fall back to `text`.",
|
|
1252
|
+
properties: {
|
|
1253
|
+
type: {
|
|
1254
|
+
type: "string",
|
|
1255
|
+
enum: ["text", "json_object", "json_schema"],
|
|
1256
|
+
description: "The output format type.",
|
|
1257
|
+
},
|
|
1258
|
+
json_schema: {
|
|
1259
|
+
type: "object",
|
|
1260
|
+
description: "JSON Schema specification for structured output. Required when `response_format.type` is `json_schema`.",
|
|
1261
|
+
properties: {
|
|
1262
|
+
name: {
|
|
1263
|
+
type: "string",
|
|
1264
|
+
description: "A user-defined name for the schema.",
|
|
1265
|
+
},
|
|
1266
|
+
strict: {
|
|
1267
|
+
type: "boolean",
|
|
1268
|
+
description: "Whether the model output must strictly conform to the schema.",
|
|
1269
|
+
},
|
|
1270
|
+
description: {
|
|
1271
|
+
type: "string",
|
|
1272
|
+
description: "A description of the schema.",
|
|
1273
|
+
},
|
|
1274
|
+
schema: {
|
|
1275
|
+
type: "object",
|
|
1276
|
+
description: "The JSON Schema definition object. May contain `type`, `properties`, `required`, `additionalProperties`, etc.",
|
|
1277
|
+
additionalProperties: true,
|
|
1278
|
+
},
|
|
1279
|
+
},
|
|
1280
|
+
required: ["name"],
|
|
1281
|
+
additionalProperties: false,
|
|
1282
|
+
},
|
|
1283
|
+
},
|
|
1284
|
+
required: [],
|
|
1285
|
+
additionalProperties: false,
|
|
1286
|
+
},
|
|
1287
|
+
stop: {
|
|
1288
|
+
type: "array",
|
|
1289
|
+
description: "Stop sequences. Generation stops when any of these strings is encountered.",
|
|
1290
|
+
items: {
|
|
1291
|
+
type: "string",
|
|
1292
|
+
description: "stop item.",
|
|
1293
|
+
},
|
|
1294
|
+
},
|
|
1295
|
+
seed: {
|
|
1296
|
+
type: "integer",
|
|
1297
|
+
description: "Seed for reproducibility. With the same parameters and model version, output should be as consistent as possible.",
|
|
1298
|
+
},
|
|
1299
|
+
reasoning: {
|
|
1300
|
+
type: "object",
|
|
1301
|
+
description: "Options for reasoning models. Turns thinking on or off and sets the effort and budget.",
|
|
1302
|
+
properties: {
|
|
1303
|
+
enabled: {
|
|
1304
|
+
type: "boolean",
|
|
1305
|
+
description: "Set to `false` to turn off thinking. Overrides `effort` and `max_tokens`.",
|
|
1306
|
+
},
|
|
1307
|
+
effort: {
|
|
1308
|
+
type: "string",
|
|
1309
|
+
enum: ["max", "xhigh", "high", "medium", "low", "minimal", "none"],
|
|
1310
|
+
description: "The reasoning effort level.",
|
|
1311
|
+
},
|
|
1312
|
+
max_tokens: {
|
|
1313
|
+
type: "integer",
|
|
1314
|
+
minimum: 1024,
|
|
1315
|
+
description: "Thinking token budget.",
|
|
1316
|
+
},
|
|
1317
|
+
},
|
|
1318
|
+
required: [],
|
|
1319
|
+
additionalProperties: false,
|
|
1320
|
+
},
|
|
1321
|
+
reasoning_effort: {
|
|
1322
|
+
type: "string",
|
|
1323
|
+
enum: ["none", "minimal", "low", "medium", "high", "xhigh", "max"],
|
|
1324
|
+
description: "Top-level alias for `reasoning.effort`. If both are set, `reasoning` takes precedence.",
|
|
1325
|
+
},
|
|
1326
|
+
verbosity: {
|
|
1327
|
+
type: "string",
|
|
1328
|
+
enum: ["low", "medium", "high"],
|
|
1329
|
+
description: "Controls how verbose the reply is.",
|
|
1330
|
+
},
|
|
1331
|
+
logit_bias: {
|
|
1332
|
+
type: "object",
|
|
1333
|
+
description: "A JSON object mapping token IDs to bias values (-100 to 100), added to the logits before sampling.",
|
|
1334
|
+
additionalProperties: {
|
|
1335
|
+
type: "number",
|
|
1336
|
+
minimum: -100,
|
|
1337
|
+
maximum: 100,
|
|
1338
|
+
description: "Additional value.",
|
|
1339
|
+
},
|
|
1340
|
+
},
|
|
1341
|
+
logprobs: {
|
|
1342
|
+
type: "boolean",
|
|
1343
|
+
description: "Whether to return the log probabilities of the output tokens.",
|
|
1344
|
+
},
|
|
1345
|
+
top_logprobs: {
|
|
1346
|
+
type: "integer",
|
|
1347
|
+
minimum: 0,
|
|
1348
|
+
maximum: 20,
|
|
1349
|
+
description: "Number of most likely tokens to return at each position. Requires `logprobs` to be `true`.",
|
|
1350
|
+
},
|
|
1351
|
+
user: {
|
|
1352
|
+
type: "string",
|
|
1353
|
+
description: "A unique identifier for the end user. Use hashed or pseudonymous identifiers to avoid passing personally identifiable information.",
|
|
1354
|
+
},
|
|
1355
|
+
modalities: {
|
|
1356
|
+
type: "array",
|
|
1357
|
+
description: "Requested output modalities.",
|
|
1358
|
+
items: {
|
|
1359
|
+
type: "string",
|
|
1360
|
+
description: "modalities item.",
|
|
1361
|
+
},
|
|
1362
|
+
},
|
|
1363
|
+
prompt_cache_key: {
|
|
1364
|
+
type: "string",
|
|
1365
|
+
description: "Cache key for prompt caching.",
|
|
1366
|
+
},
|
|
1367
|
+
prompt_cache_options: {
|
|
1368
|
+
type: "object",
|
|
1369
|
+
description: "Prompt caching controls.",
|
|
1370
|
+
properties: {
|
|
1371
|
+
mode: {
|
|
1372
|
+
type: "string",
|
|
1373
|
+
enum: ["implicit", "explicit"],
|
|
1374
|
+
description: "`implicit` caches automatically; `explicit` caches only prefixes marked with a cache breakpoint.",
|
|
1375
|
+
},
|
|
1376
|
+
ttl: {
|
|
1377
|
+
type: "string",
|
|
1378
|
+
enum: ["30m"],
|
|
1379
|
+
description: "How long a cache entry is retained.",
|
|
1380
|
+
},
|
|
1381
|
+
},
|
|
1382
|
+
required: [],
|
|
1383
|
+
additionalProperties: false,
|
|
1384
|
+
},
|
|
1385
|
+
prompt_cache_retention: {
|
|
1386
|
+
type: "string",
|
|
1387
|
+
enum: ["in_memory", "24h"],
|
|
1388
|
+
description: "Prompt cache retention policy.",
|
|
1389
|
+
},
|
|
1390
|
+
previous_response_id: {
|
|
1391
|
+
type: "string",
|
|
1392
|
+
description: "The `id` of a previous response, used to chain state across turns.",
|
|
1393
|
+
},
|
|
1394
|
+
},
|
|
1395
|
+
required: ["model", "messages"],
|
|
1396
|
+
additionalProperties: false,
|
|
1397
|
+
},
|
|
1398
|
+
answer: {
|
|
1399
|
+
type: "object",
|
|
1400
|
+
description: "Request body for the Answer API.",
|
|
1401
|
+
properties: {
|
|
1402
|
+
model: {
|
|
1403
|
+
type: "string",
|
|
1404
|
+
enum: [
|
|
1405
|
+
"openai/gpt-6.1-sol",
|
|
1406
|
+
"openai/gpt-6-astra",
|
|
1407
|
+
"openai/gpt-5.6-sol",
|
|
1408
|
+
"openai/gpt-5.6-terra",
|
|
1409
|
+
"openai/gpt-5.6-luna",
|
|
1410
|
+
"openai/gpt-5.4",
|
|
1411
|
+
"anthropic/claude-fable-5.1",
|
|
1412
|
+
"anthropic/claude-fable-5",
|
|
1413
|
+
"anthropic/claude-opus-5.5",
|
|
1414
|
+
"anthropic/claude-opus-5",
|
|
1415
|
+
"anthropic/claude-opus-4.8",
|
|
1416
|
+
"anthropic/claude-opus-4.6",
|
|
1417
|
+
"anthropic/claude-sonnet-5.5",
|
|
1418
|
+
"anthropic/claude-sonnet-5",
|
|
1419
|
+
"anthropic/claude-sonnet-4.6",
|
|
1420
|
+
"anthropic/claude-haiku-5.5",
|
|
1421
|
+
"anthropic/claude-haiku-4.5",
|
|
1422
|
+
"google/gemini-4-argon",
|
|
1423
|
+
"google/gemini-3.8-flash",
|
|
1424
|
+
"google/gemini-3.5-flash",
|
|
1425
|
+
"google/gemini-3.5-flash-lite",
|
|
1426
|
+
"google/gemini-3.1-pro-preview",
|
|
1427
|
+
"google/gemini-3.1-flash-lite",
|
|
1428
|
+
"google/gemini-3-flash-preview",
|
|
1429
|
+
"moonshotai/kimi-k3",
|
|
1430
|
+
"moonshotai/kimi-k2.6",
|
|
1431
|
+
"moonshotai/kimi-k2.5",
|
|
1432
|
+
"minimax/minimax-m2.5",
|
|
1433
|
+
"qwen/qwen3.6-plus",
|
|
1434
|
+
"deepseek/deepseek-v4-pro",
|
|
1435
|
+
"deepseek/deepseek-v4-flash-0731",
|
|
1436
|
+
],
|
|
1437
|
+
description: "The model to use for query decomposition and response synthesis.",
|
|
1438
|
+
},
|
|
1439
|
+
messages: {
|
|
1440
|
+
type: "array",
|
|
1441
|
+
description: "A list of messages comprising the conversation so far. User and assistant messages in chronological order for multi-turn conversations.",
|
|
1442
|
+
items: messagesItemSchema,
|
|
1443
|
+
},
|
|
1444
|
+
mode: {
|
|
1445
|
+
type: "string",
|
|
1446
|
+
enum: ["queries_only", "queries_and_search", "full"],
|
|
1447
|
+
description: "Controls the execution depth. `queries_only`: only decompose the message into sub-queries without performing searches; `queries_and_search`: decompose into sub-queries and return search results without LLM synthesis; `full`: decompose, search, and synthesize a final response using the LLM.",
|
|
1448
|
+
},
|
|
1449
|
+
max_queries: {
|
|
1450
|
+
type: "integer",
|
|
1451
|
+
minimum: 1,
|
|
1452
|
+
maximum: 30,
|
|
1453
|
+
description: "Maximum number of sub-queries to generate.",
|
|
1454
|
+
},
|
|
1455
|
+
web_search_options: {
|
|
1456
|
+
type: "object",
|
|
1457
|
+
description: "Search options. Shares the same parameters and defaults as the Web Search API, except `highlight.max_tokens` defaults to 256. Queries are automatically generated from the messages.",
|
|
1458
|
+
properties: {
|
|
1459
|
+
count: {
|
|
1460
|
+
type: "integer",
|
|
1461
|
+
minimum: 1,
|
|
1462
|
+
maximum: 100,
|
|
1463
|
+
description: "Number of results to return.",
|
|
1464
|
+
},
|
|
1465
|
+
include_domains: {
|
|
1466
|
+
type: "array",
|
|
1467
|
+
maxItems: 1200,
|
|
1468
|
+
description: "A list of domains to specifically include in the search results. The `site:` query operator adds to this list.",
|
|
1469
|
+
items: {
|
|
1470
|
+
type: "string",
|
|
1471
|
+
maxLength: 60,
|
|
1472
|
+
description: "include domains item.",
|
|
1473
|
+
},
|
|
1474
|
+
},
|
|
1475
|
+
exclude_domains: excludeDomainsSchema,
|
|
1476
|
+
include_text: {
|
|
1477
|
+
type: "array",
|
|
1478
|
+
maxItems: 5,
|
|
1479
|
+
description: "Strings that must appear in the result page text.",
|
|
1480
|
+
items: {
|
|
1481
|
+
type: "string",
|
|
1482
|
+
maxLength: 30,
|
|
1483
|
+
description: "include text item.",
|
|
1484
|
+
},
|
|
1485
|
+
},
|
|
1486
|
+
exclude_text: {
|
|
1487
|
+
type: "array",
|
|
1488
|
+
maxItems: 5,
|
|
1489
|
+
description: "Strings that must not appear in the result page text.",
|
|
1490
|
+
items: {
|
|
1491
|
+
type: "string",
|
|
1492
|
+
maxLength: 30,
|
|
1493
|
+
description: "exclude text item.",
|
|
1494
|
+
},
|
|
1495
|
+
},
|
|
1496
|
+
time_basis: timeBasisSchema,
|
|
1497
|
+
time_range: timeRangeSchema,
|
|
1498
|
+
start_time: {
|
|
1499
|
+
type: "string",
|
|
1500
|
+
format: "date-time",
|
|
1501
|
+
description: "Start time for filtering results. ISO 8601 format.",
|
|
1502
|
+
},
|
|
1503
|
+
end_time: {
|
|
1504
|
+
type: "string",
|
|
1505
|
+
format: "date-time",
|
|
1506
|
+
description: "End time for filtering results. ISO 8601 format.",
|
|
1507
|
+
},
|
|
1508
|
+
language: languageSchema,
|
|
1509
|
+
highlight: highlightSchema,
|
|
1510
|
+
full_content: fullContentSchema,
|
|
1511
|
+
format: {
|
|
1512
|
+
type: "string",
|
|
1513
|
+
enum: ["markdown", "text"],
|
|
1514
|
+
description: "Controls the formatting of highlight outputs.",
|
|
1515
|
+
},
|
|
1516
|
+
safesearch: {
|
|
1517
|
+
type: "string",
|
|
1518
|
+
enum: ["off", "strict"],
|
|
1519
|
+
description: "Controls filtering of explicit/adult content. `off` disables filtering; `strict` drops all adult content.",
|
|
1520
|
+
},
|
|
1521
|
+
include_images: {
|
|
1522
|
+
type: "boolean",
|
|
1523
|
+
description: "Whether to include images in each result.",
|
|
1524
|
+
},
|
|
1525
|
+
},
|
|
1526
|
+
required: [],
|
|
1527
|
+
additionalProperties: false,
|
|
1528
|
+
},
|
|
1529
|
+
},
|
|
1530
|
+
required: ["messages"],
|
|
1531
|
+
additionalProperties: false,
|
|
1532
|
+
},
|
|
1533
|
+
broad_search: {
|
|
1534
|
+
type: "object",
|
|
1535
|
+
description: "broad search parameters.",
|
|
1536
|
+
properties: {
|
|
1537
|
+
query: {
|
|
1538
|
+
type: "string",
|
|
1539
|
+
maxLength: 500,
|
|
1540
|
+
description: "The original search query.",
|
|
1541
|
+
},
|
|
1542
|
+
max_queries: {
|
|
1543
|
+
type: "integer",
|
|
1544
|
+
minimum: 1,
|
|
1545
|
+
maximum: 30,
|
|
1546
|
+
description: "Upper bound on the number of sub-queries generated.",
|
|
1547
|
+
},
|
|
1548
|
+
search_options: {
|
|
1549
|
+
type: "object",
|
|
1550
|
+
description: "Search options applied to each sub-query. Shares the same parameters and defaults as the Web Search API.",
|
|
1551
|
+
properties: {
|
|
1552
|
+
count: {
|
|
1553
|
+
type: "integer",
|
|
1554
|
+
minimum: 1,
|
|
1555
|
+
maximum: 100,
|
|
1556
|
+
description: "Number of results to return.",
|
|
1557
|
+
},
|
|
1558
|
+
include_domains: {
|
|
1559
|
+
type: "array",
|
|
1560
|
+
maxItems: 1200,
|
|
1561
|
+
description: "A list of domains to specifically include in the search results. The `site:` query operator adds to this list.",
|
|
1562
|
+
items: {
|
|
1563
|
+
type: "string",
|
|
1564
|
+
maxLength: 60,
|
|
1565
|
+
description: "include domains item.",
|
|
1566
|
+
},
|
|
1567
|
+
},
|
|
1568
|
+
exclude_domains: excludeDomainsSchema,
|
|
1569
|
+
include_text: {
|
|
1570
|
+
type: "array",
|
|
1571
|
+
maxItems: 5,
|
|
1572
|
+
description: "Strings that must appear in the result page text.",
|
|
1573
|
+
items: {
|
|
1574
|
+
type: "string",
|
|
1575
|
+
maxLength: 30,
|
|
1576
|
+
description: "include text item.",
|
|
1577
|
+
},
|
|
1578
|
+
},
|
|
1579
|
+
exclude_text: {
|
|
1580
|
+
type: "array",
|
|
1581
|
+
maxItems: 5,
|
|
1582
|
+
description: "Strings that must not appear in the result page text.",
|
|
1583
|
+
items: {
|
|
1584
|
+
type: "string",
|
|
1585
|
+
maxLength: 30,
|
|
1586
|
+
description: "exclude text item.",
|
|
1587
|
+
},
|
|
1588
|
+
},
|
|
1589
|
+
time_basis: timeBasisSchema,
|
|
1590
|
+
time_range: timeRangeSchema,
|
|
1591
|
+
start_time: {
|
|
1592
|
+
type: "string",
|
|
1593
|
+
format: "date-time",
|
|
1594
|
+
description: "Start time for filtering results. ISO 8601 format.",
|
|
1595
|
+
},
|
|
1596
|
+
end_time: {
|
|
1597
|
+
type: "string",
|
|
1598
|
+
format: "date-time",
|
|
1599
|
+
description: "End time for filtering results. ISO 8601 format.",
|
|
1600
|
+
},
|
|
1601
|
+
language: languageSchema,
|
|
1602
|
+
highlight: highlightSchema,
|
|
1603
|
+
full_content: fullContentSchema,
|
|
1604
|
+
format: {
|
|
1605
|
+
type: "string",
|
|
1606
|
+
enum: ["markdown", "text"],
|
|
1607
|
+
description: "Controls the formatting of highlight outputs.",
|
|
1608
|
+
},
|
|
1609
|
+
safesearch: {
|
|
1610
|
+
type: "string",
|
|
1611
|
+
enum: ["off", "strict"],
|
|
1612
|
+
description: "Controls filtering of explicit/adult content. `off` disables filtering; `strict` drops all adult content.",
|
|
1613
|
+
},
|
|
1614
|
+
include_images: {
|
|
1615
|
+
type: "boolean",
|
|
1616
|
+
description: "Whether to include images in each result.",
|
|
1617
|
+
},
|
|
1618
|
+
},
|
|
1619
|
+
required: [],
|
|
1620
|
+
additionalProperties: false,
|
|
1621
|
+
},
|
|
1622
|
+
},
|
|
1623
|
+
required: ["query"],
|
|
1624
|
+
additionalProperties: false,
|
|
1625
|
+
},
|
|
1626
|
+
research: {
|
|
1627
|
+
type: "object",
|
|
1628
|
+
description: "Request body for the Deep Research API.",
|
|
1629
|
+
properties: {
|
|
1630
|
+
tier: {
|
|
1631
|
+
type: "string",
|
|
1632
|
+
enum: ["lite", "standard", "pro", "pro-visual"],
|
|
1633
|
+
description: "The research tier. `lite`, `standard`, and `pro` increase research depth, cost, and time in that order. `pro-visual` additionally illustrates each report section with images and videos and streams an HTML version of the report.",
|
|
1634
|
+
},
|
|
1635
|
+
messages: {
|
|
1636
|
+
type: "array",
|
|
1637
|
+
description: "Conversation messages. Only the last `role=user` message is used as the research question; other messages are ignored and do not enter plan generation, search, analysis, or report writing.",
|
|
1638
|
+
items: {
|
|
1639
|
+
type: "object",
|
|
1640
|
+
description: "A single message in the Deep Research request.",
|
|
1641
|
+
properties: {
|
|
1642
|
+
role: {
|
|
1643
|
+
type: "string",
|
|
1644
|
+
enum: ["system", "user", "assistant"],
|
|
1645
|
+
description: "The role of the message author.",
|
|
1646
|
+
},
|
|
1647
|
+
content: {
|
|
1648
|
+
description: "The content of the message. Can be a plain string, or an array of text content blocks.",
|
|
1649
|
+
oneOf: [
|
|
1650
|
+
{
|
|
1651
|
+
type: "string",
|
|
1652
|
+
description: "content.",
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
type: "array",
|
|
1656
|
+
description: "content.",
|
|
1657
|
+
items: {
|
|
1658
|
+
type: "object",
|
|
1659
|
+
description: "A text content block.",
|
|
1660
|
+
properties: {
|
|
1661
|
+
type: {
|
|
1662
|
+
type: "string",
|
|
1663
|
+
enum: ["text"],
|
|
1664
|
+
description: "The block type. Always `text` for Deep Research.",
|
|
1665
|
+
},
|
|
1666
|
+
text: {
|
|
1667
|
+
type: "string",
|
|
1668
|
+
description: "The text content.",
|
|
1669
|
+
},
|
|
1670
|
+
},
|
|
1671
|
+
required: ["type"],
|
|
1672
|
+
additionalProperties: false,
|
|
1673
|
+
},
|
|
1674
|
+
},
|
|
1675
|
+
],
|
|
1676
|
+
},
|
|
1677
|
+
},
|
|
1678
|
+
required: ["role", "content"],
|
|
1679
|
+
additionalProperties: false,
|
|
1680
|
+
},
|
|
1681
|
+
},
|
|
1682
|
+
extra_context: {
|
|
1683
|
+
type: "string",
|
|
1684
|
+
description: "Additional research background, constraints, or preferences, used as extra context for query rewriting and research direction supplementation.",
|
|
1685
|
+
},
|
|
1686
|
+
skip_brief: {
|
|
1687
|
+
type: "boolean",
|
|
1688
|
+
description: "Skip the Research Brief stage and write the final report directly from raw search and analysis results.\n\nNote: when enabled, no `brief` event is emitted. Clients can rebuild the citation index by accumulating `search_results` events in the order they arrive (round-by-round / query-by-query / result-by-result) into a global index, then look up the corresponding url/title by the `N` in `[^N]`.",
|
|
1689
|
+
},
|
|
1690
|
+
skip_plan: {
|
|
1691
|
+
type: "boolean",
|
|
1692
|
+
description: "Phase 1 only. Skip the Research Plan stage and proceed straight to the search loop. With `skip_plan=true`, the call never enters the Phase 2 pause mechanism.",
|
|
1693
|
+
},
|
|
1694
|
+
skip_plan_confirm: {
|
|
1695
|
+
type: "boolean",
|
|
1696
|
+
description: "Phase 1 only. When `true`, the run continues with all angles even if the plan is ambiguous, instead of pausing and waiting for the user to confirm a selection.",
|
|
1697
|
+
},
|
|
1698
|
+
plan_id: {
|
|
1699
|
+
type: "string",
|
|
1700
|
+
description: "Phase 2 only. The plan ID returned by a Phase 1 `plan` event with `requires_selection=true`. When provided, the server skips plan generation and applies the supplied `selections` against the stored plan. Each `plan_id` is retained for 30 minutes; after expiry the plan is regenerated.",
|
|
1701
|
+
},
|
|
1702
|
+
selections: {
|
|
1703
|
+
type: "array",
|
|
1704
|
+
description: "Phase 2 only. The user's corrections and angle filtering against the Phase 1 plan.",
|
|
1705
|
+
items: {
|
|
1706
|
+
type: "object",
|
|
1707
|
+
description: "A single user correction or angle filter applied against a Phase 1 plan.",
|
|
1708
|
+
properties: {
|
|
1709
|
+
term: {
|
|
1710
|
+
type: "string",
|
|
1711
|
+
description: "An ambiguous term, matching `plan.interpretations[].term`. When present, overrides the LLM's default `chosen` meaning.",
|
|
1712
|
+
},
|
|
1713
|
+
chosen: {
|
|
1714
|
+
type: "string",
|
|
1715
|
+
description: 'The selected meaning ID (from `plan.interpretations[].meanings[].id`, e.g. `"nasa_program"`). Pass `"all"` to keep every meaning. When used as an angle filter, this carries the `interpretation_id` of the angles to keep.',
|
|
1716
|
+
},
|
|
1717
|
+
indices: {
|
|
1718
|
+
type: "array",
|
|
1719
|
+
description: "0-based angle indices within the group identified by `chosen`. Absent means keep every angle in that group.",
|
|
1720
|
+
items: {
|
|
1721
|
+
type: "integer",
|
|
1722
|
+
description: "indices item.",
|
|
1723
|
+
},
|
|
1724
|
+
},
|
|
1725
|
+
},
|
|
1726
|
+
required: [],
|
|
1727
|
+
additionalProperties: false,
|
|
1728
|
+
},
|
|
1729
|
+
},
|
|
1730
|
+
},
|
|
1731
|
+
required: [],
|
|
1732
|
+
additionalProperties: false,
|
|
1733
|
+
anyOf: [
|
|
1734
|
+
{
|
|
1735
|
+
required: ["messages"],
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
required: ["plan_id", "selections"],
|
|
1739
|
+
},
|
|
1740
|
+
],
|
|
1741
|
+
},
|
|
1742
|
+
messages: {
|
|
1743
|
+
type: "object",
|
|
1744
|
+
description: "Request body for the Messages API. Some parameters apply only to certain models; unsupported parameters are ignored.",
|
|
1745
|
+
properties: {
|
|
1746
|
+
model: {
|
|
1747
|
+
type: "string",
|
|
1748
|
+
enum: [
|
|
1749
|
+
"openai/gpt-6.1-sol",
|
|
1750
|
+
"openai/gpt-6-astra",
|
|
1751
|
+
"openai/gpt-5.6-sol",
|
|
1752
|
+
"openai/gpt-5.6-terra",
|
|
1753
|
+
"openai/gpt-5.6-luna",
|
|
1754
|
+
"openai/gpt-5.4",
|
|
1755
|
+
"anthropic/claude-fable-5.1",
|
|
1756
|
+
"anthropic/claude-fable-5",
|
|
1757
|
+
"anthropic/claude-opus-5.5",
|
|
1758
|
+
"anthropic/claude-opus-5",
|
|
1759
|
+
"anthropic/claude-opus-4.8",
|
|
1760
|
+
"anthropic/claude-opus-4.6",
|
|
1761
|
+
"anthropic/claude-sonnet-5.5",
|
|
1762
|
+
"anthropic/claude-sonnet-5",
|
|
1763
|
+
"anthropic/claude-sonnet-4.6",
|
|
1764
|
+
"anthropic/claude-haiku-5.5",
|
|
1765
|
+
"anthropic/claude-haiku-4.5",
|
|
1766
|
+
"claude-fable-5-1",
|
|
1767
|
+
"claude-fable-5",
|
|
1768
|
+
"claude-opus-5-5",
|
|
1769
|
+
"claude-opus-5",
|
|
1770
|
+
"claude-opus-4-8",
|
|
1771
|
+
"claude-opus-4-6",
|
|
1772
|
+
"claude-sonnet-5-5",
|
|
1773
|
+
"claude-sonnet-5",
|
|
1774
|
+
"claude-sonnet-4-6",
|
|
1775
|
+
"claude-haiku-5-5",
|
|
1776
|
+
"claude-haiku-4-5",
|
|
1777
|
+
"google/gemini-4-argon",
|
|
1778
|
+
"google/gemini-3.8-flash",
|
|
1779
|
+
"google/gemini-3.5-flash",
|
|
1780
|
+
"google/gemini-3.5-flash-lite",
|
|
1781
|
+
"google/gemini-3.1-pro-preview",
|
|
1782
|
+
"google/gemini-3.1-flash-lite",
|
|
1783
|
+
"google/gemini-3-flash-preview",
|
|
1784
|
+
"moonshotai/kimi-k3",
|
|
1785
|
+
"moonshotai/kimi-k2.6",
|
|
1786
|
+
"moonshotai/kimi-k2.5",
|
|
1787
|
+
"minimax/minimax-m2.5",
|
|
1788
|
+
"qwen/qwen3.6-plus",
|
|
1789
|
+
"deepseek/deepseek-v4-pro",
|
|
1790
|
+
"deepseek/deepseek-v4-flash-0731",
|
|
1791
|
+
],
|
|
1792
|
+
description: "The model to use. Anthropic models also accept their native ids (e.g. `claude-opus-4-8`), which map to `anthropic/claude-opus-4.8`.",
|
|
1793
|
+
},
|
|
1794
|
+
max_tokens: {
|
|
1795
|
+
type: "integer",
|
|
1796
|
+
minimum: 1,
|
|
1797
|
+
description: "Maximum number of tokens to generate, including thinking and visible output tokens.",
|
|
1798
|
+
},
|
|
1799
|
+
messages: {
|
|
1800
|
+
type: "array",
|
|
1801
|
+
description: "The conversation so far, in chronological order.",
|
|
1802
|
+
items: {
|
|
1803
|
+
type: "object",
|
|
1804
|
+
description: "A message in the conversation. Tool results are returned via a `tool_result` content block in a `user` message.",
|
|
1805
|
+
properties: {
|
|
1806
|
+
role: {
|
|
1807
|
+
type: "string",
|
|
1808
|
+
enum: ["user", "assistant"],
|
|
1809
|
+
description: "The role of the message author.",
|
|
1810
|
+
},
|
|
1811
|
+
content: {
|
|
1812
|
+
description: "The content. A plain string or an array of content blocks.",
|
|
1813
|
+
oneOf: [
|
|
1814
|
+
{
|
|
1815
|
+
type: "string",
|
|
1816
|
+
description: "content.",
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
type: "array",
|
|
1820
|
+
description: "content.",
|
|
1821
|
+
items: {
|
|
1822
|
+
type: "object",
|
|
1823
|
+
description: "A content block within a message. The fields used depend on `type`. For replaying a multi-turn conversation, blocks such as `tool_use`, `tool_result`, `thinking`, `redacted_thinking`, `server_tool_use`, and `web_search_tool_result` are returned verbatim.",
|
|
1824
|
+
properties: {
|
|
1825
|
+
type: {
|
|
1826
|
+
type: "string",
|
|
1827
|
+
enum: [
|
|
1828
|
+
"text",
|
|
1829
|
+
"image",
|
|
1830
|
+
"tool_use",
|
|
1831
|
+
"tool_result",
|
|
1832
|
+
"thinking",
|
|
1833
|
+
"redacted_thinking",
|
|
1834
|
+
"server_tool_use",
|
|
1835
|
+
"web_search_tool_result",
|
|
1836
|
+
],
|
|
1837
|
+
description: "The type of content block.",
|
|
1838
|
+
},
|
|
1839
|
+
text: {
|
|
1840
|
+
type: "string",
|
|
1841
|
+
description: "Text content. Required when `type` is `text`.",
|
|
1842
|
+
},
|
|
1843
|
+
source: {
|
|
1844
|
+
type: "object",
|
|
1845
|
+
description: "Image source. Required when `type` is `image`.",
|
|
1846
|
+
properties: {
|
|
1847
|
+
type: {
|
|
1848
|
+
type: "string",
|
|
1849
|
+
enum: ["url", "base64"],
|
|
1850
|
+
description: "How the image is provided.",
|
|
1851
|
+
},
|
|
1852
|
+
url: {
|
|
1853
|
+
type: "string",
|
|
1854
|
+
description: "Image URL. Required when `source.type` is `url`.",
|
|
1855
|
+
},
|
|
1856
|
+
media_type: {
|
|
1857
|
+
type: "string",
|
|
1858
|
+
enum: ["image/jpeg", "image/png", "image/gif", "image/webp"],
|
|
1859
|
+
description: "Image MIME type. Required when `source.type` is `base64`.",
|
|
1860
|
+
},
|
|
1861
|
+
data: {
|
|
1862
|
+
type: "string",
|
|
1863
|
+
description: "Base64-encoded image. Required when `source.type` is `base64`.",
|
|
1864
|
+
},
|
|
1865
|
+
},
|
|
1866
|
+
required: [],
|
|
1867
|
+
additionalProperties: false,
|
|
1868
|
+
},
|
|
1869
|
+
id: {
|
|
1870
|
+
type: "string",
|
|
1871
|
+
description: "Block id, replayed verbatim. Used by `tool_use` and `server_tool_use` blocks.",
|
|
1872
|
+
},
|
|
1873
|
+
name: {
|
|
1874
|
+
type: "string",
|
|
1875
|
+
description: "Tool name, replayed verbatim. For `server_tool_use` it is `octen_search`. Used by `tool_use` and `server_tool_use` blocks.",
|
|
1876
|
+
},
|
|
1877
|
+
input: {
|
|
1878
|
+
type: "object",
|
|
1879
|
+
description: "Tool call arguments, replayed verbatim. Used by `tool_use` and `server_tool_use` blocks.",
|
|
1880
|
+
additionalProperties: true,
|
|
1881
|
+
},
|
|
1882
|
+
tool_use_id: {
|
|
1883
|
+
type: "string",
|
|
1884
|
+
description: "The id of the corresponding `tool_use` or `server_tool_use` block. Used by `tool_result` and `web_search_tool_result` blocks.",
|
|
1885
|
+
},
|
|
1886
|
+
content: {
|
|
1887
|
+
description: "Result content. A string or content blocks for `tool_result`; the array of `web_search_result` blocks for `web_search_tool_result`.",
|
|
1888
|
+
oneOf: [
|
|
1889
|
+
{
|
|
1890
|
+
type: "string",
|
|
1891
|
+
description: "content.",
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
type: "array",
|
|
1895
|
+
description: "content.",
|
|
1896
|
+
items: {
|
|
1897
|
+
type: "object",
|
|
1898
|
+
description: "content item.",
|
|
1899
|
+
additionalProperties: true,
|
|
1900
|
+
},
|
|
1901
|
+
},
|
|
1902
|
+
],
|
|
1903
|
+
},
|
|
1904
|
+
is_error: {
|
|
1905
|
+
type: "boolean",
|
|
1906
|
+
description: "Whether the tool execution failed. Used by `tool_result` blocks.",
|
|
1907
|
+
},
|
|
1908
|
+
thinking: {
|
|
1909
|
+
type: "string",
|
|
1910
|
+
description: "Thinking content, replayed verbatim. Required when `type` is `thinking`.",
|
|
1911
|
+
},
|
|
1912
|
+
signature: {
|
|
1913
|
+
type: "string",
|
|
1914
|
+
description: "Thinking signature, replayed verbatim. Required when `type` is `thinking`.",
|
|
1915
|
+
},
|
|
1916
|
+
thought_signature: {
|
|
1917
|
+
type: "string",
|
|
1918
|
+
description: "Encrypted reasoning state, replayed verbatim. Required when the request ends with a `tool_result`.",
|
|
1919
|
+
},
|
|
1920
|
+
data: {
|
|
1921
|
+
type: "string",
|
|
1922
|
+
description: "Encrypted thinking content, replayed verbatim. Required when `type` is `redacted_thinking`.",
|
|
1923
|
+
},
|
|
1924
|
+
citations: {
|
|
1925
|
+
type: "array",
|
|
1926
|
+
description: "Citations returned with assistant text. Replay every citation unchanged, including encrypted_index.",
|
|
1927
|
+
items: {
|
|
1928
|
+
type: "object",
|
|
1929
|
+
description: "A citation into a search result. Returned only when `octen_search` was used and the text cites a result.",
|
|
1930
|
+
properties: {
|
|
1931
|
+
type: {
|
|
1932
|
+
type: "string",
|
|
1933
|
+
enum: ["web_search_result_location"],
|
|
1934
|
+
description: "The citation type.",
|
|
1935
|
+
},
|
|
1936
|
+
url: {
|
|
1937
|
+
type: "string",
|
|
1938
|
+
description: "The URL of the cited source.",
|
|
1939
|
+
},
|
|
1940
|
+
title: {
|
|
1941
|
+
type: "string",
|
|
1942
|
+
description: "The title of the cited source.",
|
|
1943
|
+
},
|
|
1944
|
+
cited_text: {
|
|
1945
|
+
type: "string",
|
|
1946
|
+
description: "The cited source snippet.",
|
|
1947
|
+
},
|
|
1948
|
+
encrypted_index: {
|
|
1949
|
+
type: "string",
|
|
1950
|
+
description: "Encrypted index of the citation location. Replay verbatim when returning text blocks with citations.",
|
|
1951
|
+
},
|
|
1952
|
+
},
|
|
1953
|
+
additionalProperties: true,
|
|
1954
|
+
},
|
|
1955
|
+
},
|
|
1956
|
+
cache_control: cacheControlSchema,
|
|
1957
|
+
},
|
|
1958
|
+
required: ["type"],
|
|
1959
|
+
additionalProperties: false,
|
|
1960
|
+
},
|
|
1961
|
+
},
|
|
1962
|
+
],
|
|
1963
|
+
},
|
|
1964
|
+
},
|
|
1965
|
+
required: ["role", "content"],
|
|
1966
|
+
additionalProperties: false,
|
|
1967
|
+
},
|
|
1968
|
+
},
|
|
1969
|
+
system: {
|
|
1970
|
+
description: "System prompt. A plain string or an array of text blocks supporting `cache_control`.",
|
|
1971
|
+
oneOf: [
|
|
1972
|
+
{
|
|
1973
|
+
type: "string",
|
|
1974
|
+
description: "system.",
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
type: "array",
|
|
1978
|
+
description: "system.",
|
|
1979
|
+
items: {
|
|
1980
|
+
type: "object",
|
|
1981
|
+
description: "A system prompt text block.",
|
|
1982
|
+
properties: {
|
|
1983
|
+
type: {
|
|
1984
|
+
type: "string",
|
|
1985
|
+
enum: ["text"],
|
|
1986
|
+
description: "The block type. Always `text`.",
|
|
1987
|
+
},
|
|
1988
|
+
text: {
|
|
1989
|
+
type: "string",
|
|
1990
|
+
description: "The system prompt content.",
|
|
1991
|
+
},
|
|
1992
|
+
cache_control: cacheControlSchema,
|
|
1993
|
+
},
|
|
1994
|
+
required: ["type", "text"],
|
|
1995
|
+
additionalProperties: false,
|
|
1996
|
+
},
|
|
1997
|
+
},
|
|
1998
|
+
],
|
|
1999
|
+
},
|
|
2000
|
+
tools: {
|
|
2001
|
+
type: "array",
|
|
2002
|
+
description: "tools.",
|
|
2003
|
+
items: {
|
|
2004
|
+
description: "A tool definition. One of a custom tool, the built-in `octen_broad_search` tool, or the `octen_search` tool.",
|
|
2005
|
+
oneOf: [
|
|
2006
|
+
{
|
|
2007
|
+
type: "object",
|
|
2008
|
+
description: "A custom tool, executed by the caller and returned via a `tool_result` block.",
|
|
2009
|
+
properties: {
|
|
2010
|
+
name: {
|
|
2011
|
+
type: "string",
|
|
2012
|
+
description: "The tool name.",
|
|
2013
|
+
},
|
|
2014
|
+
description: {
|
|
2015
|
+
type: "string",
|
|
2016
|
+
description: "A description of what the custom tool does.",
|
|
2017
|
+
},
|
|
2018
|
+
input_schema: {
|
|
2019
|
+
type: "object",
|
|
2020
|
+
description: "The custom tool's parameter definition in JSON Schema format.",
|
|
2021
|
+
additionalProperties: true,
|
|
2022
|
+
},
|
|
2023
|
+
strict: {
|
|
2024
|
+
type: "boolean",
|
|
2025
|
+
description: "Whether to enable strict mode for a custom tool.",
|
|
2026
|
+
},
|
|
2027
|
+
cache_control: cacheControlSchema,
|
|
2028
|
+
},
|
|
2029
|
+
required: ["name"],
|
|
2030
|
+
additionalProperties: false,
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
type: "object",
|
|
2034
|
+
description: "The built-in `octen_broad_search` server tool, executed by Octen.",
|
|
2035
|
+
properties: {
|
|
2036
|
+
type: {
|
|
2037
|
+
type: "string",
|
|
2038
|
+
enum: ["octen_broad_search"],
|
|
2039
|
+
description: "The type of tool. Always `octen_broad_search`.",
|
|
2040
|
+
},
|
|
2041
|
+
name: {
|
|
2042
|
+
type: "string",
|
|
2043
|
+
enum: ["octen_broad_search"],
|
|
2044
|
+
description: "The tool name. Always `octen_broad_search`.",
|
|
2045
|
+
},
|
|
2046
|
+
parameters: parametersSchema,
|
|
2047
|
+
cache_control: cacheControlSchema,
|
|
2048
|
+
},
|
|
2049
|
+
required: ["type", "name"],
|
|
2050
|
+
additionalProperties: false,
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
type: "object",
|
|
2054
|
+
description: "The built-in `octen_search` server tool, executed by Octen.",
|
|
2055
|
+
properties: {
|
|
2056
|
+
type: {
|
|
2057
|
+
type: "string",
|
|
2058
|
+
enum: ["octen_search"],
|
|
2059
|
+
description: "The type of tool. Always `octen_search`.",
|
|
2060
|
+
},
|
|
2061
|
+
name: {
|
|
2062
|
+
type: "string",
|
|
2063
|
+
enum: ["octen_search"],
|
|
2064
|
+
description: "The tool name. Always `octen_search`.",
|
|
2065
|
+
},
|
|
2066
|
+
parameters: parametersSchema2,
|
|
2067
|
+
cache_control: cacheControlSchema,
|
|
2068
|
+
},
|
|
2069
|
+
required: ["type", "name"],
|
|
2070
|
+
additionalProperties: false,
|
|
2071
|
+
},
|
|
2072
|
+
],
|
|
2073
|
+
},
|
|
2074
|
+
},
|
|
2075
|
+
tool_choice: {
|
|
2076
|
+
type: "object",
|
|
2077
|
+
description: "Controls whether and how the model calls tools.",
|
|
2078
|
+
properties: {
|
|
2079
|
+
type: {
|
|
2080
|
+
type: "string",
|
|
2081
|
+
enum: ["auto", "any", "tool", "none"],
|
|
2082
|
+
description: "`auto`: model decides; `any`: must call a tool; `tool`: call a specific tool; `none`: no tools.",
|
|
2083
|
+
},
|
|
2084
|
+
name: {
|
|
2085
|
+
type: "string",
|
|
2086
|
+
description: "The tool name to force. Required when `type` is `tool` (e.g. `octen_broad_search` or `octen_search`).",
|
|
2087
|
+
},
|
|
2088
|
+
disable_parallel_tool_use: {
|
|
2089
|
+
type: "boolean",
|
|
2090
|
+
description: "When `true`, the model issues at most one tool call per turn.",
|
|
2091
|
+
},
|
|
2092
|
+
},
|
|
2093
|
+
required: [],
|
|
2094
|
+
additionalProperties: false,
|
|
2095
|
+
},
|
|
2096
|
+
temperature: {
|
|
2097
|
+
type: "number",
|
|
2098
|
+
minimum: 0,
|
|
2099
|
+
maximum: 1,
|
|
2100
|
+
description: "Controls randomness.",
|
|
2101
|
+
},
|
|
2102
|
+
top_p: {
|
|
2103
|
+
type: "number",
|
|
2104
|
+
exclusiveMinimum: 0,
|
|
2105
|
+
maximum: 1,
|
|
2106
|
+
description: "Nucleus sampling. If unset, no nucleus truncation is applied. Set only one of `temperature` and `top_p`.",
|
|
2107
|
+
},
|
|
2108
|
+
top_k: {
|
|
2109
|
+
type: "integer",
|
|
2110
|
+
minimum: 0,
|
|
2111
|
+
description: "Sample only from the top K tokens. If unset, top-k filtering is disabled.",
|
|
2112
|
+
},
|
|
2113
|
+
stop_sequences: {
|
|
2114
|
+
type: "array",
|
|
2115
|
+
description: "Stop sequences.",
|
|
2116
|
+
items: {
|
|
2117
|
+
type: "string",
|
|
2118
|
+
description: "stop sequences item.",
|
|
2119
|
+
},
|
|
2120
|
+
},
|
|
2121
|
+
thinking: {
|
|
2122
|
+
type: "object",
|
|
2123
|
+
description: "Thinking options for reasoning models.",
|
|
2124
|
+
properties: {
|
|
2125
|
+
type: {
|
|
2126
|
+
type: "string",
|
|
2127
|
+
enum: ["enabled", "disabled", "adaptive", "between_tools"],
|
|
2128
|
+
description: "`adaptive` lets the model decide the thinking depth.",
|
|
2129
|
+
},
|
|
2130
|
+
budget_tokens: {
|
|
2131
|
+
type: "integer",
|
|
2132
|
+
minimum: 1024,
|
|
2133
|
+
description: "Thinking token budget. Required when `type` is `enabled`; must be less than `max_tokens`. Not allowed when `type` is `adaptive`, `disabled`, or `between_tools`.",
|
|
2134
|
+
},
|
|
2135
|
+
display: {
|
|
2136
|
+
type: "string",
|
|
2137
|
+
enum: ["summarized", "omitted"],
|
|
2138
|
+
description: "Controls how thinking is shown. `summarized` returns thinking blocks; `omitted` returns only the signature so blocks can be replayed. Valid only when `type` is `enabled` or `adaptive`.",
|
|
2139
|
+
},
|
|
2140
|
+
},
|
|
2141
|
+
required: [],
|
|
2142
|
+
additionalProperties: false,
|
|
2143
|
+
},
|
|
2144
|
+
metadata: {
|
|
2145
|
+
type: "object",
|
|
2146
|
+
description: "Request metadata.",
|
|
2147
|
+
properties: {
|
|
2148
|
+
user_id: {
|
|
2149
|
+
type: "string",
|
|
2150
|
+
description: "A unique identifier for the end user. Use hashed or pseudonymous identifiers to avoid passing personally identifiable information.",
|
|
2151
|
+
},
|
|
2152
|
+
},
|
|
2153
|
+
required: [],
|
|
2154
|
+
additionalProperties: false,
|
|
2155
|
+
},
|
|
2156
|
+
output_config: {
|
|
2157
|
+
type: "object",
|
|
2158
|
+
description: "Controls how the model produces its output.",
|
|
2159
|
+
properties: {
|
|
2160
|
+
effort: {
|
|
2161
|
+
type: "string",
|
|
2162
|
+
enum: ["low", "medium", "high", "xhigh", "max"],
|
|
2163
|
+
description: "Reasoning effort for reasoning models.",
|
|
2164
|
+
},
|
|
2165
|
+
format: {
|
|
2166
|
+
type: "object",
|
|
2167
|
+
description: "Structured output. Constrains the model to return content matching a JSON Schema.",
|
|
2168
|
+
properties: {
|
|
2169
|
+
type: {
|
|
2170
|
+
type: "string",
|
|
2171
|
+
enum: ["json_schema"],
|
|
2172
|
+
description: "The structured output type. Always `json_schema`.",
|
|
2173
|
+
},
|
|
2174
|
+
schema: {
|
|
2175
|
+
type: "object",
|
|
2176
|
+
description: "The JSON Schema the output must conform to.",
|
|
2177
|
+
additionalProperties: true,
|
|
2178
|
+
},
|
|
2179
|
+
},
|
|
2180
|
+
required: ["type", "schema"],
|
|
2181
|
+
additionalProperties: false,
|
|
2182
|
+
},
|
|
2183
|
+
},
|
|
2184
|
+
required: [],
|
|
2185
|
+
additionalProperties: false,
|
|
2186
|
+
},
|
|
2187
|
+
cache_control: {
|
|
2188
|
+
type: "object",
|
|
2189
|
+
description: "Top-level prompt caching marker. Sets a cache breakpoint on the last cacheable content block in the request, equivalent to setting `cache_control` on that block directly.",
|
|
2190
|
+
properties: {
|
|
2191
|
+
type: {
|
|
2192
|
+
type: "string",
|
|
2193
|
+
enum: ["ephemeral"],
|
|
2194
|
+
description: "The cache control type. Always `ephemeral`.",
|
|
2195
|
+
},
|
|
2196
|
+
ttl: {
|
|
2197
|
+
type: "string",
|
|
2198
|
+
enum: ["5m", "1h"],
|
|
2199
|
+
description: "Cache lifetime.",
|
|
2200
|
+
},
|
|
2201
|
+
},
|
|
2202
|
+
required: ["type"],
|
|
2203
|
+
additionalProperties: false,
|
|
2204
|
+
},
|
|
2205
|
+
},
|
|
2206
|
+
required: ["model", "max_tokens", "messages"],
|
|
2207
|
+
additionalProperties: false,
|
|
2208
|
+
},
|
|
2209
|
+
generate_images: {
|
|
2210
|
+
type: "object",
|
|
2211
|
+
description: "JSON request body for the Image Generation API.",
|
|
2212
|
+
properties: {
|
|
2213
|
+
model: {
|
|
2214
|
+
type: "string",
|
|
2215
|
+
enum: [
|
|
2216
|
+
"openai/gpt-image-2.5-flare",
|
|
2217
|
+
"openai/gpt-image-2.5-sunburst",
|
|
2218
|
+
"openai/gpt-image-2",
|
|
2219
|
+
"openai/gpt-image-1-mini",
|
|
2220
|
+
"google/gemini-3-pro-image",
|
|
2221
|
+
"google/gemini-3.1-flash-image",
|
|
2222
|
+
"nano-banana-pro",
|
|
2223
|
+
"nano-banana-2",
|
|
2224
|
+
],
|
|
2225
|
+
description: "The model to use. Aliases `nano-banana-pro` (= `google/gemini-3-pro-image`) and `nano-banana-2` (= `google/gemini-3.1-flash-image`) are also accepted.",
|
|
2226
|
+
},
|
|
2227
|
+
prompt: {
|
|
2228
|
+
type: "string",
|
|
2229
|
+
description: "The text description for the model. The length limit is set by the model.",
|
|
2230
|
+
},
|
|
2231
|
+
n: {
|
|
2232
|
+
type: "integer",
|
|
2233
|
+
minimum: 1,
|
|
2234
|
+
maximum: 10,
|
|
2235
|
+
description: "(GPT only) Number of images to generate. For Gemini, request multiple images in the `prompt` instead.",
|
|
2236
|
+
},
|
|
2237
|
+
size: {
|
|
2238
|
+
type: "string",
|
|
2239
|
+
description: "Output size as `width x height` (e.g. `1024x1024`) or `auto`.",
|
|
2240
|
+
},
|
|
2241
|
+
quality: {
|
|
2242
|
+
type: "string",
|
|
2243
|
+
enum: ["low", "medium", "high", "xhigh", "max", "auto"],
|
|
2244
|
+
description: "(GPT only) Generation quality.",
|
|
2245
|
+
},
|
|
2246
|
+
background: {
|
|
2247
|
+
type: "string",
|
|
2248
|
+
enum: ["transparent", "opaque", "auto"],
|
|
2249
|
+
description: "(GPT only) Background setting.",
|
|
2250
|
+
},
|
|
2251
|
+
output_format: {
|
|
2252
|
+
type: "string",
|
|
2253
|
+
enum: ["png", "jpeg", "webp"],
|
|
2254
|
+
description: "Output image format. GPT supports png/jpeg/webp; Gemini supports png/jpeg (webp falls back to png).",
|
|
2255
|
+
},
|
|
2256
|
+
output_compression: {
|
|
2257
|
+
type: "integer",
|
|
2258
|
+
minimum: 0,
|
|
2259
|
+
maximum: 100,
|
|
2260
|
+
description: "(GPT only) Compression level (percent). Effective only when `output_format` is jpeg or webp.",
|
|
2261
|
+
},
|
|
2262
|
+
moderation: {
|
|
2263
|
+
type: "string",
|
|
2264
|
+
enum: ["low", "auto"],
|
|
2265
|
+
description: "(GPT only) Content moderation strength.",
|
|
2266
|
+
},
|
|
2267
|
+
thinking_level: {
|
|
2268
|
+
type: "string",
|
|
2269
|
+
enum: ["minimal", "high"],
|
|
2270
|
+
description: "(Gemini only) Thinking effort before generation.",
|
|
2271
|
+
},
|
|
2272
|
+
response_modalities: {
|
|
2273
|
+
type: "array",
|
|
2274
|
+
description: '(Gemini only) Controls returned modalities. `["text","image"]` returns the image plus accompanying text; `["image"]` returns only the image.',
|
|
2275
|
+
items: {
|
|
2276
|
+
type: "string",
|
|
2277
|
+
enum: ["text", "image"],
|
|
2278
|
+
description: "response modalities item.",
|
|
2279
|
+
},
|
|
2280
|
+
},
|
|
2281
|
+
media_resolution: {
|
|
2282
|
+
type: "string",
|
|
2283
|
+
enum: ["low", "medium", "high"],
|
|
2284
|
+
description: "(Gemini only) Processing resolution for input reference images.",
|
|
2285
|
+
},
|
|
2286
|
+
user: {
|
|
2287
|
+
type: "string",
|
|
2288
|
+
description: "A unique identifier for the end user. Use hashed or pseudonymous identifiers to avoid passing personally identifiable information.",
|
|
2289
|
+
},
|
|
2290
|
+
image_urls: {
|
|
2291
|
+
type: "array",
|
|
2292
|
+
description: "Public reference image URLs. The connector downloads them for editing; do not pass base64.",
|
|
2293
|
+
items: {
|
|
2294
|
+
type: "string",
|
|
2295
|
+
format: "uri",
|
|
2296
|
+
description: "Public reference image URL.",
|
|
2297
|
+
},
|
|
2298
|
+
minItems: 1,
|
|
2299
|
+
},
|
|
2300
|
+
mask_url: {
|
|
2301
|
+
type: "string",
|
|
2302
|
+
format: "uri",
|
|
2303
|
+
description: "Public PNG mask URL matching the reference image dimensions; transparent areas are repainted.",
|
|
2304
|
+
},
|
|
2305
|
+
},
|
|
2306
|
+
required: ["model", "prompt"],
|
|
2307
|
+
additionalProperties: false,
|
|
2308
|
+
dependentRequired: {
|
|
2309
|
+
mask_url: ["image_urls"],
|
|
2310
|
+
},
|
|
2311
|
+
},
|
|
2312
|
+
generate_video: {
|
|
2313
|
+
type: "object",
|
|
2314
|
+
description: "JSON request body for the Video Generation API.",
|
|
2315
|
+
properties: {
|
|
2316
|
+
model: {
|
|
2317
|
+
type: "string",
|
|
2318
|
+
enum: [
|
|
2319
|
+
"minimax/minimax-h3",
|
|
2320
|
+
"bytedance/seedance-2.5",
|
|
2321
|
+
"google/veo-3.1",
|
|
2322
|
+
"google/veo-3.1-fast",
|
|
2323
|
+
"google/veo-3.1-lite",
|
|
2324
|
+
],
|
|
2325
|
+
description: "The model to use.",
|
|
2326
|
+
},
|
|
2327
|
+
prompt: {
|
|
2328
|
+
type: "string",
|
|
2329
|
+
description: "The text description of the video.",
|
|
2330
|
+
},
|
|
2331
|
+
duration: {
|
|
2332
|
+
type: "integer",
|
|
2333
|
+
description: "Video length in seconds. When omitted, the model default applies.",
|
|
2334
|
+
},
|
|
2335
|
+
resolution: {
|
|
2336
|
+
type: "string",
|
|
2337
|
+
enum: ["480p", "720p", "768p", "1080p", "2K"],
|
|
2338
|
+
description: "Output resolution. When omitted, the model default applies.",
|
|
2339
|
+
},
|
|
2340
|
+
aspect_ratio: {
|
|
2341
|
+
type: "string",
|
|
2342
|
+
enum: ["16:9", "4:3", "1:1", "3:4", "9:16", "21:9", "adaptive"],
|
|
2343
|
+
description: "Aspect ratio. `adaptive` lets the model follow the input. When omitted, the model default applies.",
|
|
2344
|
+
},
|
|
2345
|
+
frame_images: {
|
|
2346
|
+
type: "array",
|
|
2347
|
+
description: "Images to use as the first and last frames of the video.",
|
|
2348
|
+
items: {
|
|
2349
|
+
type: "object",
|
|
2350
|
+
description: "frame images item.",
|
|
2351
|
+
properties: {
|
|
2352
|
+
image: {
|
|
2353
|
+
type: "string",
|
|
2354
|
+
description: "Image URL or base64 data.",
|
|
2355
|
+
},
|
|
2356
|
+
frame_type: {
|
|
2357
|
+
type: "string",
|
|
2358
|
+
enum: ["first_frame", "last_frame"],
|
|
2359
|
+
description: "Whether the image is the first or the last frame.",
|
|
2360
|
+
},
|
|
2361
|
+
},
|
|
2362
|
+
required: ["image", "frame_type"],
|
|
2363
|
+
additionalProperties: false,
|
|
2364
|
+
},
|
|
2365
|
+
},
|
|
2366
|
+
input_references: {
|
|
2367
|
+
type: "array",
|
|
2368
|
+
description: "Reference images that guide generation without locking specific frames.",
|
|
2369
|
+
items: {
|
|
2370
|
+
type: "object",
|
|
2371
|
+
description: "input references item.",
|
|
2372
|
+
properties: {
|
|
2373
|
+
image: {
|
|
2374
|
+
type: "string",
|
|
2375
|
+
description: "Image URL or base64 data.",
|
|
2376
|
+
},
|
|
2377
|
+
},
|
|
2378
|
+
required: ["image"],
|
|
2379
|
+
additionalProperties: false,
|
|
2380
|
+
},
|
|
2381
|
+
},
|
|
2382
|
+
generate_audio: {
|
|
2383
|
+
type: "boolean",
|
|
2384
|
+
description: "Whether to generate audio along with the video.",
|
|
2385
|
+
},
|
|
2386
|
+
seed: {
|
|
2387
|
+
type: "integer",
|
|
2388
|
+
description: "Random seed, for more reproducible results.",
|
|
2389
|
+
},
|
|
2390
|
+
extra_params: {
|
|
2391
|
+
type: "object",
|
|
2392
|
+
description: "Vendor-specific parameters, passed through to the upstream model without validation. Keys that duplicate a unified parameter, or that control upstream storage, notification, sample count, or platform behavior, are rejected.",
|
|
2393
|
+
additionalProperties: true,
|
|
2394
|
+
},
|
|
2395
|
+
},
|
|
2396
|
+
required: ["model", "prompt"],
|
|
2397
|
+
additionalProperties: false,
|
|
2398
|
+
},
|
|
2399
|
+
generate_grounded: {
|
|
2400
|
+
type: "object",
|
|
2401
|
+
description: "Request body for the Grounded Generation API.",
|
|
2402
|
+
properties: {
|
|
2403
|
+
modality: {
|
|
2404
|
+
type: "string",
|
|
2405
|
+
enum: ["image", "video"],
|
|
2406
|
+
description: "The type of output to generate.",
|
|
2407
|
+
},
|
|
2408
|
+
prompt: {
|
|
2409
|
+
type: "string",
|
|
2410
|
+
minLength: 1,
|
|
2411
|
+
maxLength: 8000,
|
|
2412
|
+
description: "The text description of what to generate.",
|
|
2413
|
+
},
|
|
2414
|
+
model: {
|
|
2415
|
+
type: "string",
|
|
2416
|
+
enum: ["google/gemini-3-pro-image", "google/gemini-3.1-flash-image", "minimax/hailuo-3"],
|
|
2417
|
+
description: "The model to use. When omitted, the model default applies.",
|
|
2418
|
+
},
|
|
2419
|
+
aspect_ratio: {
|
|
2420
|
+
type: "string",
|
|
2421
|
+
enum: ["16:9", "1:1", "9:16"],
|
|
2422
|
+
description: "Aspect ratio of the output.",
|
|
2423
|
+
},
|
|
2424
|
+
duration: {
|
|
2425
|
+
type: "integer",
|
|
2426
|
+
minimum: 5,
|
|
2427
|
+
maximum: 10,
|
|
2428
|
+
description: "Video length in seconds. Applies when `modality` is `video`. Values outside the allowed range are adjusted to the nearest bound.",
|
|
2429
|
+
},
|
|
2430
|
+
},
|
|
2431
|
+
required: ["modality", "prompt"],
|
|
2432
|
+
additionalProperties: false,
|
|
2433
|
+
},
|
|
2434
|
+
};
|