GitLab Job Artifacts API

I have been able to update the pipeline status (which is run outside of GitLab) back to GitLab via Gitlab status API. What I would like to achieve next is to attach the logs of the pipeline back to GitLab job artifacts. I have read through the documentation but it seems to me that there isn’t any option to update the Job Artifacts. I wonder if there is any possibility to achieve such a feature.