> For the complete documentation index, see [llms.txt](https://docs-embed.anyflow.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-embed.anyflow.jp/ops/step-execution-limit.md).

# ステップ実行の上限値

ソリューションの各ステップが上限値を過度に超えないように、設定等にご注意ください。\
Anyflow Embed の仕様変更により随時更新される可能性があります。\
適宜、Anyflow CSチームにご相談ください。

### アクション実行の上限値

* 1つのアクションステップで処理するデータサイズは、`10MB以内` を目安としてください。
* ただしトリガーがポーリングトリガーの場合は、並列実行される可能性が高いため`1MB以内`を目安としてください。
* 特に注意が必要なアクション：[キーバリューストア](/solution-editor/actions/data-store/kvs.md), [CSVアクション](/solution-editor/actions/data-transform/csv.md), [Responseステップ](/solution-editor/triggers/outgoing/request-triggers/response-step.md) 等

{% hint style="success" %}
「アクション実行の上限値」は**目安（ソフトリミット）**&#x3067;す。

「10MB」を見積もるのが難しい場合は、処理するレコードの件数で想定することを推奨しております。

実際に扱うデータの内容にもよりますが、保守的に見積もった場合「10MB」 = 「レコード1,000件」が目安です。
{% endhint %}

### トリガー実行の上限値

自社プロダクトからAnyflowにリクエストを送る形式のトリガーについて、

* リクエストサイズの上限は`20MB`が目安（ソフトリミット）です。
* リクエスト回数の上限は **送信元IPアドレス単位** で `10秒間で100リクエスト` です。

{% hint style="success" %}

* 送信元IPアドレスが同一であれば、環境（dev/prod）やソリューションをまたいでも合算でカウントされます。IPアドレスが異なれば、それぞれ独立してカウントされます。
* 上限超過時はHTTPステータスコード `429`（Too Many Requests）が返却されます。
  {% endhint %}

該当するトリガー：[Webhookトリガー](/solution-editor/triggers/outgoing/webhook.md)、[Requestトリガー](/solution-editor/triggers/outgoing/request-triggers.md)、[My Eventトリガー](/solution-editor/triggers/outgoing/my-event.md)

***

### ログ保存の上限値 <a href="#save-log-limit" id="save-log-limit"></a>

{% hint style="warning" %}
「ログ保存の上限値」は目安ではなく**絶対値（ハードリミット）**&#x3067;す。
{% endhint %}

各ステップのログは20MBを上限値としており、上限を超えたログは省略されます。

<figure><img src="https://1345286555-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2SAP0zfldVFDluPfMXkq%2Fuploads%2FMxJY6O4Yk86MHH8eToUp%2Fimage.png?alt=media&amp;token=669ec686-27bf-4ca0-8e7f-41729f541c14" alt="" width="331"><figcaption></figcaption></figure>

* 入力値と出力値の合計サイズが20MBを超えている場合に省略されます。
* 省略されたログはAnyflowの内部データベースにも保存されません。
* サイズの判定は1ステップごとに行われます。
* トリガーステップのログは、ソリューションの再実行に必要なため上限値の対象外です。
* 判定およびログの保存が行われるタイミングは、すべてのステップが完了した後です。そのため、ログのサイズが20MBを超えてもステップの実行自体は正しく行われます。
* ただし[ Responseステップ](/solution-editor/triggers/outgoing/request-triggers/response-step.md) だけは、ログのサイズが20MBを超えた場合、ログのサイズが20MBを超えた場合、ステータスコード400系のエラーを返却します。<br>

### ソリューション実行の上限値 <a href="#save-log-limit" id="save-log-limit"></a>

{% hint style="warning" %}
「ソリューション実行の上限値」は目安ではなく**絶対値（ハードリミット）**&#x3067;す。
{% endhint %}

ソリューションの実行時間のタイムアウト値は`12時間`です。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs-embed.anyflow.jp/ops/step-execution-limit.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
