v1
Cloud Runtime

Unified cloud agent session (tier=sandbox|ephemeral)

Changed on
post/v1/cloud/runtime/sessions/stream

Request

  • Base URL
    https://memory.papr.ai
  • URL
    https://memory.papr.ai/v1/cloud/runtime/sessions/stream
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Request body

external_user_idstring nullable

Parse _User.objectId of the acting user (desktop OAuth). Used for ownership-scoped cloud operations instead of the API key user.

chatIdstring required
promptstring required
providerstring required
modelstring required
agentIdstring nullable
jobIdstring nullable
appIdstring nullable
runtimestring
tier'ephemeral' | 'sandbox'
keyNamesstring[]

Response

SSE stream of cloud agent events

object required

Generic JSON response object

Changes