naftiko: 1.0.0-alpha2 info: label: GroqCloud API — Embeddings description: 'GroqCloud API — Embeddings. 1 operations. Lead operation: Creates an embedding vector representing the input text.. Self-contained Naftiko capability covering one Groq business surface.' tags: - Groq - Embeddings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GROQ_API_KEY: GROQ_API_KEY capability: consumes: - type: http namespace: groq-embeddings baseUri: https://api.groq.com description: GroqCloud API — Embeddings business capability. Self-contained, no shared references. resources: - name: openai-v1-embeddings path: /openai/v1/embeddings operations: - name: createembedding method: POST description: Creates an embedding vector representing the input text. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.GROQ_API_KEY}}' exposes: - type: rest namespace: groq-embeddings-rest port: 8080 description: REST adapter for GroqCloud API — Embeddings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/openai/v1/embeddings name: openai-v1-embeddings description: REST surface for openai-v1-embeddings. operations: - method: POST name: createembedding description: Creates an embedding vector representing the input text. call: groq-embeddings.createembedding with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: groq-embeddings-mcp port: 9090 transport: http description: MCP adapter for GroqCloud API — Embeddings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: creates-embedding-vector-representing-input description: Creates an embedding vector representing the input text. hints: readOnly: false destructive: false idempotent: false call: groq-embeddings.createembedding with: body: tools.body outputParameters: - type: object mapping: $.