Jefe NL Web API

Búsqueda natural stateless sobre guías públicas.

GitHub OpenAPI

Operations 2

GET /ask Consultar guías públicas mediante NLWeb #
POST /ask Consultar NLWeb con un cuerpo estructurado #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/chejefe-com:chejefe-com-nlweb-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

chejefe-com-nlweb-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Chejefe Com NL Web API
  version: 1.0.0
  contact:
    name: Jefe
    email: felipe@chejefe.com
    url: https://www.chejefe.com/contact
  license:
    name: Términos de uso de la API pública de Jefe
    identifier: LicenseRef-Jefe-Public-API
    url: https://www.chejefe.com/developers
  description: 'Operations tagged NLWeb across 2 of this provider''s published API definitions: chejefe-com-openapi.json, chejefe-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.chejefe.com
  description: Producción
tags:
- name: NLWeb
  description: Búsqueda natural stateless sobre guías públicas.
paths:
  /ask:
    get:
      tags:
      - NLWeb
      summary: Consultar guías públicas mediante NLWeb
      description: 'Acepta una pregunta en lenguaje natural, busca owners publicados y devuelve resultados Schema.org. streaming=true o Accept: text/event-stream habilita SSE.'
      operationId: askJefeGuides
      security: []
      parameters:
      - name: query
        in: query
        required: true
        description: Pregunta o tarea del restaurante.
        schema:
          type: string
          minLength: 1
          maxLength: 200
      - name: streaming
        in: query
        description: Devuelve eventos start, result y complete mediante SSE.
        schema:
          type: boolean
          default: false
      - name: mode
        in: query
        description: La superficie pública admite únicamente búsqueda list.
        schema:
          type: string
          const: list
          default: list
      responses:
        '200':
          description: Respuesta NLWeb 0.55 o stream SSE equivalente.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlWebResponse'
            text/event-stream:
              schema:
                type: string
        '400':
          description: La solicitud no se pudo resolver.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    post:
      tags:
      - NLWeb
      summary: Consultar NLWeb con un cuerpo estructurado
      description: Admite el cuerpo NLWeb 0.55 con query.text y prefer.streaming. Sólo consulta el catálogo público y no llama a un modelo generativo.
      operationId: askJefeGuidesStructured
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NlWebRequest'
      responses:
        '200':
          description: Respuesta NLWeb 0.55 o stream SSE equivalente.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlWebResponse'
            text/event-stream:
              schema:
                type: string
        '400':
          description: La solicitud no se pudo resolver.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '413':
          description: La solicitud no se pudo resolver.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    servers:
    - url: https://www.chejefe.com
      description: Producción
components:
  schemas:
    NlWebResult:
      type: object
      additionalProperties: false
      required:
      - url
      - name
      - site
      - score
      - description
      - schema_object
      properties:
        url:
          type: string
          format: uri
        name:
          type: string
        site:
          type: string
          const: chejefe.com
        score:
          type: number
          minimum: 0
        description:
          type: string
        schema_object:
          type: object
          additionalProperties: true
    NlWebRequest:
      type: object
      additionalProperties: false
      required:
      - query
      properties:
        query:
          oneOf:
          - type: string
            minLength: 1
            maxLength: 200
          - type: object
            additionalProperties: false
            required:
            - text
            properties:
              text:
                type: string
                minLength: 1
                maxLength: 200
        mode:
          type: string
          const: list
        streaming:
          type: boolean
        prefer:
          type: object
          additionalProperties: false
          properties:
            mode:
              type: string
              const: list
            streaming:
              type: boolean
        meta:
          type: object
          additionalProperties: true
    Problem:
      type: object
      additionalProperties: false
      required:
      - type
      - status
      - title
      - detail
      - instance
      properties:
        type:
          type: string
          format: uri
        status:
          type: integer
          minimum: 400
          maximum: 599
        title:
          type: string
        detail:
          type: string
        instance:
          type: string
    NlWebResponse:
      type: object
      additionalProperties: false
      required:
      - _meta
      - query_id
      - query
      - results
      properties:
        _meta:
          type: object
          additionalProperties: false
          required:
          - version
          - response_type
          - mode
          - site
          properties:
            version:
              type: string
              const: '0.55'
            response_type:
              type: string
              const: answer
            mode:
              type: string
              const: list
            site:
              type: string
              const: chejefe.com
        query_id:
          type: string
          format: uuid
        query:
          type: string
        results:
          type: array
          items:
            $ref: '#/components/schemas/NlWebResult'
externalDocs:
  description: Documentación para desarrolladores
  url: https://www.chejefe.com/developers
x-refined-from:
- chejefe-com-openapi.json
- chejefe-com-openapi.yml
x-api-versioning:
  strategy: major-version-in-path
  current: v1
  policy: https://www.chejefe.com/developers/api-versioning
  deprecation: Breaking changes use a new major path. Deprecated operations are documented and use Deprecation and Sunset headers when a retirement date exists.