Files
bifrost/docs/openapi/paths/integrations/cohere/tokenize.yaml
Beyhan Oğur 880f412e2c first commit
2026-04-26 21:52:23 +03:00

41 lines
1.1 KiB
YAML

# Cohere - Tokenize Endpoints
tokenize:
post:
operationId: cohereTokenize
summary: Tokenize text (Cohere format)
description: |
Tokenizes text using Cohere v1 API format.
tags:
- Cohere Integration
requestBody:
required: true
content:
application/json:
schema:
$ref: '../../../schemas/integrations/cohere/tokenize.yaml#/CohereCountTokensRequest'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '../../../schemas/integrations/cohere/tokenize.yaml#/CohereCountTokensResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '../../../schemas/integrations/cohere/common.yaml#/CohereError'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '../../../schemas/integrations/cohere/common.yaml#/CohereError'
security:
- BearerAuth: []
- BasicAuth: []
- VirtualKeyAuth: []
- ApiKeyAuth: []