trustgraph/specs/api/components/schemas/query/NlpQueryRequest.yaml
cybermaggedon fce43ae035
REST API OpenAPI spec (#612)
* OpenAPI spec in specs/api.  Checked lint with redoc.
2026-01-15 11:04:37 +00:00

17 lines
438 B
YAML

type: object
description: |
NLP query request - convert natural language question to structured query.
required:
- question
properties:
question:
type: string
description: Natural language question
example: Who does Alice know that works in engineering?
max-results:
type: integer
description: Maximum results to return when query is executed
default: 100
minimum: 1
maximum: 10000
example: 50