Triggered pipelines display incorrectly
Summary
When triggering a pipeline through the API, the pipeline is not displayed with a "by API" message as shown in the docs.
Steps to reproduce
Trigger a project pipeline via the API.
What is the current bug behavior?
The pipeline is not shown as triggered "by API" as seen in the docs.
What is the expected correct behavior?
The pipeline is shown as triggered "by API" as seen in the docs.
Output of checks
This happens on GitLab.com.