Skip to main content
GET
/
v1
/
retrievers
/
{retriever_id}
Get Retriever
curl --request GET \
  --url https://api.mixpeek.com/v1/retrievers/{retriever_id} \
  --header 'Authorization: <authorization>' \
  --header 'X-Namespace: <x-namespace>'
{
  "retriever_name": "<string>",
  "collection_ids": [
    "<string>"
  ],
  "stages": [
    {
      "stage_name": "<string>",
      "config": {},
      "stage_type": "filter",
      "batch_size": "<string>",
      "description": "<string>"
    }
  ],
  "retriever_id": "<string>",
  "description": "<string>",
  "input_schema": {},
  "budget_limits": {
    "max_credits": 1,
    "max_time_ms": 1
  },
  "feature_dependencies": [
    {
      "extractor": "<string>",
      "version": "<string>",
      "scheme": "mixpeek",
      "output": "<string>"
    }
  ],
  "tags": [
    "<string>"
  ],
  "version": 1,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>",
  "updated_by": "<string>",
  "is_published": false
}

Headers

Authorization
string
required

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

X-Namespace
string
required

REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'

Path Parameters

retriever_id
string
required

Retriever ID or name.

Response

Successful Response

Retriever configuration model exposed via API.

retriever_name
string
required

Unique retriever name within namespace (REQUIRED).

Minimum string length: 1
collection_ids
string[]
required

Collections queried by the retriever (REQUIRED).

Minimum array length: 1
stages
StageConfig · object[]
required

Ordered list of stage configurations (REQUIRED).

Minimum array length: 1
retriever_id
string

Stable retriever identifier (REQUIRED).

description
string | null

Detailed description of retriever behaviour (OPTIONAL).

input_schema
Input Schema · object

JSON Schema describing expected user inputs (REQUIRED). Properties must use BucketSchemaField for consistency with ingestion schemas.

budget_limits
BudgetLimits · object

Execution budget limits for the retriever (OPTIONAL).

feature_dependencies
FeatureAddress · object[] | null

Feature addresses required by stages (OPTIONAL, aids validation).

tags
string[]

Arbitrary tags to help organise retrievers (OPTIONAL).

version
integer
default:1

Version number that increments on each update (REQUIRED).

Required range: x >= 1
created_at
string<date-time>

Creation timestamp in UTC (REQUIRED).

updated_at
string<date-time>

Last update timestamp in UTC (REQUIRED).

created_by
string | null

Identifier of the user who created the retriever (OPTIONAL).

updated_by
string | null

Identifier of the user who last updated the retriever (OPTIONAL).

is_published
boolean
default:false

Whether this retriever is currently published as a public API