Skip to main content
HASP exposes four HTTP surfaces that matter to AI Studio integrators. They are intentionally separate: public authoring (API-key authenticated project/schema/workflow management), Studio management (session-authenticated builders on the platform), agent runtime (org subdomain — discovery + A2A invocation), and AI inference (public API gateway).

1. Public authoring API

Base URL: https://api.usehasp.com/v1 Authentication: Authorization: Bearer hasp_api_live_<key> (or a delegated hasp_agt_* credential) This is the supported programmatic path for creating and managing Studio projects, entity schemas, and workflows from your own systems. Unlike the internal API below, it is API-key authenticated, versioned, and covered by the published OpenAPI document. Field type values for the schemas endpoints are the entity field types. Full request/response shapes are in the interactive AI API → Endpoints reference on this site.

2. HASP Internal API (Studio management)

Base URL: https://app.usehasp.com These routes power AI Studio in the browser. They are defined in TypeSpec (apps/platform/api/ in the HASP monorepo) and compiled to OpenAPI (apps/platform/api/openapi.yaml). All endpoints are shown as full absolute URLs; the common path prefix is /api/internal/. Authentication: Session-backed requests from signed-in org members (same auth model as the Studio UI), not api.usehasp.com API keys. These power the Studio UI in the browser and are not a supported integration surface — for programmatic project, schema, and workflow management use the public authoring API above.

Projects & structure

Dashboards & activity

Releases

Traces & workflow runs

Entities & records

Integrations, webhooks, settings

Discovery (capability surfacing for builders)

Palette (authoring assist)

TypeSpec source of truth

The machine-readable contract is generated from TypeSpec — not hand-maintained in this docs repo. When a path or schema changes, the platform export is authoritative. If you need exhaustive request/response shapes, use openapi.yaml from the platform tree or ask HASP for a published export.

3. Org runtime — A2A & discovery

Base URL: https://{org}.usehasp.run (or your Enterprise custom domain) See A2A protocol for payloads, auth, and standards alignment.

4. Public AI API (inference gateway)

Base URL: https://api.usehasp.com/v1 Inference, native chat, and Anthropic-compatible /messages live here. Authenticate with a HASP API key:
Interactive reference and the published OpenAPI document ship with this site under AI API. Start at AI API quickstart.