add files
Browse files- www/index.html +3 -3
www/index.html
CHANGED
|
@@ -359,9 +359,9 @@
|
|
| 359 |
<p><strong>API quickstart</strong></p>
|
| 360 |
<p><strong>Base URL:</strong> <code>https://asa.aidevlab.org</code></p>
|
| 361 |
<p><strong>Health:</strong> <code>GET /healthz</code> and <code>curl -s https://asa.aidevlab.org/healthz</code></p>
|
| 362 |
-
<p><strong>Run one prompt:</strong> <code>POST /v1/run</code> with JSON and <code>curl -s https://asa.aidevlab.org/v1/run -H "Authorization: Bearer
|
| 363 |
-
<p><strong>Run batch prompts:</strong> <code>POST /v1/batch</code> with a plain string array for <code>prompts</code> and <code>curl -s https://asa.aidevlab.org/v1/batch -H "Authorization: Bearer
|
| 364 |
-
<p><strong>Auth:</strong> Include <code>Authorization: Bearer
|
| 365 |
</div>
|
| 366 |
</section>
|
| 367 |
</main>
|
|
|
|
| 359 |
<p><strong>API quickstart</strong></p>
|
| 360 |
<p><strong>Base URL:</strong> <code>https://asa.aidevlab.org</code></p>
|
| 361 |
<p><strong>Health:</strong> <code>GET /healthz</code> and <code>curl -s https://asa.aidevlab.org/healthz</code></p>
|
| 362 |
+
<p><strong>Run one prompt:</strong> <code>POST /v1/run</code> with JSON and <code>curl -s https://asa.aidevlab.org/v1/run -H "Authorization: Bearer XYZ" -H "Content-Type: application/json" -d '{"prompt":"Hello","run":{"output_format":"text"}}'</code></p>
|
| 363 |
+
<p><strong>Run batch prompts:</strong> <code>POST /v1/batch</code> with a plain string array for <code>prompts</code> and <code>curl -s https://asa.aidevlab.org/v1/batch -H "Authorization: Bearer XYZ" -H "Content-Type: application/json" -d '{"prompts":["Hello","World"],"run":{"output_format":"text"}}'</code></p>
|
| 364 |
+
<p><strong>Auth:</strong> Include <code>Authorization: Bearer XYZ</code> on every <code>/v1/*</code> request.</p>
|
| 365 |
</div>
|
| 366 |
</section>
|
| 367 |
</main>
|