---
title: كائن Guardrail | RunAPI
description: سياسة قابلة لإعادة الاستخدام تشمل ضوابط النموذج والموفر والإنفاق.
url: https://runapi.ai/ar/docs/api/management/guardrails/object.md
canonical: https://runapi.ai/ar/docs/api/management/guardrails/object
locale: ar
---

> نسخة HTML: https://runapi.ai/ar/docs/api/management/guardrails/object
> فهرس الموقع للوكلاء: https://runapi.ai/llms.txt

# كائن Guardrail

سياسة قابلة لإعادة الاستخدام تشمل ضوابط النموذج والموفر والإنفاق.

## حقول الكائن

الحقول الثابتة المشتركة بواسطة الكائن القابل لإعادة الاستخدام الخاص بالمورد.

### الحواجز

```json
{
  "allowed_models": {
    "description": "معرّفات النماذج المسموح بها.",
    "required": true,
    "type": "array"
  },
  "allowed_providers": {
    "description": "أسماء الموفرين المسموح بها.",
    "required": true,
    "type": "array"
  },
  "assignment_count": {
    "description": "عدد مفاتيح API أو الأعضاء الذين طُبِّق عليهم هذا الحاجز الأمني.",
    "required": true,
    "type": "integer"
  },
  "blocked_models": {
    "description": "معرّفات النماذج المحظورة.",
    "required": true,
    "type": "array"
  },
  "blocked_providers": {
    "description": "أسماء المزوّدين المحظورين.",
    "required": true,
    "type": "array"
  },
  "created_at": {
    "description": "وقت إنشاء الحارس.",
    "required": true,
    "type": "string"
  },
  "credit_limit_cents": {
    "description": "حد إنفاق إجمالي اختياري بالسنت الأمريكي.",
    "required": true,
    "type": "integer | null"
  },
  "credit_limit_reset_interval": {
    "description": "دورية إعادة تعيين حد الإنفاق الإجمالي.",
    "enum": [
      "daily",
      "weekly",
      "monthly",
      null
    ],
    "required": true,
    "type": "string | null"
  },
  "description": {
    "description": "وصف اختياري للحاجز الأمني.",
    "required": true,
    "type": "string | null"
  },
  "enabled": {
    "description": "ما إذا كان يتم تطبيق الحاجز الواقي.",
    "required": true,
    "type": "boolean"
  },
  "id": {
    "description": "معرّف بادئة Guardrail.",
    "required": true,
    "type": "string"
  },
  "model_budgets": {
    "description": "قواعد الميزانية لكل نموذج.",
    "required": true,
    "type": "array"
  },
  "name": {
    "description": "اسم Guardrail.",
    "required": true,
    "type": "string"
  }
}
```

## المرجع ذو الصلة

- [الحواجز](https://runapi.ai/ar/docs/api/management/guardrails.md)
- [سرد الحواجز الأمنية](https://runapi.ai/ar/docs/api/management/guardrails/list.md)
- [استرداد حارس](https://runapi.ai/ar/docs/api/management/guardrails/retrieve.md)
- [إنشاء حارس](https://runapi.ai/ar/docs/api/management/guardrails/create.md)
- [تحديث حارس](https://runapi.ai/ar/docs/api/management/guardrails/update.md)
- [حذف ضابط حماية](https://runapi.ai/ar/docs/api/management/guardrails/delete.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": "كائن Guardrail",
    "description": "سياسة قابلة لإعادة الاستخدام تشمل ضوابط النموذج والموفر والإنفاق.",
    "url": "https://runapi.ai/ar/docs/api/management/guardrails/object",
    "mainEntityOfPage": "https://runapi.ai/ar/docs/api/management/guardrails/object"
  }
]
```
