Lance Lance.history API

Paginated newest-first message history with optional bundle/thread filters.

GitHub OpenAPI

Operations 1

GET /v1/org/{org_id}/chat_history Lance history history get #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lance-app:lance-app-lance-history-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lance-app-lance-history-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lance.history 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.history
  description: Paginated newest-first message history with optional bundle/thread filters.
paths:
  /v1/org/{org_id}/chat_history:
    get:
      tags:
      - lance.history
      operationId: lance.history.history.get
      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}$
      - name: limit
        in: query
        schema:
          type: string
          description: a string to be decoded into a number
        required: false
        description: a string to be decoded into a number
      - name: cursor
        in: query
        schema:
          type: string
        required: false
      - name: bundle_id
        in: query
        schema:
          type: string
        required: false
      - name: thread_id
        in: query
        schema:
          type: string
        required: false
      security:
      - bearer: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                required:
                - messages
                - next_cursor
                properties:
                  messages:
                    type: array
                    items:
                      type: object
                      required:
                      - direction
                      - content
                      - bundle_id
                      - thread_id
                      - created_at
                      properties:
                        direction:
                          type: string
                          enum:
                          - user
                          - agent
                        content:
                          type: string
                        bundle_id:
                          anyOf:
                          - type: string
                          - type: 'null'
                        thread_id:
                          type: string
                        created_at:
                          type: string
                        result:
                          anyOf:
                          - type: object
                            required:
                            - kind
                            - version
                            - build_number
                            - state
                            properties:
                              kind:
                                type: string
                                enum:
                                - build
                              version:
                                anyOf:
                                - type: string
                                - type: 'null'
                              build_number:
                                anyOf:
                                - type: number
                                - type: 'null'
                              state:
                                type: string
                              testers:
                                type: array
                                items:
                                  type: object
                                  required:
                                  - email
                                  - status
                                  properties:
                                    email:
                                      type: string
                                    status:
                                      type: string
                                  additionalProperties: false
                              failure:
                                type: object
                                required:
                                - error_code
                                properties:
                                  error_code:
                                    type: string
                                    description: a string at least 1 character(s) long
                                    title: minLength(1)
                                    minLength: 1
                                  step:
                                    anyOf:
                                    - type: string
                                    - type: 'null'
                                  first_error:
                                    anyOf:
                                    - type: string
                                    - type: 'null'
                                  hint:
                                    anyOf:
                                    - type: string
                                    - type: 'null'
                                  log_url:
                                    anyOf:
                                    - type: string
                                    - type: 'null'
                                  log_tail:
                                    type: array
                                    items:
                                      type: string
                                  next_actions:
                                    type: array
                                    items:
                                      type: string
                                  source_door:
                                    anyOf:
                                    - type: string
                                    - type: 'null'
                                additionalProperties: false
                            additionalProperties: false
                          - type: object
                            required:
                            - kind
                            - fields_changed
                            properties:
                              kind:
                                type: string
                                enum:
                                - metadata
                              fields_changed:
                                type: array
                                items:
                                  type: string
                            additionalProperties: false
                          - type: object
                            required:
                            - kind
                            - status
                            properties:
                              kind:
                                type: string
                                enum:
                                - task
                              status:
                                type: string
                                enum:
                                - completed
                                - failed
                                - blocked
                              summary:
                                type: string
                            additionalProperties: false
                        turn_end:
                          type: string
                          enum:
                          - no_receipt
                        grounded:
                          type: boolean
                        tools_completed:
                          type: number
                      additionalProperties: false
                  next_cursor:
                    anyOf:
                    - type: string
                    - type: 'null'
                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
        '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
        '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
      summary: Lance history history get
      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