LogoFreestyle
API Reference/Execute

Get information on execute run

Get information on execute run

GET/execute/v1/deployments/{deployment}

Path Parameters

deploymentRequiredstring
Format: "uuid"

Response Body

200

Success

metadataRequiredobject
codeRequiredobject

401

Unauthorized access

messageRequiredstring

404

Not found

messageRequiredstring

500

Internal server error

messageRequiredstring
curl -X GET "https://api.freestyle.sh/execute/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08"

Success

{
  "metadata": {
    "deployment": "4825a274-96eb-4018-afaa-fc6fe70eaeed",
    "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
    "provisionedAt": "2019-08-24T14:15:22Z",
    "startedAt": "2019-08-24T14:15:22Z",
    "duration": "string",
    "state": "starting",
    "envVars": {
      "property1": "string",
      "property2": "string"
    }
  },
  "code": {
    "code": "string",
    "nodeModules": {
      "property1": "string",
      "property2": "string"
    }
  }
}