Saltar al contenido

List project rows

Módulo Projects

GET/projectsprojects.list

A production project. Jurisdiction is resolved at gate 1. Returns a cursor page of project rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

  • Requiere la capacidad projects.project.read.
  • Alcances de OAuth: projects.
  • Paginación por cursor: se aplican limit, cursor, fields, sort y filter.
  • Estados de error: 400, 401, 429. Los errores son detalles de problema RFC 9457.

Parámetros de ruta y de consulta

projects.list: Parámetros de ruta y de consulta
CampoTipoObligatorioDescripción
limitLimitNoPage size. Default 50, maximum 200.Restricciones: range 1 to 200
cursorCursorNoOpaque cursor from `next_cursor` of the previous page.Restricciones: length 1 to any
fieldsFieldsNoSparse fieldset: a comma-separated list of top-level fields to return. `id` is always returned.Restricciones: pattern ^[a-z_][a-z0-9_]*(,[a-z_][a-z0-9_]*)*$
sortSortNoSort keys, comma-separated; a leading `-` sorts descending. Without `sort`, the documented default order applies (coded lists sort in numeric code order).Restricciones: pattern ^-?[a-z_][a-z0-9_]*(,-?[a-z_][a-z0-9_]*)*$
filterFilterNoFilter grammar `filter[field][op]=value`. Operators: eq, ne, lt, lte, gt, gte, in (comma-separated values), is_null (true or false) and contains. Conditions combine with AND.

Respuesta 200: una página de Project

projects.list: Project
CampoTipoObligatorioDescripción
idstring (uuid)SíIdentifier of the project.
org_idstring (uuid)SíIdentifier of the owning organization, derived from the parent row and never accepted from the caller.
created_atstring (date-time)SíWhen the row was created.
created_bystring (uuid) | nullSíIdentifier of the person who created the row; null when a seed, platform or system process created it.
updated_atstring (date-time)SíWhen the row was last updated.
updated_bystring (uuid) | nullSíIdentifier of the person who last updated the row; null when a seed, platform or system process updated it.
project_keystringSíProject key, chosen by the caller and unique in the organization; it addresses the project in Atlas URLs.Restricciones: pattern ^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$
namestringSíProject name, Title Case.Restricciones: length 1 to 300
descriptionstring | nullSíProject description.Restricciones: length 1 to 20000
workspace_idstring (uuid) | nullSíIdentifier of the workspace.
jurisdiction_idJurisdictionIdSíJurisdiction identifier from `xpms.dim_jurisdiction`. An unpopulated jurisdiction returns no answer.Restricciones: pattern ^[A-Z]{2}(-[A-Z0-9]+)*$
region_codeRegionCodeSíCost region code from `xpms.dim_region`.Restricciones: pattern ^[A-Z]{2}(-[A-Z0-9]+)+$
tier_codeTierCode | nullSí
current_phase_codePhaseCodeSíPhase code from `xpms.dim_phase`, ordered by gate ordinal.Restricciones: pattern ^[A-Z]{3}$
project_statestringSíProject lifecycle state. A Title Case value from the lifecycle's database enum.Restricciones: pattern ^[A-Z0-9][A-Za-z0-9&'/.()-]*( [A-Za-z0-9&'/.()-]+)*$
currencystringSíBase currency of the project.Restricciones: pattern ^[A-Z]{3}$
starts_onstring (date) | nullSíFirst show day.
ends_onstring (date) | nullSíLast show day.
time_zonestringSíIANA time zone of the project; local times are entered in it.Restricciones: pattern ^[A-Za-z_]+(\/[A-Za-z0-9_+-]+)*$
venue_idstring (uuid) | nullSíIdentifier of the primary venue of the project.
client_counterparty_idstring (uuid) | nullSíIdentifier of the client counterparty the project is produced for.
production_statestringSíProduction lifecycle state, which runs beside the project state; changes only through its transition RPC. A Title Case value from the lifecycle's database enum.Restricciones: pattern ^[A-Z0-9][A-Za-z0-9&'/.()-]*( [A-Za-z0-9&'/.()-]+)*$
archived_atstring (date-time) | nullSíWhen the project was archived; archived projects leave the default lists.
anchor_onstring (date) | nullSíAnchor date (usually the show day) that template day offsets count from.
budget_envelope_minorinteger (int64) | nullSíBudget envelope approved for the project. Integer minor units of the resource currency; null means unpriced, never zero.
{
  "data": [
    {
      "id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
      "org_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
      "created_at": "2026-10-08T14:30:00Z",
      "created_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
      "updated_at": "2026-10-08T14:30:00Z",
      "updated_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
      "project_key": "NWL-24",
      "name": "Harborfront Summer Series",
      "description": "Six weekend shows on the harbor lawn.",
      "workspace_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
      "jurisdiction_id": "US-FL",
      "region_code": "NA-SE-MIA",
      "tier_code": "04",
      "current_phase_code": "SCP",
      "project_state": "Active",
      "currency": "USD",
      "starts_on": "2026-10-08",
      "ends_on": "2026-10-08",
      "time_zone": "America/New_York",
      "venue_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
      "client_counterparty_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
      "production_state": "Proposed",
      "archived_at": "2026-10-08T14:30:00Z",
      "anchor_on": "2026-10-08",
      "budget_envelope_minor": 25000000
    }
  ],
  "next_cursor": null
}

Ejemplos de código

curl -X GET "$XOS_BASE_URL/projects" \
  -H "Authorization: Bearer $XOS_API_KEY"
for await (const row of xos.projects.listAll()) {
  console.log(row);
}
for row in xos.projects.list_all():
    print(row)
xos projects list --all