Post: Python Script

Endpoint: /prediction/pythonscript

Generates a downloadable Python script that can be used to call the AION prediction API programmatically. This enables seamless integration into custom workflows or automation pipelines.

Input Parameters:

  • usecaseId (string, required): Unique identifier for the dataset/use case.
  • usecaseVersion (integer, optional): Version of the use case.

    Default value: 1

Output:

Returns a Python script file pre-configured with the necessary API call structure for making predictions using the provided use case.