Upload an executable for a run to learn from
POST
Upload one native executable (ELF only, base64 in JSON) for a run to learn from. The format is read from the bytes and the SHA-256 computed by the server; a sent expected_sha256 must match or nothing is stored. Pass the returned artifact as reference_product.value (kind artifact) on run create; the same bytes always return the same reference. Too large is a 413, malformed or unsupported a 400.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id?|nullapplication/json- body
data_base64*stringexpected_sha256?string|nullDocument created, URL follows
application/json- response
artifact*stringformat*stringsize*integercurl -X POST 'https://api.syndai.ai/api/v1/external/coding/runs/artifact-ingest' \ -H 'Content-Type: application/json' \ -d '{ "data_base64": "string"}'Example Response
{ "artifact": "string", "format": "string", "size": 0}