Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Haystack / deepset Search API

Run queries against deployed pipelines.

Haystack / deepset Search API is one of 6 APIs that Haystack / deepset publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Search. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against 2 base URLs: https://api.cloud.deepset.ai, https://api.us.deepset.ai.

1 operations 1 paths 4 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://github.com/deepset-ai/haystack
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Haystack / deepset Search API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — API key generated in the deepset AI Platform UI, sent as a Bearer token.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Search 1

Run queries against deployed pipelines.

POST
/api/v1/workspaces/{workspace_name}/pipelines/{pipeline_name}/search
Run a search
searchPipeline 2 params body → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are SearchRequest (4 properties), Document (4 properties), Answer (3 properties), SearchResponse (2 properties). Each schema is shown below with its type and property counts.

SearchResponse
object
2 properties
Document
object
4 properties
Answer
object
3 properties
SearchRequest
object
4 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

haystack-ai-search-api-openapi.yml Raw ↑

Other APIs Haystack / deepset publishes across the network.

Haystack Framework (Open Source)
Hayhooks REST Deployment
Haystack / deepset Files API
Haystack / deepset Pipelines API
Haystack / deepset Workspaces API