Skip to content

GET /v1/organizations/{organizationId}/projects

Returns a cursor-paginated page of the active projects in organizationId. Filter using query and the documented creation-time bounds, and navigate with pageSize and pageToken. Project roles are not returned and role is not a supported filter.

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

const photon = new Photon({
  headers: { Authorization: `Bearer ${process.env.PHOTON_API_TOKEN}` },
});
const result = await photon.organizations.projects.list({
  path: {
    organizationId: "organizationId",
  },
});
{
  "nextPageToken": "string",
  "projects": [
    {
      "agentProfile": {
        "avatarUrl": "https://example.com",
        "firstName": "string",
        "lastName": null
      },
      "billingInitialization": "pending",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "deletedAt": null,
      "name": "string",
      "organizationId": "string",
      "projectId": "string",
      "slug": "string",
      "updatedAt": "2026-01-01T00:00:00.000Z"
    }
  ]
}

Parameters

Photon-VersionPhotonVersion

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

organizationIdstringrequired
createdAfterstring (date-time)
createdBeforestring (date-time)
querystring
pageSizeinteger
pageTokenstring

Returns

200 One page of active projects in the organization. ProjectPage

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

nextPageTokenstring
projectsarray of Projectrequired

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.