---
title: バッチオブジェクト | RunAPI
description: 互換性のある Batch API によって実行ライフサイクルが報告される、アカウントスコープのモデレーションバッチです。
url: https://runapi.ai/ja/docs/api/protocol/batches/object.md
canonical: https://runapi.ai/ja/docs/api/protocol/batches/object
locale: ja
---

> HTML 版: https://runapi.ai/ja/docs/api/protocol/batches/object
> エージェント向けサイトインデックス: https://runapi.ai/llms.txt

# バッチオブジェクト

互換性のある Batch API によって実行ライフサイクルが報告される、アカウントスコープのモデレーションバッチです。

## オブジェクトフィールド

リソースの再利用可能オブジェクトで共有される安定したフィールド。

### バッチ

```json
{
  "cancelled_at": {
    "description": "バッチがキャンセルされたUnixタイムスタンプ。",
    "required": false,
    "type": "integer | null"
  },
  "cancelling_at": {
    "description": "キャンセルが開始されたUnixタイムスタンプ。",
    "required": false,
    "type": "integer | null"
  },
  "completed_at": {
    "description": "バッチが完了したUnixタイムスタンプ。",
    "required": false,
    "type": "integer | null"
  },
  "completion_window": {
    "description": "バッチの完了ウィンドウ。",
    "required": true,
    "type": "string"
  },
  "created_at": {
    "description": "バッチが作成されたUnixタイムスタンプ。",
    "required": true,
    "type": "integer"
  },
  "endpoint": {
    "description": "バッチで処理されるモデレーションエンドポイント。",
    "required": true,
    "type": "string"
  },
  "error_file_id": {
    "description": "RunAPIのエラーファイルID",
    "required": false,
    "type": "string | null"
  },
  "errors": {
    "description": "バッチの検証または実行エラー",
    "required": false,
    "type": "object | null"
  },
  "expired_at": {
    "description": "バッチが期限切れになったUnixタイムスタンプ。",
    "required": false,
    "type": "integer | null"
  },
  "expires_at": {
    "description": "バッチが期限切れになるUnixタイムスタンプ。",
    "required": false,
    "type": "integer | null"
  },
  "failed_at": {
    "description": "バッチが失敗したUnixタイムスタンプ。",
    "required": false,
    "type": "integer | null"
  },
  "finalizing_at": {
    "description": "バッチが最終化フェーズに入ったUnixタイムスタンプ。",
    "required": false,
    "type": "integer | null"
  },
  "id": {
    "description": "RunAPIのバッチID。",
    "required": true,
    "type": "string"
  },
  "in_progress_at": {
    "description": "バッチ処理が開始されたUnixタイムスタンプ。",
    "required": false,
    "type": "integer | null"
  },
  "input_file_id": {
    "description": "RunAPIの入力ファイルID。",
    "required": true,
    "type": "string"
  },
  "metadata": {
    "description": "バッチとともに返される呼び出し元メタデータ。",
    "required": true,
    "type": "object"
  },
  "object": {
    "description": "オブジェクトタイプ。",
    "required": true,
    "type": "string"
  },
  "output_file_id": {
    "description": "RunAPIの出力ファイルID",
    "required": false,
    "type": "string | null"
  },
  "request_counts": {
    "description": "",
    "properties": {
      "completed": {
        "description": "",
        "required": true,
        "type": "integer"
      },
      "failed": {
        "description": "",
        "required": true,
        "type": "integer"
      },
      "total": {
        "description": "",
        "required": true,
        "type": "integer"
      }
    },
    "required": true,
    "type": "object"
  },
  "status": {
    "description": "バッチのライフサイクルステータス。",
    "enum": [
      "validating",
      "failed",
      "in_progress",
      "finalizing",
      "completed",
      "expired",
      "cancelling",
      "cancelled"
    ],
    "required": true,
    "type": "string"
  }
}
```

## 関連リファレンス

- [バッチ](https://runapi.ai/ja/docs/api/protocol/batches.md)
- [バッチの一覧取得](https://runapi.ai/ja/docs/api/protocol/batches/list.md)
- [バッチを作成する](https://runapi.ai/ja/docs/api/protocol/batches/create.md)
- [バッチを取得する](https://runapi.ai/ja/docs/api/protocol/batches/retrieve.md)
- [バッチをキャンセルする](https://runapi.ai/ja/docs/api/protocol/batches/cancel.md)

---

## RunAPI のその他の情報

- [ホーム](https://runapi.ai/ja/.md)
- [モデルカタログ](https://runapi.ai/ja/models.md)
- [料金](https://runapi.ai/ja/pricing.md)
- [プロバイダー](https://runapi.ai/ja/models)
- [ドキュメント](https://runapi.ai/ja/docs/guides)
- [SDK](https://runapi.ai/ja/sdk.md)
- [CLI](https://runapi.ai/ja/cli.md)
- [MCP Server](https://runapi.ai/ja/mcp.md)
- [Claude Code と Cursor](https://runapi.ai/ja/claude-code-vs-cursor.md)
- [Cursor API セットアップ](https://runapi.ai/ja/cursor-api-setup.md)
- [RunAPI と OpenRouter の比較](https://runapi.ai/ja/openrouter-alternative.md)
- [エンタープライズ](https://runapi.ai/ja/contact.md)
- [お問い合わせ](https://runapi.ai/ja/contact.md)
- [利用規約](https://runapi.ai/ja/terms.md)
- [プライバシー](https://runapi.ai/ja/privacy.md)
- [エージェント向けサイトインデックス](https://runapi.ai/llms.txt)

お問い合わせ: contact@runapi.ai

## 構造化データ

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "ja",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/ja",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/ja/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ja",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/ja",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/jaicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ja",
    "@type": "TechArticle",
    "headline": "バッチオブジェクト",
    "description": "互換性のある Batch API によって実行ライフサイクルが報告される、アカウントスコープのモデレーションバッチです。",
    "url": "https://runapi.ai/ja/docs/api/protocol/batches/object",
    "mainEntityOfPage": "https://runapi.ai/ja/docs/api/protocol/batches/object"
  }
]
```
