Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Kourier.sh Feedback API
version: 1.0.0
summary: OpenAI-compatible and Anthropic-compatible inference endpoints, plus authenticated feedback submissions.
description: 'Point any OpenAI-compatible client at https://api.kourier.sh/v1 with a Kourier API key sent as `Authorization: Bearer `. Claude Code speaks the Anthropic-compatible surface at https://api.kourier.sh/anthropic (it appends `/v1/messages` itself). The live model string is `deepseek-v4.1-flash`. Paid plans carry no request-volume or token-usage quotas; enforcement is per-plan concurrency (HTTP 429 with `Retry-After` when the limit is reached). Human documentation: https://docs.kourier.sh/docs.'
contact:
name: Kourier.sh support
url: https://kourier.sh
email: support@kourier.sh
servers:
- url: https://api.kourier.sh/v1
description: Production OpenAI-compatible surface
- url: https://api.kourier.sh/anthropic
description: Production Anthropic-compatible surface for Claude Code
security:
- bearerAuth: []
tags:
- name: Feedback
paths:
/api/feedback:
post:
servers:
- url: https://kourier.sh
summary: Submit private feedback or an error report
operationId: submitFeedback
description: 'Account attribution comes from the bearer API key. Shares per-process limits with MCP: 60 attempts/minute per client and 20 submissions/hour per account. Complete request bodies must fit within 16 KiB of UTF-8. NUL bytes and extra fields are rejected. Do not include secrets or private data. Receipt may be ambiguous on 503; retrying can create duplicates.'
externalDocs:
url: https://docs.kourier.sh/docs/feedback
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- kind
- message
additionalProperties: false
properties:
kind:
type: string
enum:
- feedback
- error
message:
type: string
minLength: 1
maxLength: 8000
pattern: ^[^\u0000]*$
description: Not blank after trimming.
request_id:
type: string
minLength: 1
maxLength: 200
pattern: ^[^\u0000]*$
client_name:
type: string
minLength: 1
maxLength: 80
pattern: ^[^\u0000]*$
responses:
'201':
description: Report saved privately.
content:
application/json:
schema:
type: object
required:
- id
- created_at
properties:
id:
type: string
format: uuid
created_at:
type: string
format: date-time
'400':
description: Invalid JSON, UTF-8 or report fields. JSON body contains error and error_description.
'401':
description: 'Missing or unusable bearer key, or banned account. JSON body contains error and error_description; WWW-Authenticate: Bearer.'
'413':
description: 'Body exceeds 16 KiB. JSON error: request_too_large.'
'415':
description: 'Content-Type must be application/json. JSON error: unsupported_media_type.'
'429':
description: Client or account limit reached. JSON body contains error, error_description and retry_after (seconds).
headers:
Retry-After:
schema:
type: integer
description: Seconds until retry.
'503':
description: 'Receipt could not be confirmed. JSON error: service_unavailable. Do not retry automatically.'
tags:
- Feedback