---
title: "Consulter une responsabilité récurrente"
method: GET
path: "/api/v1/routines/{id}"
tags: ["AI Workforce", "Routines"]
---

# Consulter une responsabilité récurrente

`GET /api/v1/routines/{id}`

## Request

- Base URL: `https://arcadeops.leadalpes.fr`
- URL: `https://arcadeops.leadalpes.fr/api/v1/routines/{id}`
- Auth: none declared

Retourne le détail produit d'une LoopDefinition et au plus dix activations récentes, toutes bornées à l'organisation courante.

## Path parameters

- `id` string, required

## Response `200`

Détail de la Routine

- RoutineDetail
  - `id` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `status` 'DRAFT' | 'ACTIVE' | 'PAUSED' | 'ARCHIVED', required
  - `statusLabel` string, required
  - `agent` object, required
    - `id` string, required
    - `name` string, required
    - `handle` string, required
    - `status` string, required
  - `expectedOutput` string, required
  - `schedule` object, required
    - `triggerType` 'MANUAL' | 'SCHEDULE' | 'EVENT', required
    - `frequencyLabel` string, required
    - `cron` string, nullable, required
    - `timezone` string, required
    - `enabled` boolean, nullable, required
    - `lastActivationAt` string, nullable, required
    - `nextActivationAt` string, nullable, required
  - `policy` object, required
    - `approvalRequired` boolean, nullable, required
    - `approvalLabel` string, required
    - `evaluationLabel` string, required
    - `blocksOnEvaluationFailure` boolean, required
    - `budgetLabel` string, required
  - `runCount` integer, required
  - `lastResult` object, nullable, required
    - `id` string, required
    - `status` 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'FAILED' | 'CANCELLED' | 'BLOCKED_EVAL', required
    - `statusLabel` string, required
    - `resultLabel` string, required
    - `triggeredAt` string, required
    - `completedAt` string, nullable, required
    - `missionId` string, nullable, required
    - `taskId` string, nullable, required
    - `taskTitle` string, nullable, required
    - `agentRunId` string, nullable, required
  - `updatedAt` string, required
  - `recentActivations` object[], required
    - `id` string, required
    - `status` 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'FAILED' | 'CANCELLED' | 'BLOCKED_EVAL', required
    - `statusLabel` string, required
    - `resultLabel` string, required
    - `triggeredAt` string, required
    - `completedAt` string, nullable, required
    - `missionId` string, nullable, required
    - `taskId` string, nullable, required
    - `taskTitle` string, nullable, required
    - `agentRunId` string, nullable, required

## Other responses

- `400`: Fonctionnalité Routines désactivée
- `401`: Authentification requise
- `403`: Droits LOOP_READ insuffisants
- `404`: Routine introuvable dans l'organisation
- `429`: Limite de requêtes atteinte

---

[API](https://skmtc.dev/leadalpes/apis/arcadeops-api.md) · [All operations](https://skmtc.dev/leadalpes/apis/arcadeops-api/llms.txt) · [OpenAPI document](https://skmtc.dev/leadalpes/apis/arcadeops-api/revisions/f10422ec7412?raw)
