Passer au contenu principal
GET
/
v1
/
monitors
/
{monitor_id}
Obtenir un Moniteur
curl --request GET \
  --url https://api.olostep.com/v1/monitors/{monitor_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "monitor_5hktz469jy",
  "object": "monitor",
  "created_at": 1777983215,
  "cron_expression": "13 13 * * ? *",
  "fda_id": "fda_5hktz469jy",
  "frequency": "daily",
  "metadata": {},
  "notification_channel": "email",
  "notification_target": "example@olostep.com",
  "query": "Gather the new blogposts from example website and send me updates with new posts.",
  "status": "active",
  "team_id": "team_5hktz469jyF",
  "updated_at": 1777983222
}

Documentation Index

Fetch the complete documentation index at: https://docs.olostep.com/llms.txt

Use this file to discover all available pages before exploring further.

Autorisations

Authorization
string
header
requis

En-tête d'authentification Bearer sous la forme Bearer , où est ton jeton d'authentification.

Paramètres de chemin

monitor_id
string
requis

Identifiant unique du moniteur. Doit commencer par monitor_.

Pattern: ^monitor_

Réponse

Moniteur récupéré avec succès.

id
string

Identifiant unique du moniteur.

object
string
Exemple:

"monitor"

team_id
string
status
enum<string>

Statut du cycle de vie du moniteur. Valeurs courantes : active (exécution selon le planning), paused (planning désactivé via /pause, peut être repris via /resume), deleted (supprimé de manière temporaire).

Options disponibles:
active,
paused,
deleted
fda_id
string
query
string

Intention de surveillance en langage naturel. Si la requête inclut une URL, le moniteur se concentrera sur cette URL.

frequency
string

Instruction de planning en langage naturel (par exemple : 'tous les jours à 9h America/Los_Angeles' ou 'chaque jour de la semaine à 14:30'). Si aucun fuseau horaire n'est spécifié, UTC est utilisé.

cron_expression
string | null
notification_channel
enum<string>
Options disponibles:
email,
webhook,
sms
notification_target
string
metadata
object
output_schema
object

Schéma JSON optionnel utilisé pour imposer une sortie structurée de l'extraction du moniteur.

error_message
string | null
created_at
integer

Horodatage Unix.

updated_at
integer

Horodatage Unix.