The format for timestamps should be RFC3339
, e.g.: "2023-01-01T00:00:00Z"
.
The applications
API endpoints can be used to manage, run, and deploy applications to Nextmv Cloud. They are also used to create and manage experiments for each application.
All requests must be authenticated with Bearer Authentication. Make sure your request has a header containing your Nextmv Cloud API key:
- Key:
Authorization
- Value:
Bearer <YOUR-API-KEY>
We strongly encourage you to see the list of available endpoints directly in Console. The endpoints are tailored to your specific application. You will find the same collection of endpoints in this page, but with the correct parameters already filled in.
Run execution
New application run.
Create new application run.
Sample curl
request for creating a new run (the run_id
is returned for a successful request):
Run metadata
The run metadata can be retrieved while the run is still in progress (or at any point). The metadata.status
key will contain the status of the run.
Get run status without output.
Get the status of a run without the output.
Sample curl
request for obtaining metadata for a run:
Run result
When you retrieve the full results of a run, the output key will contain the actual output of the run.
Get run result.
Get the result of a run.
Sample curl
request for getting a run result:
Run management
List queued and active runs.
Retrieves a list of queued and active runs.
Sample curl
request for getting queued runs:
List past runs.
List past runs for application (50 max per request).
Update name and description of run.
Update the name and/or description of a run.
Get run input.
Gets the input used for a run.
Cancel a run that is not yet completed.
Cancel a run that is not yet completed.
Sample curl
request for canceling a run:
The uploadurl
endpoint is for submitting large input files for a run. A walk-through of how to submit and retrieve large files for runs can be found in the large payloads section.
Retrieve unique upload URL and ID.
Retrieve a unique URL and ID for uploading run input (for large input files).
Versions
Create new version.
Create new application version using the current dev binary.
List versions.
List all versions for an application.
Get version information.
Get application version information specified by application and version ID.
Update version information.
Update application version information with defined data, specified by application and version ID.
Delete version.
Delete version, specified by application and version ID.
Instances
Create new instance.
Create new application instance for a specified version.
List instances.
List all instances for an application.
Get instance information.
Get application instance information specified by application and instance ID.
Update an instance.
Update application instance information with defined data, specified by application and instance ID.
Delete instance.
Delete application instance, specified by application and instance ID.
Inputs
Creates a managed input.
Creates a managed input.
Lists the input created for an application
Lists all the inputs for an application
Updates an input created for an application
Updates an input for an application
Gets an input created for an application
Gets an input for an application
Input sets
Create new input set.
Create new application input set for experiments.
List input sets.
List all input sets for an application.
Update input set metadata.
Update input set metadata with defined data, specified by application and input set ID.
Get input set information.
Get input set information specified by application and input set ID.
Batch Experiments
Create and start batch experiment.
Create and start batch experiment.
List batch experiments.
List batch experiments for an application.
Get batch experiment status and results.
Get batch experiment status and results specified by application and batch ID.
Delete a batch experiment.
Delete a batch experiment specified by application and batch ID.
Update a batch experiment.
Update a batch experiment.
List batch experiment runs.
List runs used for batch experiment specified by application and batch ID.
Get batch experiment metadata.
Get batch experiment metadata specified by application and batch ID.
Acceptance tests
Create and start acceptance test.
Create an acceptance test. The test relies on a batch experiment, so a batch experiment must already exist.
List all the existing acceptance tests.
List acceptance tests.
Get acceptance test information.
Get the information of an acceptance test.
Delete acceptance test.
Delete an acceptance test.
Update an acceptance test.
Update an acceptance test.
Shadow Tests
Create a shadow test in draft mode.
Create a shadow test in draft mode.
List shadow tests.
List shadow tests for an application.
Get shadow test status and results.
Get shadow test status and results specified by application and shadow ID.
Update a shadow test.
Update a shadow test.
Start shadow test.
Start shadow test.
Stop shadow test.
Stop shadow test.
List shadow test runs.
List runs part of a shadow test.
Get shadow test metadata.
Get shadow test metadata specified by application and shadow test ID.
Switchback Tests
Create a switchback test in draft mode.
Create a switchback test in draft mode.
List switchback tests.
List shadow tests for an application.
Get switchback test status and results.
Get switchback test status and results specified by application and switchback test ID.
Update a switchback test.
Update a switchback test.
Start switchback test.
Start switchback test.
Stop switchback test.
Stop switchback test.
List switchback test runs.
List runs part of a switchback test.
Get switchback test metadata.
Get switchback test metadata specified by application and switchback test ID.
Ensembles
Create an ensemble definition.
Create an ensemble definition.
List all ensemble definitions.
List all ensemble definitions for an application.
Get ensemble definition.
Get ensemble definition specified by application and ensemble ID.
Update an ensemble definition.
Update an ensemble definition.
Delete ensemble definition.
Delete an ensemble definition.
Get ensemble run results.
Get ensemble run results specified by application and run ID.
Admin
Get application information.
Get application information specified by application ID.
Update application information.
Update application information with defined data, specified by application ID.
Delete application.
Delete application, specified by application ID.