Upload an image for a run
POST
Upload an image (base64 in JSON) to attach to a run. The server checks the file type from its bytes and its size, stores it privately for your workspace, and returns an object_key to pass in image_refs when you create the run. Requires the coding:runs:create scope.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id?|nullapplication/json- body
content_type*stringdata_base64*stringDocument created, URL follows
application/json- response
object_key*stringcurl -X POST 'https://api.syndai.ai/api/v1/external/coding/runs/image-ingest' \ -H 'Content-Type: application/json' \ -d '{ "content_type": "string", "data_base64": "string"}'Example Response
{ "object_key": "string"}