{
  "opencollection": "1.0.0",
  "info": {
    "name": "Strand AI Platform Jobs API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Jobs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get job status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.strandai.com/api/v1/jobs/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get job status"
        },
        {
          "info": {
            "name": "Stream job status (SSE)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.strandai.com/api/v1/jobs/:id/stream",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Server-Sent Events stream emitting JSON snapshots of `{status, progress, resultGcsPath}` on each pg_notify. Keep-alive heartbeats every 15s. Closes on terminal status."
        },
        {
          "info": {
            "name": "Get signed download URL for results",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.strandai.com/api/v1/jobs/:id/results",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a signed GCS URL for the OME-Zarr root metadata (`zarr.json`) plus the `resultBasePath` of the zarr store. Useful for clients that already have GCS credentials. SDK clients should generally prefer `GET /jobs/{id}/results/files/{path}` (API-key authenticated) for walking the tree."
        },
        {
          "info": {
            "name": "Stream a single result file (API-key authenticated)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.strandai.com/api/v1/jobs/:id/results/files/:path",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path",
                "description": "Path within the zarr store; slashes are not URL-encoded."
              }
            ]
          },
          "docs": "Proxies a single file from the OME-Zarr result store. `path` is the path within the zarr store (e.g. `zarr.json`, `CD3/zarr.json`, `CD3/c/0/0/0`). Authenticated via the same bearer API key as the rest of `/api/v1/`; org-scoped to the job. Use this when walking the zarr tree from a client that does not have direct GCS credentials."
        }
      ]
    }
  ],
  "bundled": true
}