> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firecrawl.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Retour sur le point de terminaison

> Envoyez un retour sur une tâche terminée d’un point de terminaison v2.

Utilisez le retour sur le point de terminaison pour indiquer à Firecrawl si le résultat d’une tâche terminée était utile, partiel ou médiocre. Cela concerne la qualité de la sortie au niveau du point de terminaison pour des tâches comme `scrape`, `parse`, `map` et `search`.

Le schéma de retour générique peut aussi inclure des champs propres à la recherche, mais [Retour sur la recherche](/fr/api-reference/endpoint/search-feedback) est le point d’entrée spécifique à la recherche à privilégier, car il est associé à un ID de tâche de recherche et met en avant les sources utiles, le contenu manquant, les suggestions de requête et la politique de remboursement.

<div id="example-request">
  ### Exemple de requête
</div>

```bash theme={null}
curl -X POST "https://api.firecrawl.dev/v2/feedback" \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoint": "scrape",
    "jobId": "550e8400-e29b-41d4-a716-446655440000",
    "rating": "partial",
    "issues": ["missing_markdown"],
    "note": "The pricing table was missing from the markdown output.",
    "url": "https://example.com/pricing"
  }'
```


## OpenAPI

````yaml fr/api-reference/v2-openapi.json POST /feedback
openapi: 3.0.0
info:
  contact:
    email: support@firecrawl.dev
    name: Firecrawl Support
    url: https://firecrawl.dev/support
  description: >-
    API pour interagir avec les services Firecrawl afin d’effectuer des tâches
    de scraping et de crawling web.
  title: Firecrawl API
  version: v2
servers:
  - url: https://api.firecrawl.dev/v2
security:
  - bearerAuth: []
paths:
  /feedback:
    post:
      tags:
        - Feedback
      summary: Envoyer un retour pour une tâche v2
      operationId: submitEndpointFeedback
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointFeedbackRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackResponse'
          description: Retour enregistré
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackErrorResponse'
          description: Corps de la requête invalide
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackErrorResponse'
          description: Le retour n’est pas disponible pour cette équipe
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackErrorResponse'
          description: Tâche introuvable pour cette équipe
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackErrorResponse'
          description: Le retour ne peut pas être enregistré pour cette tâche
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackErrorResponse'
          description: Erreur serveur
      security:
        - bearerAuth: []
components:
  schemas:
    EndpointFeedbackRequest:
      allOf:
        - $ref: '#/components/schemas/SearchFeedbackRequest'
        - description: >-
            Envoyer un retour pour une tâche v2. Incluez au moins un signal
            significatif, comme issues, note, valuableSources, missingContent,
            querySuggestions, url ou pageNumbers.
          properties:
            endpoint:
              enum:
                - search
                - scrape
                - parse
                - map
              type: string
            issues:
              items:
                maxLength: 80
                pattern: ^[a-z0-9][a-z0-9_-]*$
                type: string
              maxItems: 20
              type: array
            jobId:
              format: uuid
              type: string
            metadata:
              additionalProperties: true
              description: "Petit objet de métadonnées spécifique au point de terminaison. Il doit faire 8KB maximum\_; n’incluez pas les résultats complets du point de terminaison."
              type: object
            missingContent:
              items:
                properties:
                  description:
                    maxLength: 2000
                    type: string
                  topic:
                    maxLength: 200
                    minLength: 1
                    type: string
                required:
                  - topic
                type: object
              maxItems: 50
              type: array
            note:
              maxLength: 4000
              type: string
            pageNumbers:
              items:
                minimum: 1
                type: integer
              maxItems: 100
              type: array
            tags:
              items:
                maxLength: 80
                pattern: ^[a-z0-9][a-z0-9_-]*$
                type: string
              maxItems: 20
              type: array
            url:
              format: uri
              type: string
          required:
            - endpoint
            - jobId
          type: object
    FeedbackResponse:
      properties:
        alreadySubmitted:
          type: boolean
        creditsRefunded:
          type: number
        creditsRefundedToday:
          type: number
        dailyCapReached:
          type: boolean
        dailyRefundCap:
          type: number
        feedbackId:
          format: uuid
          type: string
        success:
          example: true
          type: boolean
        warning:
          type: string
      required:
        - success
        - feedbackId
        - creditsRefunded
      type: object
    FeedbackErrorResponse:
      properties:
        details:
          items:
            type: object
          type: array
        error:
          type: string
        feedbackErrorCode:
          type: string
        success:
          example: false
          type: boolean
      required:
        - success
        - error
      type: object
    SearchFeedbackRequest:
      description: "Pour «\_good\_», incluez valuableSources. Pour «\_partial\_», incluez valuableSources ou missingContent. Pour «\_bad\_», incluez missingContent ou querySuggestions."
      properties:
        integration:
          nullable: true
          type: string
        missingContent:
          items:
            properties:
              description:
                maxLength: 2000
                type: string
              topic:
                maxLength: 200
                minLength: 1
                type: string
            required:
              - topic
            type: object
          maxItems: 20
          type: array
        origin:
          default: api
          type: string
        querySuggestions:
          maxLength: 2000
          type: string
        rating:
          enum:
            - good
            - partial
            - bad
          type: string
        valuableSources:
          items:
            properties:
              reason:
                maxLength: 1000
                type: string
              url:
                format: uri
                type: string
            required:
              - url
            type: object
          maxItems: 50
          type: array
      required:
        - rating
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````