Lance Lance.chat API
Returns 202 immediately; poll GET chat_history for the reply.
Returns 202 immediately; poll GET chat_history for the reply.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/lance-app:lance-app-lance-chat-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Lance.chat API
version: 1.0.0
description: Public REST surface for an organization's App Manager — its autonomous App Store Connect operator.
security: []
tags:
- name: lance.chat
description: Returns 202 immediately; poll GET chat_history for the reply.
paths:
/v1/org/{org_id}/chat:
post:
tags:
- lance.chat
operationId: lance.chat.chat.post
parameters:
- name: org_id
in: path
schema:
type: string
description: a string matching the pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
required: true
description: a string matching the pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
security:
- bearer: []
responses:
'202':
description: Success
content:
application/json:
schema:
type: object
required:
- accepted_at
- org_id
- bundle_id
- thread_id
- note
properties:
accepted_at:
type: string
org_id:
type: string
bundle_id:
anyOf:
- type: string
- type: 'null'
thread_id:
type: string
note:
type: string
authorize:
type: array
items:
type: string
enum:
- submit_for_review
- release
- cancel_submission
additionalProperties: false
'400':
description: The request did not match the expected schema
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/HttpApiDecodeError'
- type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
enum:
- validation_error
message:
type: string
additionalProperties: false
additionalProperties: false
'401':
description: Error
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
enum:
- unauthorized
message:
type: string
additionalProperties: false
additionalProperties: false
'402':
description: Error
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- billing_url
properties:
code:
type: string
enum:
- payment_required
message:
type: string
billing_url:
type: string
additionalProperties: false
additionalProperties: false
'403':
description: Error
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
enum:
- forbidden
message:
type: string
additionalProperties: false
additionalProperties: false
'429':
description: Error
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- retry_after_seconds
properties:
code:
type: string
enum:
- rate_limited
message:
type: string
retry_after_seconds:
type: number
additionalProperties: false
additionalProperties: false
'500':
description: Unauthorized
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/Unauthorized'
- $ref: '#/components/schemas/InternalError'
- type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
enum:
- internal_error
message:
type: string
additionalProperties: false
additionalProperties: false
requestBody:
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
description: a string at most 8000 character(s) long
title: maxLength(8000)
minLength: 1
maxLength: 8000
bundle_id:
type: string
thread_id:
type: string
authorize:
type: array
items:
type: string
enum:
- submit_for_review
- release
- cancel_submission
description: 'Structured authorization for irreversible App Store actions this ask requests. The App Manager performs them ONLY when an ask it is working on carries the matching value; without it, it stops at submit-ready and replies with how to authorize. Pass a value only when the human owner approved that action (saying it in the message is not enough). "submit_for_review": submit the app''s App Store version (and anything staged in the same review submission) to App Review. "release": release an approved App Store version to the public (a release request), or start, resume or complete a phased release. "cancel_submission": withdraw a review submission that is waiting for or in App Review (App Store Connect then shows the version as Developer Rejected). It covers the operator turn that works on this ask, never a later one (a new or resumed turn needs a new authorized ask), and on an app''s thread (bundle_id) that app only. A re-ask that adds authorization is a new ask (where the ask takes an idempotency_key, use a new idempotency_key).'
additionalProperties: false
required: true
summary: Lance chat chat post
x-summary-source: derived
components:
schemas:
HttpApiDecodeError:
type: object
required:
- issues
- message
- _tag
properties:
issues:
type: array
items:
$ref: '#/components/schemas/Issue'
message:
type: string
_tag:
type: string
enum:
- HttpApiDecodeError
additionalProperties: false
description: The request did not match the expected schema
InternalError:
type: object
required:
- message
- _tag
properties:
message:
type: string
_tag:
type: string
enum:
- InternalError
additionalProperties: false
Unauthorized:
type: object
required:
- message
- _tag
properties:
message:
type: string
_tag:
type: string
enum:
- Unauthorized
additionalProperties: false
PropertyKey:
anyOf:
- type: string
- type: number
- type: object
required:
- _tag
- key
properties:
_tag:
type: string
enum:
- symbol
key:
type: string
additionalProperties: false
description: an object to be decoded into a globally shared symbol
Issue:
type: object
required:
- _tag
- path
- message
properties:
_tag:
type: string
enum:
- Pointer
- Unexpected
- Missing
- Composite
- Refinement
- Transformation
- Type
- Forbidden
description: The tag identifying the type of parse issue
path:
type: array
items:
$ref: '#/components/schemas/PropertyKey'
description: The path to the property where the issue occurred
message:
type: string
description: A descriptive message explaining the issue
additionalProperties: false
description: Represents an error encountered while parsing a value to match the schema
securitySchemes:
bearer:
type: http
scheme: bearer