---
layout: page
title: API
permalink: /api/
---

<p>You can learn <a href="https://github.com/KnapsackPro/knapsack_pro-ruby#how-does-knapsack_pro-work">how knapsack_pro gem works in regular mode here</a>.</p>
<p>Here you can find API documentation for regular and queue mode. The API documentation might be useful if you want to build tool to directly integrate with Knapsack Pro API.</p>

<h1><a href="/api/v1/">API v1 documentation</a></h1>

---
layout: page
title: Knapsack Pro API
permalink: /api/
---

<p>
You can learn more how Knapsack Pro API works:

<ul>
  <li>
  <a href="https://youtu.be/ZEb6NeRRfQ4"><i class="fab fa-youtube"></i> Regular Mode - deterministic tests split across parallel CI nodes</a>.
  <br>
  Docs: <a href="https://github.com/KnapsackPro/knapsack_pro-ruby#how-does-knapsack_pro-work">How knapsack_pro gem works in Regular Mode</a>.
  </li>
  <li>
  <a href="https://youtu.be/hUEB1XDKEFY"><i class="fab fa-youtube"></i> Queue Mode - dynamic tests split across parallel CI nodes</a>.
  <br>
  Docs: <a href="https://github.com/KnapsackPro/knapsack_pro-ruby#queue-mode">How knapsack_pro gem works in Queue Mode</a>.
  </li>
</ul>
</p>

<p>
Here you can find API documentation for Regular Mode and Queue Mode. The API documentation might be useful if you want to build <a href="/integration/">client tool</a> to directly integrate with Knapsack Pro API.
</p>

<h1><a href="/api/v1/">Preview API v1 documentation</a></h1>

<p>
You may also find useful article with examples how to <a href="/2018/how-to-export-test-suite-timing-data-from-knapsack-pro-api">extract timing data for recorded CI builds</a> using API.
</p>

Update API page with links to yt examples and article about extracting timing data
Update API page with links to yt examples and article about extracting timing data
