Hymn Creator
up and running on your localhost. See README on installation, setup and deployment of Ray, kodosumi and the Hymn Creator agentic service.
/login
or /api/login
endpoint to authenticate, retrieve an API key and a set of cookies for further API interaction. The default username and password is admin and admin. Endpoint /login
authenticates with GET
plus URL parameters. POST
authenticates with URL-encoded form data (application/x-www-form-urlencoded
). The API endpoint /api/login
authenticates with POST
and a JSON body (application/json
).
/api/login
is
api_key
or cookies
with further requests. The following example retrieves the list of flows using api_key
.
cookies
. This demo uses this approach.
GET /-/localhost/8001/hymn/-
and launch flow execution with POST /-/localhost/8001/hymn/-
and appropriate inputs data.
openapi_extra
. Key elements
delivers the list of inputs element.
elements
into a form to post and trigger flow execution at http://localhost:3370/inputs/-/localhost/8001/hymn/-/.
POST
follow the inputs scheme as in example:
fid
(flow identifier). Use this fid
for further requests.
errors
as a key/value pair with error information.
topic
:
/outputs/status
.
/status
request might fail due to Ray latencies you should harden the intial request past flow launch with ?extended=true
as in the following example:
/outputs/stream
.