projects_run
Run a published project and return its output.
Effect: This call executes a workflow or evaluator. Review its effects and possible usage charges before calling it.
Inputs
project_id
string
Required
ID returned by projects_list; use a project in the active organization.
inputs
object
Required
Object keyed by actual project input IDs. Text values are strings; document/image values are arrays of URLs.
version
integer
Optional
Published version number; omit to use the selected published version.
verbose
boolean
Optional
Default false. Include expanded details. See behavior below for the scope of expansion.
Example
These are MCP tool arguments, not an HTTP request body. Replace bracketed IDs with values returned from your account.
This example assumes a text input whose actual ID is in-0. Replace the key with the project’s input ID.
{
"project_id": "<project-id>",
"inputs": {
"in-0": "Summarize the supplied information."
}
}Result
Abbreviated result example; unshown fields are omitted for clarity.
Behavior
Use actual input IDs from projects_get, not display names. Text inputs take strings; document and image inputs take URL arrays.
The optional integer version selects a published version. Omit it to use the published version selected by the service.
Read output_text for a text response and result for the full run payload. Save any run identifier returned there; use runs_list to locate the run when needed.
Each call creates a new run and can invoke the workflow’s external integrations.
Troubleshooting
For invalid_run_inputs, inspect allowed_keys, unknown_keys, and missing_required. On timeout, inspect the project run history before running again; the first run may have completed.
Related resources
Projects and workflow authoring
Was this helpful?

