deployment.reportStatus route takes the same information a deployment event carries, and a trigger evaluates it the same way.
Pick this path when your code host is not GitHub or GitLab, when the deploying repository is not connected, or when the deploy happens somewhere your code host never sees.
Requirements
- An organization or user API key, created under Workspace Settings → API Keys. A workspace key cannot call this route.
- The ability to make an authenticated HTTPS request from your pipeline.
What a report carries
The request
Example:json wrapper, and the reply carries the deployment under result.data.json. Replace $DEPLOY_ID with whatever your pipeline calls this deploy — a build number or a pipeline id — and $QAWOLF_WORKSPACE_ID with the id from Workspace Settings → API Keys.
Metadata
metadata describes the revision you deployed. Every field is optional, and each one QA Wolf receives makes the deployment easier to recognize and to link back to your code.
Sending
repository and pullRequestNumber is what lets a preview deploy resolve to its pull request, which generative flow selection needs.
When a report starts a run
- A deployment’s first
successreport evaluates triggers, and it is the only report that does. A trigger added or resumed afterwards does not make that deployment evaluate again — report the deploy under a newproviderDeploymentIdto evaluate it against the triggers as they stand. - The response carries the deployment only, never the resulting runs.
providerDeploymentId.
The environment you name decides where the runs happen, and the same matching rules apply as for a deployment event. See the environment name is the contract and, for previews, isolate previews per pull request.