---
title: "Check post generation status"
method: GET
path: "/post/status/{embedPostId}"
---

# Check post generation status

`GET /post/status/{embedPostId}`

## Request

- Base URL: `https://embed-api.postnitro.ai`
- URL: `https://embed-api.postnitro.ai/post/status/{embedPostId}`
- Auth: API key in header `embed-api-key`

Returns the current status (PENDING, COMPLETED, or FAILED) and processing logs for a post. Poll this after initiating until status is COMPLETED, then fetch the output. On FAILED, inspect the logs array for the failing step. Docs: https://postnitro.ai/docs/embed/api/request-status.md

## Path parameters

- `embedPostId` string, required

## Response `200`

Current status and logs

- object
  - `success` boolean
  - `data` object
    - `embedPostId` string
    - `embedPost` EmbedPost
      - `id` string
      - `postType` 'CAROUSEL' | 'IMAGE' | 'VIDEO'
      - `responseType` 'DESIGN' | 'PDF' | 'PNG' | 'MP4'
      - `status` 'PENDING' | 'COMPLETED' | 'FAILED': PENDING = queued or generating (keep polling), COMPLETED = fetch output, FAILED = inspect status logs
      - `credits` integer: Credits consumed by this post
      - `createdAt` string, date-time
      - `updatedAt` string, date-time
    - `logs` PostLog[]
      - `id` string
      - `embedPostId` string
      - `step` string: Processing step, e.g. INITIATED, PROCESSING, GENERATE_IMAGES, VOICEOVER, COMPOSE_MOTION, COMPLETED. GENERATE_IMAGES and VOICEOVER are best-effort: FAILED there doesn't fail the post
      - `status` string: Step result, e.g. SUCCESS
      - `message` string
      - `timestamp` string, date-time

---

[API](https://skmtc.dev/postnitro/apis/postnitro-embed-api.md) - [All operations](https://skmtc.dev/postnitro/apis/postnitro-embed-api/llms.txt) - [OpenAPI document](https://skmtc.dev/postnitro/apis/postnitro-embed-api/revisions/428cb3ea3f6a?raw)
