API referenceIngest

POST /workspaces/{workspaceId}/observations dropped and counted

POST
/workspaces/{workspaceId}/observations

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"    }  ]}