إنشاء مقالات متخصصة
احسب تكلفة مقالة متخصصة وأنشئ المستند ثم اجلب النتيجة. راجع طرق HTTP وحقول الإدخال وبنية الاستجابات.
في هذه الصفحة
- POST /public-api/v1/ai-writer/expert-articles/cost
- POST /public-api/v1/ai-writer/expert-articles/documents
- GET /public-api/v1/ai-writer/expert-articles/documents/{document_id}
اختر طريقة من الفهرس. تحقق من طريقة HTTP والمسار والصلاحيات والمعلمات الإلزامية وجسم الطلب. كتل JSON التي تحتوي على schema وproperties و$ref تصف العقد، ولا تُرسل باعتبارها جسم طلب جاهزًا. أمثلة الطلبات ومخططات الردود معنونة بشكل منفصل.
POST /public-api/v1/ai-writer/expert-articles/cost
احسب الحد الأقصى لأرصدة الذكاء الاصطناعي المطلوبة لمقال متخصص. يسري التقدير لمدة 10 دقائق.
نماذج البيانات المرتبطة: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · ErrorResponse · ExpertArticleEstimate · ExpertArticleInput
الأذونات: ai-expert-articles:read
الطلب
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExpertArticleInput"
}
}
}
}
الاستجابات
200
احسب الحد الأقصى لأرصدة الذكاء الاصطناعي المطلوبة لمقال متخصص. يسري التقدير لمدة 10 دقائق.
{
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/ExpertArticleEstimate"
}
}
}
}
}
}
default
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
POST /public-api/v1/ai-writer/expert-articles/documents
ابدأ كتابة مقال متخصص باستخدام التقدير ومفتاح Idempotency-Key الخاص به. أعد إرسال الطلب نفسه للحصول على نتيجة التشغيل الأصلية.
نماذج البيانات المرتبطة: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · ErrorResponse · ExpertArticleStart · ExpertArticleStartInput
الأذونات: ai-expert-articles:write
المعلمات
Idempotency-Key (header)
{
"required": true,
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9._:-]+$"
}
}
الطلب
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExpertArticleStartInput"
}
}
}
}
الاستجابات
202
ابدأ كتابة مقال متخصص باستخدام التقدير ومفتاح Idempotency-Key الخاص به. أعد إرسال الطلب نفسه للحصول على نتيجة التشغيل الأصلية.
{
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/ExpertArticleStart"
}
}
}
}
}
}
409
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
422
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
default
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
GET /public-api/v1/ai-writer/expert-articles/documents/{document_id}
اطّلع على تقدم كتابة المقال المتخصص واحصل على HTML بعد اكتمال إنشائه.
نماذج البيانات المرتبطة: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · ErrorResponse · ExpertArticleResult
الأذونات: ai-expert-articles:read
المعلمات
document_id (path)
{
"required": true,
"schema": {
"type": "string",
"pattern": "^[0-9a-v]{20}$"
}
}
الاستجابات
200
اطّلع على تقدم كتابة المقال المتخصص واحصل على HTML بعد اكتمال إنشائه.
{
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/ExpertArticleResult"
}
}
}
}
}
}
404
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
default
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
قبل استخدام ناتج الذكاء الاصطناعي، تحقق من الحقائق واسم الشركة أو المنتج واللغة وتوافق الناتج مع المدخلات. راجع HTML المولّد قبل النشر. النجاح التقني لا يغني عن مراجعة المحتوى.
