<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can i run a single task in job from Rest API in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/how-can-i-run-a-single-task-in-job-from-rest-api/m-p/108954#M2948</link>
    <description>&lt;P&gt;&lt;STRONG&gt;How can I run a single task in a job that has many tasks?&lt;/STRONG&gt;&lt;BR /&gt;I can do it in the UI, but I can’t find a way to do it using the REST API. Does anyone know how to accomplish this?&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2025 13:20:41 GMT</pubDate>
    <dc:creator>200842</dc:creator>
    <dc:date>2025-02-05T13:20:41Z</dc:date>
    <item>
      <title>How can i run a single task in job from Rest API</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-can-i-run-a-single-task-in-job-from-rest-api/m-p/108954#M2948</link>
      <description>&lt;P&gt;&lt;STRONG&gt;How can I run a single task in a job that has many tasks?&lt;/STRONG&gt;&lt;BR /&gt;I can do it in the UI, but I can’t find a way to do it using the REST API. Does anyone know how to accomplish this?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 13:20:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-can-i-run-a-single-task-in-job-from-rest-api/m-p/108954#M2948</guid>
      <dc:creator>200842</dc:creator>
      <dc:date>2025-02-05T13:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can i run a single task in job from Rest API</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-can-i-run-a-single-task-in-job-from-rest-api/m-p/108963#M2949</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/33976"&gt;@200842&lt;/a&gt;&amp;nbsp;, Greetings!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is currently not possible to run a single task or a group of tasks from a job without running the entire job from the API.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Leave a like if this helps, followups are appreciated.&lt;BR /&gt;Kudos,&lt;/P&gt;
&lt;P&gt;Ayushi&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 14:30:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-can-i-run-a-single-task-in-job-from-rest-api/m-p/108963#M2949</guid>
      <dc:creator>Ayushi_Suthar</dc:creator>
      <dc:date>2025-02-05T14:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can i run a single task in job from Rest API</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-can-i-run-a-single-task-in-job-from-rest-api/m-p/113303#M3166</link>
      <description>&lt;P&gt;It looks like this may be a possibility now? I haven't actually tried it, but I noticed a parameter named "only" has been added to the Databricks SDK for when running a job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the commit that made the change:&amp;nbsp;&lt;A href="https://github.com/databricks/databricks-sdk-py/commit/d516d1ee6239f78b097df5dd19452837e0375fed#diff-9125abd285f0b94b52f0445f9f85a75a921fae47124d670ab9f8f822de9f33ac" target="_blank"&gt;[Release] Release v0.38.0 (#826) · databricks/databricks-sdk-py@d516d1e&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And here is the line on the main branch as of right now:&amp;nbsp;&lt;A href="https://github.com/databricks/databricks-sdk-py/blob/f2472bf98160bd4556efbb575b68c5375b2e902e/databricks/sdk/service/jobs.py#L9348C1-L9348C42" target="_blank"&gt;databricks-sdk-py/databricks/sdk/service/jobs.py at f2472bf98160bd4556efbb575b68c5375b2e902e · databricks/databricks-sdk-py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The Databricks API docs doesn't display this parameter, but it seems this is a feature that is either coming or already works. It may be worth trying out.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 13:34:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-can-i-run-a-single-task-in-job-from-rest-api/m-p/113303#M3166</guid>
      <dc:creator>themattmorris</dc:creator>
      <dc:date>2025-03-21T13:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can i run a single task in job from Rest API</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-can-i-run-a-single-task-in-job-from-rest-api/m-p/150847#M5021</link>
      <description>&lt;P&gt;It does work. It will create a new run and will not run the other tasks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;databricks api post /api/2.2/jobs/run-now --profile demo --json '{&lt;BR /&gt;"job_id": REDACT231061639,&lt;BR /&gt;"only": ["task_2_of_3"]&lt;BR /&gt;}' 2&amp;gt;&amp;amp;1)&lt;BR /&gt;⎿ {&lt;BR /&gt;"number_in_job":REDACT448649047,&lt;BR /&gt;"run_id":REDACT448649047&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 17:17:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-can-i-run-a-single-task-in-job-from-rest-api/m-p/150847#M5021</guid>
      <dc:creator>smmorgan</dc:creator>
      <dc:date>2026-03-13T17:17:38Z</dc:date>
    </item>
  </channel>
</rss>

