ASA API

Query Console

Enter the GUI password and send a prompt through the ASA agent or the direct provider path. This page calls /gui/query and returns the same message/parsed output structure in either mode.

Response Mode: not run yet
Awaiting request...

API bearer auth does not apply to this GUI endpoint. Password is checked against GUI_PASSWORD, and provider selection remains server-side.

API quickstart

Base URL: https://asa.aidevlab.org

Health: GET /healthz and curl -s https://asa.aidevlab.org/healthz

Run one prompt: POST /v1/run with JSON and curl -s https://asa.aidevlab.org/v1/run -H "Authorization: Bearer XYZ" -H "Content-Type: application/json" -d '{"prompt":"Hello","run":{"output_format":"text"}}'

Run batch prompts: POST /v1/batch with a plain string array for prompts and 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"}}'

Auth: Include Authorization: Bearer XYZ on every /v1/* request.