Delphi (Natural Language)
Chat Workflow
Chat Workflow
POST
/
delphi
/
workflow
Authentication
This route can be called from the frontend, so authentication is slightly different than other routes.
To do so, include an X-PUBLIC-TOKEN
header instead of your usual API key. This is combined with a JWT which represents the user’s RBAC permissions in your Delphi semantic layer.
{
"headers": {
"X-CLIENT-ID": "delphi-labs",
"X-PUBLIC-TOKEN": "pt_1234567890abcdefghijklmnopq"
"X-CUBE-JWT": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...."
}
}
Authorizations
X-CLIENT-ID
string
headerrequiredX-PUBLIC-TOKEN
string
headerrequiredBody
application/json
message
string
requiredconversation
object[]
requireddata
object
colors
object
conversationId
string
userId
string
Response
200 - application/json-seq
conversationId
string