conversations

Send Message

Send a message in a conversation and get the assistant's reply.

post/insight/{insight_id}/conversations/{conv_id}/messages

Request

  • Base URL: https://api.overfit.de (the document declares no server; this is the origin it was published from)
  • URL: https://api.overfit.de/insight/{insight_id}/conversations/{conv_id}/messages
  • Auth: one of:
    • OpenID Connect (https://auth.okns.de/realms/overfit-products/.well-known/openid-configuration)
    • API key in header X-API-Key

Path parameters

insight_idstring required
conv_idstring required

Request body

messagestring required

Response

Successful Response

conversation_idstring required
retrieval_usedboolean required

Example response

{
  "message": {
    "source_snippets": [
      {
        "snippet": "The screwdriver is a tool, manual or powered, used for screwing (installing) and unscrewing (removing) screws. A typical simple screwdriver has a handle and a shaft.",
        "snippet_id": "789b936a-9e1b-41b5-b721-42d7308b858c",
        "source_id": "src_1EbVewEDVUf0oyAxzsi6LW"
      }
    ]
  },
  "source_snippets": [
    {
      "snippet": "The screwdriver is a tool, manual or powered, used for screwing (installing) and unscrewing (removing) screws. A typical simple screwdriver has a handle and a shaft.",
      "snippet_id": "789b936a-9e1b-41b5-b721-42d7308b858c",
      "source_id": "src_1EbVewEDVUf0oyAxzsi6LW"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.