Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Update openapi.json
rafaelsideguidef13ef02a08f2
diff --git a/apps/api/openapi.json b/apps/api/openapi.jsonindex d12a0ac59..e0b583f04 100644--- a/apps/api/openapi.json+++ b/apps/api/openapi.json@@ -93,21 +93,22 @@},"extractorOptions": {"type": "object",- "description": "Options for LLM-based extraction of structured information from the page content",+ "description": "Options for extraction of structured information from the page content. Note: LLM-based extraction is not performed by default and only occurs when explicitly configured. The 'markdown' mode simply returns the scraped markdown and is the default mode for scraping.",+ "default": {},"properties": {"mode": {"type": "string",- "enum": ["llm-extraction", "llm-extraction-from-raw-html"],- "description": "The extraction mode to use. llm-extraction: Extracts information from the cleaned and parsed content. llm-extraction-from-raw-html: Extracts information directly from the raw HTML."+ "enum": ["markdown", "llm-extraction", "llm-extraction-from-raw-html", "llm-extraction-from-markdown"],+ "description": "The extraction mode to use. 'markdown': Returns the scraped markdown content, does not perform LLM extraction. 'llm-extraction': Extracts information from the cleaned and parsed content using LLM. 'llm-extraction-from-raw-html': Extracts information directly from the raw HTML using LLM. 'llm-extraction-from-markdown': Extracts information from the markdown content using LLM."},"extractionPrompt": {"type": "string",- "description": "A prompt describing what information to extract from the page"+ "description": "A prompt describing what information to extract from the page, applicable for LLM extraction modes."},"extractionSchema": {"type": "object","additionalProperties": true,- "description": "The schema for the data to be extracted",+ "description": "The schema for the data to be extracted, required only for LLM extraction modes.","required": ["company_mission","supports_sso",@@ -139,13 +140,52 @@}},"402": {- "description": "Payment required"+ "description": "Payment required",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "Payment required to access this resource."+ }+ }+ }+ }+ }},"429": {- "description": "Too many requests"+ "description": "Too many requests",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "Request rate limit exceeded. Please wait and try again later."+ }+ }+ }+ }+ }},"500": {- "description": "Server error"+ "description": "Server error",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "An unexpected error occurred on the server."+ }+ }+ }+ }+ }}}}@@ -302,13 +342,52 @@}},"402": {- "description": "Payment required"+ "description": "Payment required",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "Payment required to access this resource."+ }+ }+ }+ }+ }},"429": {- "description": "Too many requests"+ "description": "Too many requests",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "Request rate limit exceeded. Please wait and try again later."+ }+ }+ }+ }+ }},"500": {- "description": "Server error"+ "description": "Server error",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "An unexpected error occurred on the server."+ }+ }+ }+ }+ }}}}@@ -387,13 +466,52 @@}},"402": {- "description": "Payment required"+ "description": "Payment required",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "Payment required to access this resource."+ }+ }+ }+ }+ }},"429": {- "description": "Too many requests"+ "description": "Too many requests",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "Request rate limit exceeded. Please wait and try again later."+ }+ }+ }+ }+ }},"500": {- "description": "Server error"+ "description": "Server error",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "An unexpected error occurred on the server."+ }+ }+ }+ }+ }}}}@@ -459,13 +577,52 @@}},"402": {- "description": "Payment required"+ "description": "Payment required",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "Payment required to access this resource."+ }+ }+ }+ }+ }},"429": {- "description": "Too many requests"+ "description": "Too many requests",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "Request rate limit exceeded. Please wait and try again later."+ }+ }+ }+ }+ }},"500": {- "description": "Server error"+ "description": "Server error",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "An unexpected error occurred on the server."+ }+ }+ }+ }+ }}}}@@ -509,13 +666,52 @@}},"402": {- "description": "Payment required"+ "description": "Payment required",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "Payment required to access this resource."+ }+ }+ }+ }+ }},"429": {- "description": "Too many requests"+ "description": "Too many requests",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "Request rate limit exceeded. Please wait and try again later."+ }+ }+ }+ }+ }},"500": {- "description": "Server error"+ "description": "Server error",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "error": {+ "type": "string",+ "example": "An unexpected error occurred on the server."+ }+ }+ }+ }+ }}}}