mocop
Browse · Docs · Guide · Analyze

LetBe.ai Public API

API by LetBe.ai · rest

LetBe.ai hosts AI scenarios you build visually in the portal. Publish a scenario, then drive a whole conversation with one endpoint: POST /api/v1/chat/next. Every response returns an opaque state string; send it back on the next call. Audio and file inputs use the multipart variants of the same endpoint. Authentication. Every /api/v1 endpoint except this document takes an account-owned API key: Authorization: Bearer lb_.... Keys are created self-serve on the portal's Developer Access page (https://portal.letbe.ai/developer). Apps where each end user connects their own LetBe.ai account use OAuth 2.0 authorization code with PKCE (S256); the token exchange returns an API key scoped to the user's grant. Server metadata: https://letbe.ai/.well-known/oauth-authorization-server. Errors. Every error is JSON: { "code": string, "message": string, "hint"?: string, "docs"?: string }. code is stable and safe to branch on; message is for humans. Out-of-funds is HTTP 402 with…

Endpoint: https://letbe.ai/api

Verification: observed. Source: crawl.

Capabilities (16)

  • Start a device authorization (for AI assistants)
  • Register an OAuth client automatically (dynamic client registration)
  • List OAuth scopes
  • Exchange an authorization code for an API key
  • List the block types a scenario may contain
  • One block type
  • Run the next step of a published scenario
  • Run the next step with spoken input
  • Run the next step with a document attached
  • This OpenAPI description
  • Verify an API key
  • List retrieval collections
  • Delete a retrieval collection
  • List files in a collection
  • Get a file's ingestion status
  • Delete a file from its collection
About · Contact · Privacy