Skip to main content
POST /v1/pipelines/query embeds a user query and retrieves matching chunks from the configured vector database. Use POST /v1/chat when you also want an LLM answer.

Request

Config Blocks

Query Or Retrieve

/v1/pipelines/query is the workflow endpoint. It accepts grouped embedding and retrieval blocks. /v1/retrieve is the stage endpoint. It accepts the flattened retrieval fields directly, which is useful when you are documenting or testing the retrieval stage by itself.