Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Generate comprehensive site maps using Tavily Map.

サーバー:https://openapi.felo.ai
クライアントライブラリ

Web Content

​

Web crawling, URL discovery and page extraction.

Web Content 操作

Generate comprehensive site maps using Tavily Map.

​

List a site's URLs from a root url without fetching any page content. Steer it with natural-language instructions and regex select_paths / exclude_paths / select_domains filters. Returns base_url and results — a flat array of URL strings, not objects — with response_time and request_id. Use it to size a site before committing to a crawl, then fetch only the parts that matter with extractWebContent. When you want the content rather than the shape, post_tavily_crawl does both in one call.

リクエストボディ
必須
application/json
  • url
    型: string
    必須

    The root URL to begin the mapping.

  • allow_external
    型: boolean

    Include external domain links in the final results list.

  • exclude_domains
    型: array string[]

    Regex patterns to exclude specific domains or subdomains from mapping.

  • exclude_paths
    型: array string[]

    Regex patterns to exclude URLs with specific path patterns.

  • include_usage
    型: boolean

    Include credit usage information in the response.

  • instructions
    型: string

    Natural language instructions for the crawler.

  • limit
    型: integer
    最小値:  
    1

    Total number of links the crawler will process before stopping.

  • max_breadth
    型: integer
    最小値:  
    1
    最大値:  
    500

    Max number of links to follow per level of the tree.

  • max_depth
    型: integer
    最小値:  
    1
    最大値:  
    5

    Max depth of the mapping.

  • select_domains
    型: array string[]

    Regex patterns to select crawling to specific domains or subdomains.

  • select_paths
    型: array string[]

    Regex patterns to select only URLs with specific path patterns.

  • timeout
    型: number 形式: float
    最小値:  
    10
    最大値:  
    150

    Maximum time in seconds to wait for the map operation.

レスポンス
  • 200
    型: object

    Map results returned successfully.

    • base_url
      型: string

      The base URL that was mapped.

    • request_id
      型: string

      Unique request identifier.

    • response_time
      型: number 形式: float

      Time in seconds it took to complete the request.

    • results
      型: array string[]
    • usage
      型: object
      • credits
        型: integer

        Credit usage details for the request.

    application/json
  • 400

    The request could not be processed. Check the request parameters.

  • 401

    A valid Felo API key is required.

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    A request or spending limit has been reached.

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for post/v1/beta/tavily/map
curl https://openapi.felo.ai/v1/beta/tavily/map \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "url": "docs.tavily.com",
  "instructions": "",
  "max_depth": 1,
  "max_breadth": 20,
  "limit": 50,
  "select_paths": [
    ""
  ],
  "select_domains": [
    ""
  ],
  "exclude_paths": [
    ""
  ],
  "exclude_domains": [
    ""
  ],
  "allow_external": true,
  "timeout": 150,
  "include_usage": false
}'
{
  "base_url": "string",
  "results": [
    "string"
  ],
  "response_time": 1,
  "usage": {
    "credits": 1
  },
  "request_id": "string"
}
Generate comprehensive site maps using Tavily Map.