# How to create Ai ML job in test space using api

**URL:** <https://discuss.elastic.co/t/how-to-create-ai-ml-job-in-test-space-using-api/270446>\
**Category:** Kibana\
**Tags:** elastic-stack-machine-learning\
**Created:** [April 17, 2021, 12:17pm UTC](https://discuss.elastic.co/t/how-to-create-ai-ml-job-in-test-space-using-api/270446 "2021-04-17T12:17:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhyanesh\_Naik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhyanesh_naik/32/77633_2.png) [@Dhyanesh\_Naik](https://discuss.elastic.co/u/Dhyanesh_Naik)\
**Post date:** [April 17, 2021, 12:17pm UTC](https://discuss.elastic.co/t/how-to-create-ai-ml-job-in-test-space-using-api/270446/1 "2021-04-17T12:17:14Z")

</div>

HI,

I want to create anomaly detection job in test space using api. Can you guide me to do so ?

By default created jobs are placed in default space.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Dhyanesh\_Naik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhyanesh_naik/32/77633_2.png) [@Dhyanesh\_Naik](https://discuss.elastic.co/u/Dhyanesh_Naik)\
**Post date:** [April 18, 2021, 8:53pm UTC](https://discuss.elastic.co/t/how-to-create-ai-ml-job-in-test-space-using-api/270446/2 "2021-04-18T20:53:48Z")

</div>

Found solution:  
[http://elastic:XXXX@xxx.x.x.x:5601/s/test\_space/api/ml/anomaly\_detectors/job](http://elastic:XXXX@xxx.x.x.x:5601/s/test_space/api/ml/anomaly_detectors/job)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 16, 2021, 8:54pm UTC](https://discuss.elastic.co/t/how-to-create-ai-ml-job-in-test-space-using-api/270446/3 "2021-05-16T20:54:43Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
