{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/StreamCreateRequest",
"title": "StreamCreateRequest",
"type": "object",
"description": "Request to create a new named event stream",
"properties": {
"name": {
"type": "string",
"description": "Unique name for the stream. Used for resumability; reconnecting with the same name resumes from the last acknowledged position.",
"examples": [
"all-user-events"
]
},
"model": {
"type": "string",
"description": "The Prisma model name to stream events for",
"examples": [
"User"
]
},
"filter": {
"$ref": "#/components/schemas/EventFilter"
}
},
"required": [
"name",
"model"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.