API referenceIngest
POST /workspaces/{workspaceId}/observations dropped and counted
Path Parameters
workspaceId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/workspaces/string/observations" \ -H "Content-Type: application/json" \ -d '{ "observations": [ { "event": "string", "occurred_at": "2019-08-24T14:15:22Z", "schema_version": 1, "source_event_id": "string" } ] }'{ "$schema": "https://example.com/schemas/ActivityIngestReport.json", "dropCount": 0, "dropped": [ "string" ], "receipts": [ { "$schema": "https://example.com/schemas/ActivityReceipt.json", "projectedAt": "2019-08-24T14:15:22Z", "receivedAt": "2019-08-24T14:15:22Z", "sourceEventId": "string", "status": "string" } ]}environment?string
Environment slug or id; defaults to each observation's environment
observations*array<>|
Items
1 <= items <= 100