cURL
curl --request POST \ --url https://api.axiom.xyz/v1/programs \ --header 'Axiom-API-Key: <api-key>' \ --header 'Content-Type: multipart/form-data' \ --form program=@example-file
{ "id": "<string>" }
The program file has to be a tar.gz of a directory. The directory should contain the guest program and its dependencies.
The relative path from the uploaded directory root to the guest program
Successful Response
The response is of type object.
object
Was this page helpful?