Skip to content

List Code2Des Jobs

GET /api/v1/organizations/{organization_id}/projects/{project_id}/code2des

Lists newest-first project jobs for plugin discovery. Requires Read access.

Optional query parameters: figmaFileKey, status (0|1|2), materialized (true|false), limit (1..50, default 50), and zero-based offset (default 0).

{
  "code2desList": [
    {
      "code2desId": "job-id",
      "pageImportId": "page-id",
      "organizationId": 1,
      "projectId": 7,
      "sourceUrl": "https://example.com/",
      "figmaFileKey": "aBc123",
      "screenId": "homepage",
      "placementTarget": null,
      "status": "1",
      "attempt": 1,
      "resultUrl": "s3://bucket/1/7/code2des/job-id/result.json",
      "warningCount": 0,
      "error": null,
      "materializedAt": null,
      "materializedNodeId": null,
      "createdAt": "2026-08-20T00:00:00.000Z",
      "updatedAt": "2026-08-20T01:00:00.000Z"
    }
  ]
}

Each item has the same fields as Get Code2Des plus sourceUrl. The plugin normally filters completed rows for the open Figma file. Page scraping/import creation is deliberately absent from the plugin.