Files
mintlify__docs/fr/api/agent/v2/create-agent-job.mdx
mintlify[bot] fed930aa2d docs: translate Vale-warning fixes into es, fr, zh (#6380)
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
2026-07-03 00:33:45 +00:00

27 lines
1006 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Créer une tâche d'agent"
openapi: /fr/admin-openapi.json POST /v2/agent/{projectId}/job
keywords: [ "tâche d'agent", "créer", "automatisation", "automatiser" ]
---
Ce point de terminaison crée une tâche d&#39;agent en arrière-plan. La tâche s&#39;exécute de manière asynchrone. Utilisez le point de terminaison [récupérer une tâche d&#39;agent](/fr/api/agent/v2/get-agent-job) pour vérifier régulièrement les mises à jour de statut.
Si l&#39;agent modifie les fichiers avec succès, Mintlify crée une pull request (demande de fusion) et renseigne le champ `prLink` dans la réponse de la tâche.
<div id="rate-limits">
## Limites d’utilisation
</div>
* 100 utilisations par projet Mintlify et par heure
<div id="usage">
## Utilisation
</div>
```bash
curl -X POST https://api.mintlify.com/v2/agent/{projectId}/job \
-H "Authorization: Bearer mint_xxxxx" \
-H "Content-Type: application/json" \
-d '{"prompt": "Add a quickstart guide for the Python SDK"}'
```