Skip to content

GET /v1/organizations/{organizationId}/projects/closure-status

Returns closure progress for projectId within organizationId, including deletionOperationId, domain progress and ready. This read operation does not initiate deletion.

photon.organizations.projects.getProjectClosureStatus(input: GetProjectClosureStatusInput, options?: RequestOptions): Promise<GetProjectClosureStatusOutput>
import { Photon } from "@photon-ai/api";

const photon = new Photon({
  headers: { Authorization: `Bearer ${process.env.PHOTON_API_TOKEN}` },
});
const result = await photon.organizations.projects.getProjectClosureStatus({
  path: {
    organizationId: "organizationId",
  },
  query: {
    projectId: "projectId",
  },
});
{
  "deletionOperationId": null,
  "domains": [
    {
      "blockers": [
        "string"
      ],
      "domain": "projects",
      "ready": true
    }
  ],
  "organizationId": "string",
  "projectId": "string",
  "ready": true
}

Parameters

Photon-VersionPhotonVersion

Selects the API contract date. Without it, the request is served as 2026-07-01.

organizationIdstringrequired
projectIdstringrequired

Returns

200 Current cleanup and settlement evidence. Project deletion alone does not establish readiness. GetProjectClosureStatusResponse

Headers: ETag, Photon-Version. The raw response carries these headers; see Raw responses.

deletionOperationIdstring | nullrequired
domainsarray of ProjectClosureDomainStatusrequired
organizationIdstringrequired
projectIdstringrequired
readybooleanrequired

304 Not Modified. Sent only when If-None-Match matches the ETag of an earlier 200 response for the same representation; no body. No body.

Headers: ETag, Photon-Version. The raw response carries these headers; see Raw responses.