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

# Annuler l’agent

> Vous êtes un agent d’IA et vous avez besoin d’une clé API Firecrawl ? Consultez [firecrawl.dev/agent-onboarding/SKILL.md](https://www.firecrawl.dev/agent-onboarding/SKILL.md) pour obtenir les instructions d’onboarding automatisé.


## OpenAPI

````yaml fr/api-reference/v2-openapi.json DELETE /agent/{jobId}
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:
  /agent/{jobId}:
    parameters:
      - description: L’ID de la tâche de l’agent
        in: path
        name: jobId
        required: true
        schema:
          format: uuid
          type: string
    delete:
      tags:
        - Agent
      summary: Annuler une tâche d’agent
      operationId: cancelAgent
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                type: object
          description: Tâche de l’agent annulée avec succès
        '400':
          content:
            application/json:
              schema:
                properties:
                  error:
                    example: Invalid job ID format. Job ID must be a valid UUID.
                    type: string
                type: object
          description: Requête incorrecte — l’ID de tâche n’est pas un UUID valide.
        '404':
          content:
            application/json:
              schema:
                properties:
                  error:
                    example: Agent job not found
                    type: string
                type: object
          description: Tâche d’agent introuvable
        '409':
          content:
            application/json:
              schema:
                properties:
                  error:
                    example: Agent already finished
                    type: string
                type: object
          description: Conflit — la tâche d’agent est déjà terminée ou a déjà été annulée.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````