Creates an asynchronous job that optimizes the specified prompt template version. The job will analyze examples from the dataset and generate an improved prompt.
When run_test_after_optimization is True (default), the job will also run
baseline and optimized test runs and create a comparison.
Poll GET /prompt-optimization-jobs/ to check job status.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.