---
updatedAt: 2026-07-03T14:49:15.000Z
agentTools:
  projectIndex: https://developer.liveswitch.com/llms.txt
---

# Lists all Spark runs for a project

**Required scope:** `sparks`

Lists all Spark runs for a project, sorted by creation date in descending.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "LiveSwitch Public API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://public-api.production.liveswitch.com/",
      "description": "Public API"
    }
  ],
  "paths": {
    "/v1/projects/{projectId}/sparks": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Lists all Spark runs for a project",
        "description": "**Required scope:** `sparks`",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SparkListResponseDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "sparks"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "SparkDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for this spark run.",
            "nullable": true
          },
          "sparkTemplateId": {
            "type": "string",
            "description": "The ID of the Spark template that was run.",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Current status: `queued`, `running`, `completed`, `failed`, or `cancelled`.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "When the spark run was created.",
            "format": "date-time"
          },
          "shareUrl": {
            "type": "string",
            "description": "Public share URL for this spark report. Non-null only when sharing has been enabled on this analysis in Scribe.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a Spark run (queued, running, completed, or failed)."
      },
      "SparkListResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SparkDto"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "description": "OAuth2 authentication using Auth0 Implicit flow",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://id.staging.liveswitch.com/authorize",
            "scopes": {
              "openid": "OpenID Connect scope",
              "profile": "Access to user profile",
              "email": "Access to user email",
              "me": "Access to user information",
              "contacts": "Read access to contacts",
              "contacts.write": "Write access to contacts",
              "conversations": "Read access to conversations",
              "conversations.write": "Write access to conversations",
              "organizations": "Read access to organizations",
              "webhooks": "Read access to webhooks",
              "webhooks.write": "Write access to webhooks",
              "applications": "Read access to applications",
              "applications.write": "Write access to applications",
              "forms": "Read access to forms",
              "projects": "Read access to projects",
              "projects.write": "Write access to projects",
              "recordings": "Read access to recordings",
              "documents": "Read access to documents",
              "accounts": "Read access to accounts",
              "guided-instructions": "Read access to guided instructions",
              "sparks": "Read access to Spark runs",
              "sparks.write": "Write access to Spark runs",
              "spark-templates": "Read access to installed Spark templates for the organization",
              "scribe-templates": "Read access to installed Scribe templates (legacy)"
            }
          }
        }
      },
      "bearer": {
        "type": "http",
        "description": "<p>Please enter a valid token. This shoud NOT include the Bearer: prefix, but just the token itself.</p>\n            <br/>\n             <p>To generate a token from the Swagger UI:</p>\n             <p>\n               1. Select the 'v1/tokens' endpoint in the Swagger UI<br/>\n               2. Set the 'redirect' setting to false<br/>\n               3. Fill in the values according to your application configuration<br/>\n               4. Click 'Execute'<br/>\n            </p>\n            <br/>\n            <p>\n            The response from this request will include the URL you need to generate a token. Copy/paste it into a new window and follow the instructions.\n            </p>",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearer": []
    }
  ]
}
```

# Sibling pages

* [Creates a project](https://developer.liveswitch.com/reference/post_v1-projects.md)
* [Retrieves a list of projects](https://developer.liveswitch.com/reference/get_v1-projects.md)
* [Gets a project by id](https://developer.liveswitch.com/reference/get_v1-projects-id.md)
* [Updates a project](https://developer.liveswitch.com/reference/put_v1-projects-id.md)
* [Creates presigned URLs for uploading images to a project](https://developer.liveswitch.com/reference/post_v1-projects-id-upload-urls-images.md)
* [Creates presigned URLs for uploading documents to a project](https://developer.liveswitch.com/reference/post_v1-projects-id-upload-urls-documents.md)
* [Creates presigned URLs for uploading videos to a project](https://developer.liveswitch.com/reference/post_v1-projects-id-upload-urls-videos.md)
* [Creates a Spark on a project](https://developer.liveswitch.com/reference/post_v1-projects-projectid-sparks.md)