Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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: Orcha Feedback API
version: 1.0.0
description: 'Token-authenticated REST API for AI agents: files, folders, memories, retrieval, filesystem-shaped access, ingestion, directory sync, structured databases, and feedback. Authenticate with an `orca_` API token created on the Tokens page; the token is scoped to one workspace and to `read`/`write`/`delete` permissions capped at the owner''s live workspace role. Every request counts against per-token minute/hour/day rate-limit windows reported in `X-RateLimit-*` headers.'
contact:
name: Orcha
url: https://tryorcha.com
servers:
- url: https://app.tryorcha.com
description: Production
security:
- bearerAuth: []
tags:
- name: Feedback
description: Agent feedback to workspace maintainers
paths:
/api/v1/feedback:
post:
operationId: submitFeedback
tags:
- Feedback
summary: Submit agent feedback
description: 'Sends feedback about the workspace''s context to its maintainers through the product feedback pipeline; nothing is stored in the workspace. A 502 means an email provider is configured but delivery failed.
Permission required: `read`.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackRequest'
responses:
'200':
description: Feedback sent
content:
application/json:
schema:
type: object
properties:
message:
type: string
'400':
description: Invalid request body or parameters; `errors` carries the validation issues
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, invalid, expired, or deactivated API token
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Token lacks the required permission or the resource is outside its scope
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: A per-token rate-limit window is exhausted; see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'502':
description: Feedback delivery failed
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
FeedbackRequest:
type: object
required:
- message
properties:
message:
type: string
maxLength: 5000
category:
type: string
enum:
- missing_context
- stale_content
- wrong_result
- tool_problem
- other
default: other
context:
type: object
description: Structured details, e.g. the query used; must serialize to 10 KB or less
additionalProperties: true
channel:
type: string
enum:
- rest
- cli
default: rest
additionalProperties: false
Error:
type: object
description: Standard error body. `errors` appears on validation failures; `code` appears when the failing operation exposes a machine-readable cause.
required:
- message
properties:
message:
type: string
code:
type: string
errors:
type: array
description: Validation issues (Zod issue objects)
items:
type: object
additionalProperties: true
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Orcha API token, prefixed `orca_`. Shown once at creation; only a hashed verifier is stored.