Skip to main content
GET
Stream project events

Authorizations

Authorization
string
header
required

Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.

Headers

Last-Event-ID
string

Identifier for the last event.

Value constraints

Maximum string length: 4096

Path Parameters

projectId
string<uuid>
required

Identifier of the Polymorfa project that owns this resource.

Value constraints

Query Parameters

types
string

Specifies types for this query parameter. Comma-separated event types to include, or repeat the parameter. A trailing * matches a prefix, such as message.*. Omit for every type. At most 32 filters.

Example:

"message.*,session.connected"

cursor
string

Specifies cursor for this query parameter.

Value constraints

Maximum string length: 4096
ack
enum<string>

Specifies ack for this query parameter.

Allowed values

Available options:
auto,
manual

Response

An SSE stream. The first frame is ready. revoked, expiry, dropped and gap frames end the connection, except a gap with reason retention_exceeded, which reports skipped events and the stream continues.

JSON carried in the data field of one SSE message. The SSE event field repeats type.

v
enum<number>
required

Specifies v for this management platform access event stream ready frame.

Allowed values

Available options:
1
streamId
string<uuid>
required

Identifier for the stream.

Value constraints

sequence
integer
required

Frame counter for this connection. It restarts at 1 on every connection.

Value constraints

Required range: x >= 1
sentAt
string<date-time>
required

Timestamp for sent at.

Value constraints

type
enum<string>
required

Type discriminator for this object.

Allowed values

Available options:
ready
projectId
string<uuid>
required

Identifier of the Polymorfa project that owns this resource.

Value constraints

connectionExpiresAt
string<date-time>
required

Timestamp for connection expires at.

Value constraints

heartbeatIntervalMs
integer
required

Specifies heartbeat interval ms for this management platform access event stream ready frame.

maxInFlight
integer
required

Specifies max in flight for this management platform access event stream ready frame.

ack
enum<string>
required

Specifies ack for this management platform access event stream ready frame.

Allowed values

Available options:
auto,
manual
types
string[]
required

Types associated with this management platform access event stream ready frame.

idleTimeoutMs
integer
required

Specifies idle timeout ms for this management platform access event stream ready frame.

resume
object
required

Structured resume values for this management platform access event stream ready frame.