GCP inputs via API

Is it possible to pass a GCP file or data over the API? The docs only list this for images:

I’ve tried passing it as an image and it fails. I’ve also tried just submitting the file as part of the curl post, but it doesn’t pickup the GCP file (that I noticed).

Am I missing something?