> ## 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.

# ジョブとモニタリングコマンド

> クロール、バッチ、モニター、エージェント、ログ：長時間実行される作業とその履歴。

これらのコマンドは、しばらく実行される作業を開始し、その進行状況と結果を読み取ります。結果をリストするコマンドは、`--limit` と `--cursor`（または `--offset`）でページを通過します。前回の結果からカーソルを渡して次のページを取得します。

## crawl

ウェブサイトをクロールします。`olostep crawl <url>` は `olostep crawl create` を実行します。[Crawls](https://docs.olostep.com/features/crawls.md) を参照してください。

### olostep crawl list

最近のクロールをリストします。

```bash theme={null}
olostep crawl list [--limit integer] [--source text] [--offset integer] [--json] [--fields a,b]
```

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--limit` | いいえ | ページサイズ。 |
| `--source` | いいえ | ソースフィルター。 |
| `--offset` | いいえ | 前のページからのゼロベースのオフセット。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep crawl list --limit 10
```

### olostep crawl get

クロールの進行状況と設定を表示します。

```bash theme={null}
olostep crawl get [--json] [--fields a,b] <crawl_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `crawl_id` | クロールID。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep crawl get <crawl_id>
```

### olostep crawl pages

クロールの結果のページを表示します。各ページには `olostep content retrieve` のためのリトリーブIDがあります。

```bash theme={null}
olostep crawl pages [--limit integer] [--cursor text] [--json] [--fields a,b] <crawl_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `crawl_id` | クロールID。 |

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--limit` | いいえ | このページの最大レコード数。 |
| `--cursor` | いいえ | 前の結果からの不透明な次のカーソル。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep crawl pages <crawl_id>
olostep crawl pages <crawl_id> --limit 100 --json
```

### olostep crawl create

開始URLからリンクをたどり、ページ制限までウェブサイトをクロールします。

> [!NOTE]
>
> クレジットを使用します。

```bash theme={null}
olostep crawl create (--max-pages integer) [--depth integer] [--include-urls string]... [--exclude-urls string]... [--include-external] [--include-subdomain] [--follow-robots-txt] [--ignore-sitemap] [--scrape-options json] [--preview] [--start-url text] [--json] [--fields a,b] [--dry-run] [<start_url>]
```

省略形: `olostep crawl <url>`。

**引数**

| 引数 | 説明 |
| - | - |
| `start_url` | http(s) URL。オプションで、フラグとして渡すこともできます。 |

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `-n`, `--max-pages` | はい | クロールする最大ページ数。 |
| `--depth` | いいえ | 開始URLからの最大リンク深度。 |
| `--include-urls` | いいえ | 含めるURLパターン。フラグを繰り返すか、値をカンマで区切ります。 |
| `--exclude-urls` | いいえ | 除外するURLパターン。フラグを繰り返すか、値をカンマで区切ります。 |
| `--include-external` | いいえ | 外部リンクをたどります。 |
| `--include-subdomain` | いいえ | サブドメインを含めます。 |
| `--follow-robots-txt` | いいえ | robots.txt に従います。 |
| `--ignore-sitemap` | いいえ | サイトマップを無視します。 |
| `--scrape-options` | いいえ | ダッシュボードでサポートされているスクレイプオプション。JSONオブジェクト、または `@file.json`。 |
| `--start-url` | いいえ | `start_url` 引数と同じ。 |

`--json`、`--fields`、`--dry-run`、`--preview` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep crawl https://docs.example.com -n 50
olostep crawl https://example.com -n 200 --depth 3 --include-urls "/blog/**" --exclude-urls "/tag/**"
```

## batch

1つのジョブで多くのURLをスクレイプします。[Batches](https://docs.olostep.com/features/batches.md) を参照してください。

### olostep batch list

最近のバッチをリストします。

```bash theme={null}
olostep batch list [--limit integer] [--source text] [--status text] [--search text] [--offset integer] [--json] [--fields a,b]
```

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--limit` | いいえ | ページサイズ。 |
| `--source` | いいえ | ソースフィルター。 |
| `--status` | いいえ | バッチステータス。 |
| `--search` | いいえ | 検索フィルター。 |
| `--offset` | いいえ | 前のページからのゼロベースのオフセット。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep batch list --limit 20
olostep batch list --status completed --json
```

### olostep batch get

バッチの進行状況とメタデータを表示します。

```bash theme={null}
olostep batch get [--json] [--fields a,b] <batch_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `batch_id` | バッチID。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep batch get <batch_id>
```

### olostep batch items

バッチのアイテムのページを表示します：各入力URLとその結果。

```bash theme={null}
olostep batch items [--limit integer] [--cursor text] [--json] [--fields a,b] <batch_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `batch_id` | バッチID。 |

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--limit` | いいえ | このページの最大レコード数。 |
| `--cursor` | いいえ | 前の結果からの不透明な次のカーソル。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep batch items <batch_id> --limit 50
olostep batch items <batch_id> --cursor <next_cursor>
```

### olostep batch create

URLのリストをスクレイプするバッチを作成します。各アイテムには独自の `custom_id` と `url` があります。最大10,000アイテム。

> [!NOTE]
>
> クレジットを使用します。

```bash theme={null}
olostep batch create (--items json) [--country text] [--parser json] [--metadata json] [--preview] [--json] [--fields a,b] [--dry-run]
```

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--items` | はい | スクレイプするURL：`{"custom_id": "...", "url": "..."}` のJSONリスト、または `@file.json`。 |
| `--country` | いいえ | オプションの国。 |
| `--parser` | いいえ | 各ページで実行するパーサー：`{"id": "<parser_id>"}`、または `@file.json`。 |
| `--metadata` | いいえ | バッチメタデータ。JSONオブジェクト、または `@file.json`。 |

`--json`、`--fields`、`--dry-run`、`--preview` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep batch create --items '[{"custom_id":"home","url":"https://example.com"},{"custom_id":"pricing","url":"https://example.com/pricing"}]'
olostep batch create --items @urls.json --country US
```

### olostep batch update

バッチのメタデータを置き換えます。

```bash theme={null}
olostep batch update (--metadata json) [--preview] [--json] [--fields a,b] [--dry-run] <batch_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `batch_id` | バッチID。 |

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--metadata` | はい | メタデータオブジェクト。JSONオブジェクト、または `@file.json`。 |

`--json`、`--fields`、`--dry-run`、`--preview` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep batch update <batch_id> --metadata '{"project":"q4-pricing"}'
```

### olostep batch export

バッチの結果のダウンロード準備を開始します。`olostep batch export-status` で確認します。

```bash theme={null}
olostep batch export [--preview] [--json] [--fields a,b] [--dry-run] <batch_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `batch_id` | バッチID。 |

`--json`、`--fields`、`--dry-run`、`--preview` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep batch export <batch_id>
olostep batch export-status <batch_id>
```

### olostep batch export-status

エクスポートの進行状況を確認し、準備ができたらダウンロードURLを取得します。

```bash theme={null}
olostep batch export-status [--json] [--fields a,b] <batch_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `batch_id` | バッチID。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep batch export-status <batch_id>
```

## monitors

スケジュールに従ってウェブの変更を監視します。[Monitors](https://docs.olostep.com/features/monitors.md) を参照してください。

### olostep monitors list

モニターをリストします。

```bash theme={null}
olostep monitors list [--include-deleted] [--json] [--fields a,b]
```

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--include-deleted` | いいえ | 削除されたモニターを含めます。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors list
```

### olostep monitors get

モニターの設定と現在の状態を表示します。

```bash theme={null}
olostep monitors get [--json] [--fields a,b] <monitor_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `monitor_id` | モニターID。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors get <monitor_id>
```

### olostep monitors create

スケジュールに従って、指定した内容をウェブで監視するモニターを作成します。

> [!NOTE]
>
> クレジットを使用します。

```bash theme={null}
olostep monitors create (--query text) [--urls string]... (--frequency text) [--notification json] [--webhook json] [--source-policy json] [--output-schema json] [--preview] [--json] [--fields a,b] [--dry-run]
```

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--query` | はい | 監視する内容を簡単な言葉で。 |
| `--urls` | いいえ | オプションのソースURL。フラグを繰り返すか、値をカンマで区切ります。 |
| `--frequency` | はい | チェックの頻度を言葉で、例えば `毎日午前9時`（UTC）。 |
| `--notification` | いいえ | 通知チャネルとイベントの設定。JSONオブジェクト、または `@file.json`。 |
| `--webhook` | いいえ | Webhook設定。JSONオブジェクト、または `@file.json`。 |
| `--source-policy` | いいえ | 含める/除外するURLとドメイン。JSONオブジェクト、または `@file.json`。 |
| `--output-schema` | いいえ | 期待される構造化出力スキーマ。JSONオブジェクト、または `@file.json`。 |

`--json`、`--fields`、`--dry-run`、`--preview` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors create --query "example.comの新しい価格変更" --urls https://example.com/pricing --frequency "毎日午前9時"
```

### olostep monitors update

モニターの頻度、通知、Webhook、メタデータを変更します。

```bash theme={null}
olostep monitors update [--frequency text] [--notification json] [--webhook json] [--metadata json] [--preview] [--json] [--fields a,b] [--dry-run] <monitor_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `monitor_id` | モニターID。 |

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--frequency` | いいえ | チェックの頻度を言葉で、例えば `毎日午前9時`（UTC）。 |
| `--notification` | いいえ | 通知チャネルとイベントの設定。JSONオブジェクト、または `@file.json`。 |
| `--webhook` | いいえ | Webhook設定。JSONオブジェクト、または `@file.json`。 |
| `--metadata` | いいえ | モニターメタデータ。JSONオブジェクト、または `@file.json`。 |

`--json`、`--fields`、`--dry-run`、`--preview` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors update <monitor_id> --frequency "20分ごと"
```

### olostep monitors pause

モニターを一時停止します。

```bash theme={null}
olostep monitors pause [--preview] [--json] [--fields a,b] [--dry-run] <monitor_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `monitor_id` | モニターID。 |

`--json`、`--fields`、`--dry-run`、`--preview` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors pause <monitor_id>
```

### olostep monitors resume

一時停止したモニターを再開します。

```bash theme={null}
olostep monitors resume [--preview] [--json] [--fields a,b] [--dry-run] <monitor_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `monitor_id` | モニターID。 |

`--json`、`--fields`、`--dry-run`、`--preview` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors resume <monitor_id>
```

### olostep monitors delete

モニターを削除します。

> [!NOTE]
>
> 実行前に確認します。ターミナルがない場合は `--yes` を渡します。

```bash theme={null}
olostep monitors delete [--preview] [--json] [--fields a,b] [--dry-run] [--yes] <monitor_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `monitor_id` | モニターID。 |

`--json`、`--fields`、`--dry-run`、`--preview`、`--yes` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors delete <monitor_id> --dry-run
olostep monitors delete <monitor_id> --yes
```

### olostep monitors events

モニターの実行イベントのページを表示します。

```bash theme={null}
olostep monitors events [--limit integer] [--cursor text] [--status text] [--json] [--fields a,b] <monitor_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `monitor_id` | モニターID。 |

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--limit` | いいえ | このページの最大レコード数。 |
| `--cursor` | いいえ | 前の結果からの不透明な次のカーソル。 |
| `--status` | いいえ | 実行ステータスフィルター。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors events <monitor_id> --limit 20
```

### olostep monitors planning

モニターの計画と実行方法を表示します。

```bash theme={null}
olostep monitors planning [--json] [--fields a,b] <monitor_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `monitor_id` | モニターID。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors planning <monitor_id>
```

### olostep monitors run

保存された設定でモニターを今すぐ実行します。

> [!NOTE]
>
> クレジットを使用します。

```bash theme={null}
olostep monitors run (--monitor-id text) [--preview] [--json] [--fields a,b] [--dry-run]
```

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--monitor-id` | はい | モニターID。 |

`--json`、`--fields`、`--dry-run`、`--preview` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors run --monitor-id <monitor_id>
```

### olostep monitors run-get

1つのモニター実行とその構造化スナップショットを表示します。

```bash theme={null}
olostep monitors run-get [--include-trace] [--json] [--fields a,b] <monitor_id> <run_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `monitor_id` | モニターID。 |
| `run_id` | 実行ID。 |

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--include-trace` | いいえ | 実行トレースを含めます。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors run-get <monitor_id> <run_id>
olostep monitors run-get <monitor_id> <run_id> --include-trace --json
```

### olostep monitors logs

モニターの実行からの最近のログを表示します。

```bash theme={null}
olostep monitors logs [--since integer] [--json] [--fields a,b] <monitor_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `monitor_id` | モニターID。 |

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--since` | いいえ | Unixエポックからのミリ秒単位の開始時間。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors logs <monitor_id>
```

### olostep monitors snapshot

1つのモニター実行からの構造化スナップショットを表示します。

```bash theme={null}
olostep monitors snapshot [--json] [--fields a,b] <monitor_id> <run_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `monitor_id` | モニターID。 |
| `run_id` | 実行ID。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors snapshot <monitor_id> <run_id> --json
```

### olostep monitors share

モニターの公開共有リンクを取得します。表示できる人を変更しません。

```bash theme={null}
olostep monitors share [--json] [--fields a,b] <monitor_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `monitor_id` | モニターID。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep monitors share <monitor_id>
```

## agents

リサーチエージェントを実行します。[Agents](https://docs.olostep.com/features/agents.md) を参照してください。

### olostep agents list

チームで利用可能なリサーチエージェントをリストします。

```bash theme={null}
olostep agents list [--json] [--fields a,b]
```

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep agents list
```

### olostep agents get

エージェントの詳細とデフォルト入力を表示します。

```bash theme={null}
olostep agents get [--version text] [--json] [--fields a,b] <agent_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `agent_id` | エージェントID。 |

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--version` | いいえ | バージョン。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep agents get <agent_id>
```

### olostep agents runs

リサーチエージェントの実行をリストします。

```bash theme={null}
olostep agents runs [--json] [--fields a,b] <agent_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `agent_id` | エージェントID。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep agents runs <agent_id>
```

### olostep agents run

入力値を使用してリサーチエージェントを実行します。

> [!NOTE]
>
> クレジットを使用します。

```bash theme={null}
olostep agents run [--version text] [--input-values json] [--preview] [--json] [--fields a,b] [--dry-run] <agent_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `agent_id` | エージェントID。 |

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--version` | いいえ | エージェントバージョン。 |
| `--input-values` | いいえ | エージェントの宣言されたスキーマに一致する入力値。JSONオブジェクト、または `@file.json`。 |

`--json`、`--fields`、`--dry-run`、`--preview` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep agents get <agent_id>
olostep agents run <agent_id> --input-values @inputs.json
```

### olostep agents run-get

リサーチエージェント実行のステータスと結果を表示します。

```bash theme={null}
olostep agents run-get [--json] [--fields a,b] <agent_id> <run_id>
```

**引数**

| 引数 | 説明 |
| - | - |
| `agent_id` | エージェントID。 |
| `run_id` | 実行ID。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep agents run-get <agent_id> <run_id>
```

### olostep agents request

Olostepチームにカスタムリサーチエージェントの作成を依頼します。

```bash theme={null}
olostep agents request (--task text) [--model text] [--schedule text] [--budget text] [--preview] [--json] [--fields a,b] [--dry-run]
```

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--task` | はい | リクエストされたリサーチワークフロー。 |
| `--model` | いいえ | リクエストされたモデル。 |
| `--schedule` | いいえ | リクエストされたスケジュール。 |
| `--budget` | いいえ | リクエストされた予算。 |

`--json`、`--fields`、`--dry-run`、`--preview` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep agents request --task "毎週月曜日、ヨーロッパの新しいシリーズAフィンテック企業を見つける" --schedule "毎週"
```

## logs

チームがOlostep APIに行ったリクエストを読み取ります。

### olostep logs list

APIリクエストログのページを表示します。ステータス、エンドポイント、メソッドでフィルタリングします。

```bash theme={null}
olostep logs list [--days 1|7|30|90] [--page integer] [--size integer] [--status text] [--endpoint text] [--method GET|POST|PUT|PATCH|DELETE] [--json] [--fields a,b]
```

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--days` | いいえ | 日数でのルックバックウィンドウ。次のいずれか：`1`、`7`、`30`、`90`。 |
| `--page` | いいえ | ページ番号、1から開始。 |
| `--size` | いいえ | ページサイズ。 |
| `--status` | いいえ | HTTPステータスフィルター。 |
| `--endpoint` | いいえ | エンドポイント/パスフィルター。 |
| `--method` | いいえ | HTTPメソッドフィルター。次のいずれか：`GET`、`POST`、`PUT`、`PATCH`、`DELETE`。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep logs list --days 7
olostep logs list --days 1 --status 429 --method POST
```

### olostep logs export

APIリクエストログをJSONまたはCSVとしてエクスポートします。

```bash theme={null}
olostep logs export [--days 1|7|30|90] [--format json|csv] [--max-pages integer] [--status text] [--endpoint text] [--method GET|POST|PUT|PATCH|DELETE] [--json] [--fields a,b]
```

**フラグ**

| フラグ | 必須 | 説明 |
| - | - | - |
| `--days` | いいえ | 日数でのルックバックウィンドウ。次のいずれか：`1`、`7`、`30`、`90`。 |
| `--format` | いいえ | エクスポート形式。次のいずれか：`json`、`csv`。 |
| `--max-pages` | いいえ | エクスポートするログの最大ページ数（1から100）。 |
| `--status` | いいえ | HTTPステータスフィルター。 |
| `--endpoint` | いいえ | エンドポイントまたはパスフィルター。 |
| `--method` | いいえ | HTTPメソッドフィルター。次のいずれか：`GET`、`POST`、`PUT`、`PATCH`、`DELETE`。 |

`--json` と `--fields` も受け付けます。[グローバルフラグ](https://docs.olostep.com/cli/usage.md#global-flags) を参照してください。

```bash theme={null}
olostep logs export --days 30 --format csv
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.