الانتقال إلى المحتوى الرئيسي
POST
/
grok
/
tasks
Retrieve the result of a Grok video generation task by its ID.
curl --request POST \
  --url https://api.acedata.cloud/grok/tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "ids": [
    "<string>"
  ],
  "action": "retrieve"
}
'
{
  "id": "<string>",
  "request": {},
  "response": {}
}

التفويضات

Authorization
string
header
مطلوب

الترويسات

accept
enum<string>

Grok Tasks Param Accept

الخيارات المتاحة:
application/json

الجسم

application/json
id
string

Grok Tasks Id

ids
string[]

Grok Tasks Ids

action
enum<string>
افتراضي:retrieve

Grok Tasks Action

الخيارات المتاحة:
retrieve,
retrieve_batch

الاستجابة

Grok Tasks Response 200

id
string

Grok Tasks Response 200 Id

request
object

Grok Tasks Response 200 Request

response
object

Grok Tasks Response 200 Response