POST
/
api
/
run
/
sync
curl --request POST \
  --url https://api.avm.codes/api/run/sync \
  --header 'Content-Type: application/json' \
  --header 'avm-x-api-key: <api-key>' \
  --data '{
  "code": "print(\"Hello, World\")"
}'
{
  "status": "IN_PROGRESS",
  "output": "Hello World"
}

Authorizations

avm-x-api-key
string
header
required

Body

application/json
code
string
required
Example:

"print(\"Hello, World\")"

Response

200
application/json
A successful response of run execution.
status
enum<string>
required
Available options:
IN_PROGRESS,
COMPLETED,
TIMEOUT,
ERROR
Example:

"IN_PROGRESS"

output
string
required
Example:

"Hello World"