# LensHub API

**Canonical:** https://apis.io/apis/lenshub-ai/lenshub-ai-api/  
**Provider:** LensHub — https://apis.io/providers/lenshub-ai/  
**Documentation:** https://docs.lenshub.ai/docs/reference/internal-api

LensHub API is one of 2 APIs that [LensHub](https://apis.io/providers/lenshub-ai/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 5 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 5 JSON Schemas.

LensHub API as documented publicly: 5 operations. Contract generated from the documentation by API Evangelist (2026-11-15); not the provider's own document.

## Operations (5)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/agent-instructions` | Fetching starter agent instructions |
| POST | `/api/apps` | Creates a new app by posting an archive or source; the name can be supplied as a query parameter. |
| POST | `/api/apps/{slug}/deploy` | Deploys an app (or a new release) by sending the source map and optional flags. |
| POST | `/api/ingest/{sourceid}/documents` | Pushing documents from a system with no connector |
| GET | `/api/orgs/current/audit-log` | The same data is available to scripts at GET /api/orgs/current/audit-log?format=csv with an admin session; the JSON endpoint takes limit and offset for paging. |

## Machine-readable artifacts (6)

- **OpenAPI** — https://artifacts.apis.io/lenshub-ai/openapi/_ae-authored/lenshub-ai-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/lenshub-ai/json-schema/lenshub-ai-get-api-orgs-current-audit-log-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/lenshub-ai/json-schema/lenshub-ai-post-api-apps-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/lenshub-ai/json-schema/lenshub-ai-post-api-apps-slug-deploy-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/lenshub-ai/json-schema/lenshub-ai-post-api-apps-slug-deploy-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/lenshub-ai/json-schema/lenshub-ai-post-api-apps-response-schema.json

## Other LensHub APIs (1)

- [LensHub API](https://apis.io/apis/lenshub-ai/lenshub-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/lenshub-ai` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/lenshub-ai/lenshub-ai-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/lenshub-ai/.
