メインコンテンツへスキップ
POST
/
v1
/
monitors
/
{monitor_id}
/
pause
モニターの一時停止
curl --request POST \
  --url https://api.olostep.com/v1/monitors/{monitor_id}/pause \
  --header 'Authorization: Bearer <token>'
{
  "id": "monitor_5hktz469jy",
  "object": "monitor",
  "created_at": 1777983215,
  "updated_at": 1777986822,
  "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": "paused",
  "team_id": "team_5hktz469jyF"
}

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.

承認

Authorization
string
header
必須

Bearer 形式のBearer認証ヘッダー。はあなたの認証トークンです。

パスパラメータ

monitor_id
string
必須

ユニークなモニター識別子。monitor_で始める必要があります。

Pattern: ^monitor_

レスポンス

モニターが正常に一時停止されました。モニターは statuspaused に設定された状態で返されます。

id
string

ユニークなモニター識別子。

object
string
:

"monitor"

team_id
string
status
enum<string>

モニターのライフサイクルステータス。一般的な値: active (スケジュール通りに実行中), paused (/pauseでスケジュールが無効化され、/resumeで再開可能), deleted (ソフト削除)。

利用可能なオプション:
active,
paused,
deleted
fda_id
string
query
string

自然言語でのモニタリングの意図。クエリにURLが含まれている場合、モニターはそのURLに焦点を当てます。

frequency
string

自然言語でのスケジュール指示(例: '毎日午前9時 America/Los_Angeles' または '毎週平日14:30')。タイムゾーンが指定されていない場合は、UTCが使用されます。

cron_expression
string | null
notification_channel
enum<string>
利用可能なオプション:
email,
webhook,
sms
notification_target
string
metadata
object
output_schema
object

構造化されたモニター抽出出力を強制するために使用されるオプションのJSONスキーマ。

error_message
string | null
created_at
integer

Unixタイムスタンプ。

updated_at
integer

Unixタイムスタンプ。