> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firecrawl.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# インタラクションを停止

> スクレイプジョブに関連付けられた対話型ブラウザセッションを停止します。

このエンドポイントを使用して、スクレイプジョブの対話型ブラウザセッションを停止します。セッションを停止すると、ブラウザリソースが解放され、課金が確定します。

クレジットはセッション時間に基づいて課金されます。**ブラウザ1分あたり2クレジット**で、1秒単位の日割り計算です。

<div id="path-parameters">
  ## パスパラメータ
</div>

| パラメータ   | 型             | 必須 | 説明                             |
| ------- | ------------- | -- | ------------------------------ |
| `jobId` | string (UUID) | はい | ブラウザセッションに関連付けられたスクレイピングジョブ ID |

<div id="response">
  ## レスポンス
</div>

| 項目                  | 型       | 説明                    |
| ------------------- | ------- | --------------------- |
| `success`           | boolean | セッションが正常に破棄されたかどうか    |
| `sessionDurationMs` | number  | セッションの合計継続時間 (ミリ秒)    |
| `creditsBilled`     | number  | セッションに対して請求されたクレジット数  |
| `error`             | string  | エラーメッセージ (失敗時のみ含まれます) |

<div id="example-request">
  ### リクエスト例
</div>

```bash theme={null}
curl -X DELETE "https://api.firecrawl.dev/v2/scrape/550e8400-e29b-41d4-a716-446655440000/interact" \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY"
```

<div id="example-response">
  ### レスポンス例
</div>

```json theme={null}
{
  "success": true
}
```

<div id="error-codes">
  ### エラーコード
</div>

| ステータス | 説明                             |
| ----- | ------------------------------ |
| `403` | セッションは別のチームに属しています             |
| `404` | このスクレイピングジョブのブラウザセッションが見つかりません |

詳しい使い方と例については、[Interact 機能ガイド](/ja/features/interact)を参照してください。


## OpenAPI

````yaml ja/api-reference/v2-openapi.json DELETE /scrape/{jobId}/interact
openapi: 3.0.0
info:
  contact:
    email: support@firecrawl.dev
    name: Firecrawl Support
    url: https://firecrawl.dev/support
  description: Firecrawlのサービスを利用して、Webスクレイピングやクロールを行うためのAPIです。
  title: Firecrawl API
  version: v2
servers:
  - url: https://api.firecrawl.dev/v2
security:
  - bearerAuth: []
paths:
  /scrape/{jobId}/interact:
    delete:
      tags:
        - Scraping
      summary: スクレイピングジョブに関連付けられた対話型ブラウザセッションを停止します
      operationId: stopInteractiveScrapeBrowserSession
      parameters:
        - description: スクレイピングジョブの job ID
          in: path
          name: jobId
          required: true
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                type: object
          description: 対話型スクレイピングブラウザセッションは正常に停止しました
        '403':
          content:
            application/json:
              schema:
                properties:
                  error:
                    example: Forbidden.
                    type: string
                  success:
                    example: false
                    type: boolean
                type: object
          description: アクセスが拒否されました
        '404':
          content:
            application/json:
              schema:
                properties:
                  error:
                    example: Browser session not found.
                    type: string
                  success:
                    example: false
                    type: boolean
                type: object
          description: 対話型スクレイピングブラウザセッションが見つかりません
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````