# Video · job status

`GET /v1/videos/generations/{id}` — Poll an async render until the clip is ready.

- Base URL: https://eroq.ai/v1
- Auth: `Authorization: Bearer eroq_sk_…` (create keys at https://eroq.ai/dashboard/keys)
- Credits: free

Free to call, as often as you like — every few seconds is the intended cadence. `status` walks `processing` → `succeeded` (the clip is in `data`, exactly the shape image generation uses) or `failed` (an `error` object explains, and the credits were already refunded).

Job ids are scoped to your account and expire 24 hours after creation; persist the clip (yours to keep, or `store: true` at submit) before then.

## Example request

```bash
curl https://eroq.ai/v1/videos/generations/{id} \
  -H "Authorization: Bearer $EROQ_API_KEY"
```

```javascript
const res = await fetch('https://eroq.ai/v1/videos/generations/{id}', {
  headers: { Authorization: `Bearer ${process.env.EROQ_API_KEY}` },
})
console.log(await res.json())
```

```python
import os, requests

res = requests.get("https://eroq.ai/v1/videos/generations/{id}", headers={"Authorization": f"Bearer {os.environ['EROQ_API_KEY']}"})
print(res.json())
```

```go
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, _ := http.NewRequest("GET", "https://eroq.ai/v1/videos/generations/OBJECT_ID", nil)
	req.Header.Set("Authorization", "Bearer "+os.Getenv("EROQ_API_KEY"))

	res, _ := http.DefaultClient.Do(req)
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}
```

## Response


```json
{
  "id": "b7e6c2d4-…",
  "object": "video.generation",
  "status": "succeeded",
  "created": 1756118400,
  "model": "eroq-motion-one",
  "duration": "5s",
  "data": [{ "b64_json": "AAAAIGZ0eXBpc281…", "content_type": "video/mp4" }],
  "usage": { "credits_spent": 100, "credits_remaining": 887 }
}
```
---
Canonical: https://eroq.ai/docs/video-status · Index for agents: https://eroq.ai/llms.txt · OpenAPI: https://eroq.ai/openapi.json
