naftiko: 1.0.0-alpha2 info: label: Threads API — Troubleshooting description: 'Threads API — Troubleshooting. 2 operations. Lead operation: Retrieve Publishing Quota Limit. Self-contained Naftiko capability covering one Threads Api business surface.' tags: - Threads Api - Troubleshooting created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: THREADS_API_API_KEY: THREADS_API_API_KEY capability: consumes: - type: http namespace: threads-troubleshooting baseUri: http://{{api_host}} description: Threads API — Troubleshooting business capability. Self-contained, no shared references. resources: - name: me-threads_publishing_limit path: /me/threads_publishing_limit operations: - name: get method: GET description: Retrieve Publishing Quota Limit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: string description: user's current Threads API usage total. - name: container_id path: /{container_id}/ operations: - name: get method: GET description: Check Container's Publishing Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: string description: EXPIRED The container was not published within 24 hours and has expired. - name: container_id in: path type: string required: true exposes: - type: rest namespace: threads-troubleshooting-rest port: 8080 description: REST adapter for Threads API — Troubleshooting. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/me/threads-publishing-limit name: me-threads-publishing-limit description: REST surface for me-threads_publishing_limit. operations: - method: GET name: get description: Retrieve Publishing Quota Limit call: threads-troubleshooting.get with: fields: rest.fields outputParameters: - type: object mapping: $. - path: /v1/{container-id} name: container-id description: REST surface for container_id. operations: - method: GET name: get description: Check Container's Publishing Status call: threads-troubleshooting.get with: fields: rest.fields container_id: rest.container_id outputParameters: - type: object mapping: $. - type: mcp namespace: threads-troubleshooting-mcp port: 9090 transport: http description: MCP adapter for Threads API — Troubleshooting. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-publishing-quota-limit description: Retrieve Publishing Quota Limit hints: readOnly: true destructive: false idempotent: true call: threads-troubleshooting.get with: fields: tools.fields outputParameters: - type: object mapping: $. - name: check-container-s-publishing-status description: Check Container's Publishing Status hints: readOnly: true destructive: false idempotent: true call: threads-troubleshooting.get with: fields: tools.fields container_id: tools.container_id outputParameters: - type: object mapping: $.