---
title: كائن الدُّفعة | RunAPI
description: دفعة إشراف نطاقها الحساب، تُبلَّغ دورة تنفيذها عبر Batch API المتوافق.
url: https://runapi.ai/ar/docs/api/protocol/batches/object.md
canonical: https://runapi.ai/ar/docs/api/protocol/batches/object
locale: ar
---

> نسخة HTML: https://runapi.ai/ar/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",
    "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.",
    "required": true,
    "type": "string"
  },
  "in_progress_at": {
    "description": "الطابع الزمني Unix عند بدء معالجة الدُفعة.",
    "required": false,
    "type": "integer | null"
  },
  "input_file_id": {
    "description": "معرّف ملف الإدخال في RunAPI.",
    "required": true,
    "type": "string"
  },
  "metadata": {
    "description": "بيانات وصفية للمُستدعي تُعاد مع الدُّفعة.",
    "required": true,
    "type": "object"
  },
  "object": {
    "description": "نوع الكائن.",
    "required": true,
    "type": "string"
  },
  "output_file_id": {
    "description": "معرّف ملف الإخراج في RunAPI",
    "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/ar/docs/api/protocol/batches.md)
- [سرد الدُّفعات](https://runapi.ai/ar/docs/api/protocol/batches/list.md)
- [إنشاء دُفعة](https://runapi.ai/ar/docs/api/protocol/batches/create.md)
- [استرداد دُفعة](https://runapi.ai/ar/docs/api/protocol/batches/retrieve.md)
- [إلغاء دُفعة](https://runapi.ai/ar/docs/api/protocol/batches/cancel.md)

---

## المزيد من RunAPI

- [الرئيسية](https://runapi.ai/ar/.md)
- [كتالوج النماذج](https://runapi.ai/ar/models.md)
- [الأسعار](https://runapi.ai/ar/pricing.md)
- [مزودو الخدمة](https://runapi.ai/ar/models)
- [التوثيق](https://runapi.ai/ar/docs/guides)
- [حزم SDK](https://runapi.ai/ar/sdk.md)
- [CLI](https://runapi.ai/ar/cli.md)
- [خادم MCP](https://runapi.ai/ar/mcp.md)
- [Claude Code مقابل Cursor](https://runapi.ai/ar/claude-code-vs-cursor.md)
- [إعداد Cursor API](https://runapi.ai/ar/cursor-api-setup.md)
- [RunAPI مقابل OpenRouter](https://runapi.ai/ar/openrouter-alternative.md)
- [المؤسسات](https://runapi.ai/ar/contact.md)
- [اتصل بنا](https://runapi.ai/ar/contact.md)
- [الشروط](https://runapi.ai/ar/terms.md)
- [الخصوصية](https://runapi.ai/ar/privacy.md)
- [فهرس الموقع للوكلاء](https://runapi.ai/llms.txt)

التواصل: contact@runapi.ai

## البيانات المنظمة

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "ar",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/ar",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/ar/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ar",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/ar",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/aricon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ar",
    "@type": "TechArticle",
    "headline": "كائن الدُّفعة",
    "description": "دفعة إشراف نطاقها الحساب، تُبلَّغ دورة تنفيذها عبر Batch API المتوافق.",
    "url": "https://runapi.ai/ar/docs/api/protocol/batches/object",
    "mainEntityOfPage": "https://runapi.ai/ar/docs/api/protocol/batches/object"
  }
]
```
