Coveo · Capability

Coveo Authorization Server API — Platform Tokens

Coveo Authorization Server API — Platform Tokens. 1 operations. Lead operation: Platform Tokens. Self-contained Naftiko capability covering one Coveo business surface.

Run with Naftiko CoveoAuthorization ServerPlatform Tokens

What You Can Do

POST
Generateplatformtoken — generateplatformtoken
/v1/organizations/{organizationid}/tokens

MCP Tools

generateplatformtoken

generateplatformtoken

Capability Spec

authorization-platform-tokens.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Coveo Authorization Server API — Platform Tokens
  description: 'Coveo Authorization Server API — Platform Tokens. 1 operations. Lead operation: Platform Tokens. Self-contained
    Naftiko capability covering one Coveo business surface.'
  tags:
  - Coveo
  - Authorization Server
  - Platform Tokens
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COVEO_API_KEY: COVEO_API_KEY
capability:
  consumes:
  - type: http
    namespace: authorization-platform-tokens
    baseUri: https://platform.cloud.coveo.com
    description: Coveo Authorization Server API — Platform Tokens business capability. Self-contained, no shared references.
    authentication:
      type: bearer
      token: '{{env.COVEO_API_KEY}}'
    resources:
    - name: rest-organizations-organizationId-tokens
      path: /rest/organizations/{organizationId}/tokens
      operations:
      - name: generateplatformtoken
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: validityPeriod
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: authorization-platform-tokens-rest
    port: 8080
    description: REST adapter for Coveo Authorization Server API — Platform Tokens. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/tokens
      name: rest-organizations-organizationid-tokens
      description: REST surface for rest-organizations-organizationId-tokens.
      operations:
      - method: POST
        name: generateplatformtoken
        description: generateplatformtoken
        call: authorization-platform-tokens.generateplatformtoken
        with:
          organizationId: rest.organizationId
          validityPeriod: rest.validityPeriod
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: authorization-platform-tokens-mcp
    port: 9090
    transport: http
    description: MCP adapter for Coveo Authorization Server API — Platform Tokens. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: generateplatformtoken
      description: generateplatformtoken
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: authorization-platform-tokens.generateplatformtoken
      with:
        organizationId: tools.organizationId
        validityPeriod: tools.validityPeriod
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.