Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 63 additions & 6 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6337,14 +6337,14 @@ components:
type: 'web_search_preview'
properties:
allowed_domains:
description: 'Limit search results to these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, and most native providers (Anthropic, OpenAI, xAI). Cannot be used with excluded_domains.'
description: 'Limit search results to these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, and most native providers (Anthropic, OpenAI, SpaceXAI). Cannot be used with excluded_domains.'
items:
type: 'string'
type: 'array'
engine:
$ref: '#/components/schemas/WebSearchEngineEnum'
excluded_domains:
description: 'Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, Anthropic, OpenAI, and xAI. Cannot be used with allowed_domains.'
description: 'Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, Anthropic, OpenAI, and SpaceXAI. Cannot be used with allowed_domains.'
items:
type: 'string'
type: 'array'
Expand Down Expand Up @@ -6379,6 +6379,8 @@ components:
type: 'string'
user_location:
$ref: '#/components/schemas/WebSearchUserLocationServerTool'
x_search:
$ref: '#/components/schemas/XSearchOptions'
required:
- 'type'
type: 'object'
Expand Down Expand Up @@ -13135,6 +13137,8 @@ components:
type: 'string'
user_location:
$ref: '#/components/schemas/WebSearchUserLocation'
x_search:
$ref: '#/components/schemas/XSearchOptions'
required:
- 'type'
type: 'object'
Expand Down Expand Up @@ -22381,6 +22385,8 @@ components:
type: 'string'
user_location:
$ref: '#/components/schemas/Preview_WebSearchUserLocation'
x_search:
$ref: '#/components/schemas/XSearchOptions'
required:
- 'type'
type: 'object'
Expand Down Expand Up @@ -22411,6 +22417,8 @@ components:
type: 'string'
user_location:
$ref: '#/components/schemas/Preview_WebSearchUserLocation'
x_search:
$ref: '#/components/schemas/XSearchOptions'
required:
- 'type'
type: 'object'
Expand Down Expand Up @@ -28898,14 +28906,14 @@ components:
search_context_size: 'medium'
properties:
allowed_domains:
description: 'Limit search results to these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, and most native providers (Anthropic, OpenAI, xAI). Cannot be used with excluded_domains.'
description: 'Limit search results to these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, and most native providers (Anthropic, OpenAI, SpaceXAI). Cannot be used with excluded_domains.'
items:
type: 'string'
type: 'array'
engine:
$ref: '#/components/schemas/WebSearchEngineEnum'
excluded_domains:
description: 'Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, Anthropic, OpenAI, and xAI. Cannot be used with allowed_domains.'
description: 'Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, Anthropic, OpenAI, and SpaceXAI. Cannot be used with allowed_domains.'
items:
type: 'string'
type: 'array'
Expand All @@ -28931,6 +28939,8 @@ components:
$ref: '#/components/schemas/SearchQualityLevel'
user_location:
$ref: '#/components/schemas/WebSearchUserLocationServerTool'
x_search:
$ref: '#/components/schemas/XSearchOptions'
type: 'object'
WebSearchDomainFilter:
example:
Expand Down Expand Up @@ -29051,6 +29061,8 @@ components:
type: 'approximate'
required:
- 'type'
x_search:
$ref: '#/components/schemas/XSearchOptions'
required:
- 'id'
type: 'object'
Expand Down Expand Up @@ -29085,6 +29097,8 @@ components:
type: 'string'
user_location:
$ref: '#/components/schemas/WebSearchUserLocation'
x_search:
$ref: '#/components/schemas/XSearchOptions'
required:
- 'type'
type: 'object'
Expand All @@ -29111,14 +29125,14 @@ components:
search_context_size: 'medium'
properties:
allowed_domains:
description: 'Limit search results to these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, and most native providers (Anthropic, OpenAI, xAI). Cannot be used with excluded_domains.'
description: 'Limit search results to these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, and most native providers (Anthropic, OpenAI, SpaceXAI). Cannot be used with excluded_domains.'
items:
type: 'string'
type: 'array'
engine:
$ref: '#/components/schemas/WebSearchEngineEnum'
excluded_domains:
description: 'Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, Anthropic, OpenAI, and xAI. Cannot be used with allowed_domains.'
description: 'Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Perplexity, Anthropic, OpenAI, and SpaceXAI. Cannot be used with allowed_domains.'
items:
type: 'string'
type: 'array'
Expand All @@ -29144,6 +29158,8 @@ components:
$ref: '#/components/schemas/SearchQualityLevel'
user_location:
$ref: '#/components/schemas/WebSearchUserLocationServerTool'
x_search:
$ref: '#/components/schemas/XSearchOptions'
type: 'object'
WebSearchSource:
example:
Expand Down Expand Up @@ -29455,6 +29471,47 @@ components:
- 'role'
- 'created_at'
type: 'object'
XSearchOptions:
additionalProperties: false
description: 'Enable SpaceXAI X (Twitter) search alongside native web search, with optional filters. Only applies to SpaceXAI endpoints with native search; omit to search the web only. X search is billed separately by SpaceXAI, per post and per user profile fetched.'
example:
allowed_x_handles:
- 'OpenRouterAI'
from_date: '2025-01-01'
properties:
allowed_x_handles:
description: 'Only include posts from these X handles (max 20). Cannot be used with excluded_x_handles.'
example:
- 'OpenRouterAI'
items:
type: 'string'
maxItems: 20
type: 'array'
enable_image_understanding:
description: 'Analyze images attached to matching posts.'
type: 'boolean'
enable_video_understanding:
description: 'Analyze videos attached to matching posts.'
type: 'boolean'
excluded_x_handles:
description: 'Exclude posts from these X handles (max 20). Cannot be used with allowed_x_handles.'
example:
- 'spamaccount'
items:
type: 'string'
maxItems: 20
type: 'array'
from_date:
description: 'Start of the post date range (ISO 8601 date, e.g. "2025-01-01").'
example: '2025-01-01'
format: 'date'
type: 'string'
to_date:
description: 'End of the post date range (ISO 8601 date, e.g. "2025-12-31").'
example: '2025-12-31'
format: 'date'
type: 'string'
type: 'object'
securitySchemes:
apiKey:
description: 'API key as bearer token in Authorization header'
Expand Down
Loading