Skip to main content
POST
Report runtime usage

Authorizations

Authorization
string
header
required

A sfc_at_… access token from simforge login, or an sfk_… API key. An operation's security lists the scopes the credential must hold.

Body

application/json
schema
enum<string>
required
Available options:
simforge.usage-batch/v1
batchId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
sealedAt
string
required
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$
accountId
string
required
Required string length: 1 - 128
installId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
machine
object
required
droppedEvents
integer
required
Required range: 0 <= x <= 1000000000000
events
object[]
required
Required array length: 1 - 500 elements

Response

Stored, or already stored under this batch ID.

schema
enum<string>
required
Available options:
simforge.usage-receipt/v1
batchId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
firstDelivery
boolean
required
accepted
integer
required
Required range: x >= 0