API reference
Internal API
Service-to-service operations: onboarding, workflows, media, previews, callbacks.
Endpoints other Keystone services call: Ask Keystone, media processing, website changes, phone calls, consumer auth and provider push notifications. Not for external callers; listed so that the whole contract is in one place.
33 endpoints in 10 groups.
Account invites
Account user invites
Assistant internal
- GET
/api/v1/internal/agent-modelsThe agents' models, what each sends and how it is rated, and the defaults (internal) - POST
/api/v1/internal/assistant/attachmentsA message's photos and documents, as the model is shown them (internal) - GET
/api/v1/internal/assistant/attachments/contentOne file's bytes, for the assistant's sandbox (internal) - POST
/api/v1/internal/assistant/attachments/standingHow each of a message's files stands for the business, file by file (internal) - GET
/api/v1/internal/assistant/businesses/{business_id}/people/{user_id}A business as sor knows it, and one person's membership and role on it (internal) - POST
/api/v1/internal/assistant/callsBind a live call to its business, with what it starts from (internal) - POST
/api/v1/internal/assistant/filesA file the assistant made, kept as the business's (internal) - DELETE
/api/v1/internal/assistant/filesA file the assistant made and then made again: the earlier copy goes (internal) - POST
/api/v1/internal/assistant/mention-emailsEmail the people an Ask Keystone reply mentioned (internal) - GET
/api/v1/internal/assistant/site-screenshots/{shot_id}A screenshot a site workspace tool took, for the assistant's model (internal) - POST
/api/v1/internal/assistant/site-screenshots/{shot_id}/keepA site screenshot the chat's questions show stays while they may be read (internal)
Capabilities
Consumer auth
- POST
/api/v1/internal/consumer-auth/completeComplete - POST
/api/v1/internal/consumer-auth/phone-entryPhone Entry - GET
/api/v1/internal/consumer-auth/prefillPrefill - POST
/api/v1/internal/consumer-auth/resolve-api-keyResolve Api Key - GET
/api/v1/internal/consumers/{consumer_id}/portal-profileConsumer Portal Profile
Media
- GET
/api/v1/internal/media/businessesBusinesses with >=1 live photo — media-service bulk-backfill enumeration (internal) - GET
/api/v1/internal/media/businesses/{business_id}/libraryDoes this business's Library describe photos as they come in? — media-service indexing gate (internal) - GET
/api/v1/internal/media/businesses/{business_id}/members/{user_id}Is this heimdal user a member of this business? — media-service tenant check (internal) - GET
/api/v1/internal/media/photosPaged photo list for media-service ingest/backfill/sweep (internal) - GET
/api/v1/internal/media/photos/{photo_id}One photo as the paged list offers it, for on-demand registration (internal) - GET
/api/v1/internal/media/photos/{photo_id}/bytesStream one photo's blob (internal); 410 when an external URL expired - GET
/api/v1/internal/media/photos/{photo_id}/usagesDelete-guard cross-check: modules referencing this photo (internal) - POST
/api/v1/internal/media/photos/import-derivativeWrite an edited image back as a first-class derived photo (internal)