# Can I get json output for jobs?

**URL:** <https://forum.ansible.com/t/can-i-get-json-output-for-jobs/32427>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [March 9, 2020, 11:10pm UTC](https://forum.ansible.com/t/can-i-get-json-output-for-jobs/32427 "2020-03-09T23:10:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kurrent93](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@kurrent93](https://forum.ansible.com/u/kurrent93)\
**Post date:** [March 9, 2020, 11:10pm UTC](https://forum.ansible.com/t/can-i-get-json-output-for-jobs/32427/1 "2020-03-09T23:10:53Z")

</div>

Hello

I’m hoping that I can use the AWX api to get data back from a job.

I can call /api/v2/jobs/2704/stdout/?format=json, for example, but - while the result is technically json - its justs not particularly usable.

I have a playbook that uses the `k8s_facts` module.

I’d like to be able to get the response from this module/task as a payload.

Is that possible using AWX?

---

<div class="post-metadata">

**Author:** ![klaasdemter](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@klaasdemter](https://forum.ansible.com/u/klaasdemter)\
**Post date:** [March 10, 2020, 7:19am UTC](https://forum.ansible.com/t/can-i-get-json-output-for-jobs/32427/2 "2020-03-10T07:19:02Z")

</div>

Do you mean something like this: [https://groups.google.com/d/msg/awx-project/elfT8cs6mdU/NholySBFCQAJ](https://groups.google.com/d/msg/awx-project/elfT8cs6mdU/NholySBFCQAJ) ?
