> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/stackai-mcp/workflow-recipes/inspect-and-run-a-published-project.md).

# Inspect and run a published project

Run a reviewed workflow and check its output without creating a duplicate run if the first response is delayed.

## Before you start

You need access to a project with a published version and permission to run it. Prepare the values for each required input. A workflow can send messages or change external records; inspect its integrations before execution.

## Select and inspect the project

1. Call `whoami` and confirm the organization.
2. Call `projects_list` and select the project ID. Check `is_published`.
3. Call `projects_get` with `version: "published"`. Confirm `source_version` is `published`. A fallback to `draft` does not establish that the workflow can run.
4. Read the input configuration and required-input list. Follow graph pagination so you can see the actions it will execute.

## Run with the required inputs

Call `projects_run` with keys from the discovered input configuration. This example applies only if the actual keys are `in-0` and `doc-0`:

```json
{
  "project_id": "<project-id>",
  "inputs": {
    "in-0": "Summarize this document.",
    "doc-0": [
      "<signed-file-url>"
    ]
  }
}
```

Upload a local file first using [the file-upload recipe](https://docs.stackai.com/stackai-mcp/workflow-recipes/upload-a-larger-document.md). Document and image inputs use URL arrays, including for one file.

## Check the result

Read `output_text` for the main text response, or `result` for the full run payload. Keep any run identifier and link returned by the run. If you need the execution trace, find the matching run through `runs_list` and inspect it with `runs_get`.

A tool response and a workflow result are different checks: inspect execution failures as well as the returned answer. If the call times out, inspect run history before deciding whether to submit another run.

## Tool reference

* [whoami](https://docs.stackai.com/stackai-mcp/tool-reference/connection-and-organization/whoami.md)
* [projects\_list](https://docs.stackai.com/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-list.md)
* [projects\_get](https://docs.stackai.com/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-get.md)
* [projects\_run](https://docs.stackai.com/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-run.md)
* [runs\_list](https://docs.stackai.com/stackai-mcp/tool-reference/runs-and-audit-logs/runs-list.md)
* [runs\_get](https://docs.stackai.com/stackai-mcp/tool-reference/runs-and-audit-logs/runs-get.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/stackai-mcp/workflow-recipes/inspect-and-run-a-published-project.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
