Skip to main content

Overview

Returns the current state of the event photos pipeline — the same status information the 9Pic dashboard refresh button uses. Call this after Import, Process, or Go Live to know when each stage has finished, failed, or is still running. The response includes:
  • Mediamedia: "photos" so the same path family can host other media types later.
  • Pipeline stages — short keywords under stages: import, process, and go_live.
  • Counts — how many items are not_processed, processing, processed, or failed.
  • Live flagis_live is true when the public gallery is live.
  • Gallery URLgallery_url follows the event visibility and domain settings from the dashboard (Bhaago India, 9Pic, or organiser custom domain).
Polling this endpoint can also advance stuck jobs to failed and reconcile processing completion — the same auto-recovery behavior as the dashboard status refresh.
  1. POST /pipeline/photos/import — import photos from configured sources.
  2. GET /pipeline/photos/status — poll until stages.import.status is processed or failed.
  3. POST /pipeline/photos/process — run AI processing (watermark, BIB, face indexing).
  4. GET /pipeline/photos/status — poll until stages.process.status is processed, partially_processed, or failed.
  5. POST /pipeline/photos/go-live — publish processed photos to the public gallery.
  6. GET /pipeline/photos/status — poll until stages.go_live.status is processed or failed, and is_live is true.
Use exponential backoff (e.g. 3s, 5s, 10s, 15s, then every 15s) while any stage you care about has status: "processing". Stop polling once all active stages reach a terminal state (processed, failed, or partially_processed).

Endpoint

Path Parameters

Example Request

Example Response

Response Models

Stage status values

Error Responses

See Errors for canonical descriptions and retry guidance.