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: Luckpanda App Context API
version: 1.0.0
description: 'Operations tagged Context across 2 of this provider''s published API definitions: openapi.yaml, luckpanda-app-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://luckpanda.app/api/v1
- url: http://127.0.0.1:8787/api/v1
description: Local `wrangler dev`
security:
- bearerAuth: []
tags:
- name: Context
paths:
/company-context:
get:
tags:
- Context
operationId: getCompanyContext
x-mcp-tool: company_context_get
summary: The business, its legal entities, and what this key may do
description: '`capabilities.agent_effects` is `proposals_only` for agents and `direct_within_grants_and_limits` for a server-integration key over REST; `capabilities.integration_limits` repeats the key''s limits.'
responses:
'200':
$ref: '#/components/responses/Page'
'401':
$ref: '#/components/responses/Problem'
servers:
- url: https://luckpanda.app/api/v1
- url: http://127.0.0.1:8787/api/v1
description: Local `wrangler dev`
/search:
get:
tags:
- Context
operationId: search
x-mcp-tool: business_search
parameters:
- name: q
in: query
required: true
schema:
type: string
maxLength: 200
responses:
'200':
$ref: '#/components/responses/Page'
summary: Search
x-summary-source: derived
servers:
- url: https://luckpanda.app/api/v1
- url: http://127.0.0.1:8787/api/v1
description: Local `wrangler dev`
components:
responses:
Problem:
description: Typed RFC 7807 error
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
Page:
description: Cursor page
content:
application/json:
schema:
$ref: '#/components/schemas/Page'
schemas:
Problem:
type: object
required:
- type
- title
- status
- code
properties:
type:
type: string
format: uri-reference
title:
type: string
status:
type: integer
code:
type: string
description: 'VALIDATION_FAILED (422) the body or a field is wrong; see field_errors.
FORBIDDEN (401 no or revoked key, 403 missing permission or grant).
NOT_FOUND (404).
APPROVAL_REQUIRED (403) an agent (or any key over /mcp) tried to issue, send or pay; send proposal_only to propose instead.
INTEGRATION_LIMIT (403) a server-integration key is outside its kinds, legal entities or largest total.
PAYWALL (402) the business has not unlocked the outcome (issuing needs the Sales module); the body names the module.
INVALID_STATE (409) the document is not in a state that allows this (e.g. issuing a cancelled document).
STALE_VERSION (409) expected_version is behind; reload and retry.
IDEMPOTENCY_MISMATCH (409) the idempotency_key was used with a different body.
DUPLICATE_EXTERNAL_REF (409) a document of this kind already has this external_ref.
COMPLIANCE_BLOCKED (409) a compliance rule blocks the change (e.g. cancelling a document with an active e-invoice IRN).
ALLOCATION_EXCEEDS_AVAILABLE (409) a payment allocation is more than the receipt or the amount due allows.
NOT_IMPLEMENTED (501) a path or option that is planned but not served.
DELIVERY_FAILED (502, /invoices send step) the email provider refused the message.
RATE_LIMITED (429).
'
enum:
- VALIDATION_FAILED
- FORBIDDEN
- NOT_FOUND
- APPROVAL_REQUIRED
- INTEGRATION_LIMIT
- PAYWALL
- INVALID_STATE
- STALE_VERSION
- IDEMPOTENCY_MISMATCH
- DUPLICATE_EXTERNAL_REF
- COMPLIANCE_BLOCKED
- ALLOCATION_EXCEEDS_AVAILABLE
- CONFLICT
- NOT_IMPLEMENTED
- DELIVERY_FAILED
- RATE_LIMITED
- INTERNAL_ERROR
message:
type: string
field_errors:
type: array
items:
type: object
required:
- path
- code
properties:
path:
type: string
code:
type: string
correlation_id:
$ref: '#/components/schemas/Uuid'
Page:
type: object
required:
- data
properties:
data:
type: array
maxItems: 100
items:
type: object
additionalProperties: true
next_cursor:
type:
- string
- 'null'
Uuid:
type: string
format: uuid
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: opaque API key, lpk_...
description: Made in Workspace > Developers (agent or server-integration). Not a JWT.
x-refined-from:
- openapi.yaml
- luckpanda-app-openapi.yaml