Flowise · Example Payload

Flowise Create Prediction Example

AgentsAgent WorkflowsArtificial IntelligenceLarge Language ModelsLow CodeVisual BuilderLangChainRAGRetrieval Augmented GenerationChatbotsOpen SourceNode.jsTypeScript

Flowise Create Prediction Example is an example object payload from Flowise, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "http://localhost:3000/api/v1/prediction/abcd1234-aaaa-bbbb-cccc-1234567890ab",
    "headers": {
      "Authorization": "Bearer flw_sk_xxx",
      "Content-Type": "application/json"
    },
    "body": {
      "question": "What is the refund policy?",
      "streaming": false,
      "overrideConfig": {
        "temperature": 0.2
      },
      "history": [
        { "role": "user", "content": "Hi" },
        { "role": "assistant", "content": "Hello! How can I help?" }
      ]
    }
  },
  "response": {
    "status": 200,
    "body": {
      "text": "Our standard refund policy allows returns within 30 days...",
      "question": "What is the refund policy?",
      "chatId": "5f0a...",
      "chatMessageId": "9c12...",
      "sessionId": "5f0a...",
      "sourceDocuments": [
        {
          "pageContent": "Refund policy: customers may return items within 30 days...",
          "metadata": { "source": "policies/refund.pdf", "page": 1 }
        }
      ],
      "usedTools": []
    }
  }
}