Skip to main content
Documentation

API Reference

Locate the Five SDK APIs used by each task and distinguish browser SDK methods from server OpenAPI endpoints.

On this page

This API map lists the exported Five SDK types and methods used by each guide.

Find the relevant surface

CapabilityPublic surfaceGuide
Work lifecycleFive, parseWork, appendTo, load, refresh, disposeLoad a scene
View modesMode, changeMode, currentMode, mode.changeCamera and modes
Viewpoints and posePano, Pose, observers, moveToPano, updateCameraNavigate
Save and restoreState, getCurrentState, setStateSaved views
Spatial interactiongesture.tap, model.intersectRaycaster, project2dEvents and coordinates
Image exportgetSize, getPixelsCapture an image
Asset feedbackworks.ready, pano.texture.*, models.load, models.refined, model.errorLoading stages

In version 6.9.2, five.on(...) returns an unsubscribe function. Keep it and call it at teardown. Use the event names and payloads documented for your SDK version.

Read the fixed-version package

Use declarations for argument and return types, then inspect the implementation and run the example for behavior. Package AI guides can contain naming mistakes; a copied event name is not a contract test.

Browser SDK and server APIs

Five SDK renders Work in the browser. OpenAPI retrieves Team data and performs server-side operations using Developer app credentials. Endpoint-level contracts remain in the API reference. The browser SDK does not replace authentication or authorize a Team resource.