naftiko: 1.0.0-alpha2 info: label: TIDAL Search API — Suggestions description: TIDAL Search API — Suggestions. 3 operations. Self-contained Naftiko capability covering one TIDAL business surface. tags: - TIDAL - Music - searchSuggestions created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: TIDAL_ACCESS_TOKEN: TIDAL_ACCESS_TOKEN capability: consumes: - type: http namespace: search-suggestions baseUri: https://openapi.tidal.com description: TIDAL Search API — Suggestions business capability. Self-contained, no shared references. resources: - name: searchSuggestions-id path: /searchSuggestions/{id} operations: - name: getsearchsuggestions method: GET description: Get single searchSuggestion. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Search query string used as the resource identifier required: true - name: explicitFilter in: query type: string description: 'Explicit filter. Valid values: INCLUDE or EXCLUDE' required: false - name: countryCode in: query type: string description: ISO 3166-1 alpha-2 country code required: false - name: include in: query type: array description: 'Allows the client to customize which related resources should be returned. Available options: directHits, history' required: false - name: searchSuggestions-id-relationships-directHits path: /searchSuggestions/{id}/relationships/directHits operations: - name: getsearchsuggestions method: GET description: Get directHits relationship ("to-many"). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Search query string used as the resource identifier required: true - name: explicitFilter in: query type: string description: 'Explicit filter. Valid values: INCLUDE or EXCLUDE' required: false - name: countryCode in: query type: string description: ISO 3166-1 alpha-2 country code required: false - name: include in: query type: array description: 'Allows the client to customize which related resources should be returned. Available options: directHits' required: false - name: page[cursor] in: query type: string description: Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified required: false - name: searchSuggestions-id-relationships-history path: /searchSuggestions/{id}/relationships/history operations: - name: getsearchsuggestions method: GET description: Get history relationship ("to-many"). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Search query string used as the resource identifier required: true - name: explicitFilter in: query type: string description: 'Explicit filter. Valid values: INCLUDE or EXCLUDE' required: false - name: countryCode in: query type: string description: ISO 3166-1 alpha-2 country code required: false - name: include in: query type: array description: 'Allows the client to customize which related resources should be returned. Available options: history' required: false - name: page[cursor] in: query type: string description: Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified required: false authentication: type: bearer value: '{{env.TIDAL_ACCESS_TOKEN}}' placement: header header: Authorization prefix: 'Bearer ' exposes: - type: rest namespace: search-suggestions-rest port: 8080 description: REST adapter for TIDAL Search API — Suggestions. One Spectral-compliant resource per consumed operation, prefixed with /v2. resources: - path: /v2/searchSuggestions/{id} name: searchSuggestions-id description: REST surface for searchSuggestions-id. operations: - method: GET name: getsearchsuggestions description: Get single searchSuggestion. call: search-suggestions.getsearchsuggestions with: id: rest.path.id explicitFilter: rest.query.explicitFilter countryCode: rest.query.countryCode include: rest.query.include outputParameters: - type: object mapping: $. - path: /v2/searchSuggestions/{id}/relationships/directHits name: searchSuggestions-id-relationships-directHits description: REST surface for searchSuggestions-id-relationships-directHits. operations: - method: GET name: getsearchsuggestions description: Get directHits relationship ("to-many"). call: search-suggestions.getsearchsuggestions with: id: rest.path.id explicitFilter: rest.query.explicitFilter countryCode: rest.query.countryCode include: rest.query.include page[cursor]: rest.query.page[cursor] outputParameters: - type: object mapping: $. - path: /v2/searchSuggestions/{id}/relationships/history name: searchSuggestions-id-relationships-history description: REST surface for searchSuggestions-id-relationships-history. operations: - method: GET name: getsearchsuggestions description: Get history relationship ("to-many"). call: search-suggestions.getsearchsuggestions with: id: rest.path.id explicitFilter: rest.query.explicitFilter countryCode: rest.query.countryCode include: rest.query.include page[cursor]: rest.query.page[cursor] outputParameters: - type: object mapping: $. - type: mcp namespace: search-suggestions-mcp port: 9090 transport: http description: MCP adapter for TIDAL Search API — Suggestions. One tool per consumed operation. tools: - name: tidal-getsearchsuggestions description: Get single searchSuggestion. hints: readOnly: true destructive: false idempotent: true call: search-suggestions.getsearchsuggestions with: id: tools.id explicitFilter: tools.explicitFilter countryCode: tools.countryCode include: tools.include outputParameters: - type: object mapping: $. - name: tidal-getsearchsuggestions description: Get directHits relationship ("to-many"). hints: readOnly: true destructive: false idempotent: true call: search-suggestions.getsearchsuggestions with: id: tools.id explicitFilter: tools.explicitFilter countryCode: tools.countryCode include: tools.include page[cursor]: tools.page[cursor] outputParameters: - type: object mapping: $. - name: tidal-getsearchsuggestions description: Get history relationship ("to-many"). hints: readOnly: true destructive: false idempotent: true call: search-suggestions.getsearchsuggestions with: id: tools.id explicitFilter: tools.explicitFilter countryCode: tools.countryCode include: tools.include page[cursor]: tools.page[cursor] outputParameters: - type: object mapping: $.