naftiko: 1.0.0-alpha2 info: label: Semrush — Hermes Partner API description: 'Semrush — Hermes Partner API. 4 operations. Lead operation: Semrush Send notification. Self-contained Naftiko capability covering one Semrush business surface.' tags: - Semrush - Hermes Partner API created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SEMRUSH_API_KEY: SEMRUSH_API_KEY capability: consumes: - type: http namespace: semrush-hermes-partner-api baseUri: https://api.semrush.com description: Semrush — Hermes Partner API business capability. Self-contained, no shared references. resources: - name: apis-v4-hermes-v0-event path: /apis/v4/hermes/v0/event operations: - name: post method: POST description: Semrush Send notification outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: apis-v4-hermes-v0-event-id path: /apis/v4/hermes/v0/event/{id} operations: - name: get method: GET description: Semrush Get event status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Subscription id required: true - name: apis-v4-hermes-v0-subscriptions path: /apis/v4/hermes/v0/subscriptions operations: - name: get method: GET description: Semrush Get available subscriptions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: apis-v4-hermes-v0-user-user_id-subscription-id path: /apis/v4/hermes/v0/user/{user_id}/subscription/{id} operations: - name: get method: GET description: Semrush Get user's subscription status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: user_id in: path type: integer description: User id required: true - name: id in: path type: integer description: Subscription id required: true authentication: type: bearer token: '{{env.SEMRUSH_API_KEY}}' exposes: - type: rest namespace: semrush-hermes-partner-api-rest port: 8080 description: REST adapter for Semrush — Hermes Partner API. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/apis/v4/hermes/v0/event name: apis-v4-hermes-v0-event description: REST surface for apis-v4-hermes-v0-event. operations: - method: POST name: post description: Semrush Send notification call: semrush-hermes-partner-api.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/apis/v4/hermes/v0/event/{id} name: apis-v4-hermes-v0-event-id description: REST surface for apis-v4-hermes-v0-event-id. operations: - method: GET name: get description: Semrush Get event status call: semrush-hermes-partner-api.get with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/apis/v4/hermes/v0/subscriptions name: apis-v4-hermes-v0-subscriptions description: REST surface for apis-v4-hermes-v0-subscriptions. operations: - method: GET name: get description: Semrush Get available subscriptions call: semrush-hermes-partner-api.get outputParameters: - type: object mapping: $. - path: /v1/apis/v4/hermes/v0/user/{user-id}/subscription/{id} name: apis-v4-hermes-v0-user-user-id-subscription-id description: REST surface for apis-v4-hermes-v0-user-user_id-subscription-id. operations: - method: GET name: get description: Semrush Get user's subscription status call: semrush-hermes-partner-api.get with: user_id: rest.user_id id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: semrush-hermes-partner-api-mcp port: 9090 transport: http description: MCP adapter for Semrush — Hermes Partner API. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: semrush-send-notification description: Semrush Send notification hints: readOnly: false destructive: false idempotent: false call: semrush-hermes-partner-api.post with: body: tools.body outputParameters: - type: object mapping: $. - name: semrush-get-event-status description: Semrush Get event status hints: readOnly: true destructive: false idempotent: true call: semrush-hermes-partner-api.get with: id: tools.id outputParameters: - type: object mapping: $. - name: semrush-get-available-subscriptions description: Semrush Get available subscriptions hints: readOnly: true destructive: false idempotent: true call: semrush-hermes-partner-api.get outputParameters: - type: object mapping: $. - name: semrush-get-user-s-subscription-status description: Semrush Get user's subscription status hints: readOnly: true destructive: false idempotent: true call: semrush-hermes-partner-api.get with: user_id: tools.user_id id: tools.id outputParameters: - type: object mapping: $.