POST
/
chat
curl --request POST \
  --url https://api.urldna.io/chat \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "<string>",
  "response_type": "MARKDOWN",
  "scan_id": "<string>",
  "json_output": {}
}'
[
  {
    "id": "<string>",
    "chat_date": "2023-11-07T05:31:56Z",
    "prompt": "<string>",
    "response": "<string>",
    "response_type": "MARKDOWN",
    "scan_id": "<string>",
    "status": "PENDING",
    "json_output": {}
  }
]

Authorizations

Authorization
string
header
required

Body

application/json

Response

200
application/json

Chat object created

The response is of type object[].