> ## Documentation Index
> Fetch the complete documentation index at: https://student-213fb9fc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Vista previa de parámetros de rastreo



## OpenAPI

````yaml es/api-reference/v2-openapi.json post /crawl/params-preview
openapi: 3.0.0
info:
  title: Firecrawl API
  version: v2
  description: >-
    API para interactuar con los servicios de Firecrawl y realizar tareas de
    scraping y rastreo web.
  contact:
    name: Firecrawl Support
    url: https://firecrawl.dev/support
    email: support@firecrawl.dev
servers:
  - url: https://api.firecrawl.dev/v2
security:
  - bearerAuth: []
paths:
  /crawl/params-preview:
    post:
      tags:
        - Crawling
      summary: >-
        Vista previa de los parámetros de rastreo generados a partir de una
        instrucción en lenguaje natural
      operationId: crawlParamsPreview
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  description: La URL a rastrear
                prompt:
                  type: string
                  maxLength: 10000
                  description: Prompt en lenguaje natural que describe qué quieres rastrear
              required:
                - url
                - prompt
      responses:
        '200':
          description: Respuesta satisfactoria con parámetros de rastreo generados
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      url:
                        type: string
                        format: uri
                        description: La URL que se va a rastrear
                      includePaths:
                        type: array
                        items:
                          type: string
                        description: Patrones de URL a incluir
                      excludePaths:
                        type: array
                        items:
                          type: string
                        description: Patrones de URL para excluir
                      maxDepth:
                        type: integer
                        description: Profundidad máxima de rastreo
                      maxDiscoveryDepth:
                        type: integer
                        description: Profundidad máxima de exploración
                      crawlEntireDomain:
                        type: boolean
                        description: Indica si se debe rastrear todo el dominio
                      allowExternalLinks:
                        type: boolean
                        description: Si se permiten enlaces externos
                      allowSubdomains:
                        type: boolean
                        description: Si se permiten subdominios
                      sitemap:
                        type: string
                        enum:
                          - skip
                          - include
                        description: Estrategia de manejo de sitemaps
                      ignoreQueryParameters:
                        type: boolean
                        description: Ignorar los parámetros de consulta
                      deduplicateSimilarURLs:
                        type: boolean
                        description: Si se deben eliminar las URL similares duplicadas
                      delay:
                        type: number
                        description: Intervalo entre solicitudes en milisegundos
                      limit:
                        type: integer
                        description: Número máximo de páginas a rastrear
        '400':
          description: Solicitud incorrecta
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: Invalid request parameters
        '401':
          description: No autorizado
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: Unauthorized
        '500':
          description: Error del servidor
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: Failed to process natural language prompt
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````