Developer API
Build a backend integration for inference, durable Context Spaces and read-only request recovery.
Decide who is calling before you issue a credential. Use an endpoint credential for a service that calls a single endpoint. Use an Application when the backend needs an identity of its own, access to several endpoints, or direct reads and writes in a Context Space. Both use the same chat request.
| Goal | Start here |
|---|---|
| Run the first request from a backend | Get an access token → Send a completion |
| Stream the answer as text arrives | Streaming and terminal events |
| Add content once and refer to its exact version | Context Space API |
| Check an interrupted request without creating another | Find the original request |
| Integrate using Python or JavaScript | Backend client examples |
| See methods, request fields and machine-readable contracts | HTTP operations |
Three addresses have different jobs. The token URL exchanges your credential for a short-lived access token. The inference URL accepts the chat request. The platform API origin serves context, integration information and request metadata. Copy these from your environment’s backend integration screen. Do not substitute the console URL for any of them.