Skip to content

Autocomplete Entities

Overview

The entity autocompletion endpoint allows you to get the list of entities and AI models that match a keyword input

ℹ️ Token Authentication

This endpoint uses the bearer token outlined here.

OpenAPI definition

json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Search API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.feedly.com/v3/search/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/entities?": {
      "get": {
        "summary": "Autocomplete Entities",
        "description": "",
        "operationId": "autocomplete-entities",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "The keyword you want to match to an entity or AI Model",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "count",
            "in": "query",
            "description": "The number of suggestions. Recommendation: 10",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"errorCode\": 400,\n  \"requestId\": \"835133063819c36c-SEA\",\n  \"errorMessage\": \"Invalid JSON\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorCode": {
                      "type": "integer",
                      "example": 400,
                      "default": 0
                    },
                    "requestId": {
                      "type": "string",
                      "example": "835133063819c36c-SEA"
                    },
                    "errorMessage": {
                      "type": "string",
                      "example": "Invalid JSON"
                    }
                  }
                }
              }
            }
          },
          "405": {
            "description": "405",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "\"errorCode\": 405,\n  \"requestId\": \"8351587fdc5a6808-SEA\",\n  \"errorMessage\": \"POST not allowed\""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "654923f1a61309001989302e:657a232e9b19dd005dc259eb"
}