pub.chive.actor.autocompleteKeyword

chive.pub

Documentation

Autocomplete research keywords using FAST subject headings and Wikidata entities

main query

Autocomplete research keywords using FAST subject headings and Wikidata entities

Parameters

limit integer Optional

Maximum number of suggestions to return

query string Required

Search query for keyword

sources array of string Optional

Data sources to query (defaults to both)

Output

Encodingapplication/json
suggestions array Required

No description available.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Maximum number of suggestions to return
Search query for keyword
Data sources to query (defaults to both)
View raw schema
{
  "type": "query",
  "errors": [],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "suggestions"
      ],
      "properties": {
        "suggestions": {
          "type": "array",
          "items": {
            "ref": "#keywordSuggestion",
            "type": "ref"
          }
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "query"
    ],
    "properties": {
      "limit": {
        "type": "integer",
        "default": 8,
        "maximum": 50,
        "minimum": 1,
        "description": "Maximum number of suggestions to return"
      },
      "query": {
        "type": "string",
        "minLength": 1,
        "description": "Search query for keyword"
      },
      "sources": {
        "type": "array",
        "items": {
          "type": "string",
          "knownValues": [
            "fast",
            "wikidata"
          ]
        },
        "description": "Data sources to query (defaults to both)"
      }
    }
  },
  "description": "Autocomplete research keywords using FAST subject headings and Wikidata entities"
}
keywordSuggestion object

A keyword suggestion from FAST or Wikidata

Properties

description string Optional

Description of the keyword (Wikidata only)

id string Required

Identifier from the source system (FAST ID or Wikidata Q-number)

label string Required

Display label for the keyword

source string Required

Source of the keyword suggestion

Known values: fast, wikidata, freetext
usageCount integer Optional

Usage count from FAST database

View raw schema
{
  "type": "object",
  "required": [
    "id",
    "label",
    "source"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Identifier from the source system (FAST ID or Wikidata Q-number)"
    },
    "label": {
      "type": "string",
      "description": "Display label for the keyword"
    },
    "source": {
      "type": "string",
      "description": "Source of the keyword suggestion",
      "knownValues": [
        "fast",
        "wikidata",
        "freetext"
      ]
    },
    "usageCount": {
      "type": "integer",
      "description": "Usage count from FAST database"
    },
    "description": {
      "type": "string",
      "description": "Description of the keyword (Wikidata only)"
    }
  },
  "description": "A keyword suggestion from FAST or Wikidata"
}

Lexicon Garden

@