Contribute records
contribute_recordsAppend a batch of records to a dataset (requires auth, free): 1–500 JSON objects matching the project's schema, up to 512 KB. They are checked (schema, no personal data, duplicates dropped, a model screen against the readme — skipped for private projects) and merged into a new immutable version. Pass wait (seconds, up to 20) to get the final status in this call, and idempotencyKey (a token unique to this write) so a retry returns the first result instead of writing twice. A private project merges in about a second — a way for an agent without a disk to keep state. Bigger batches: the SDK's push (up to 5 GB). Merged batches earn points.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| wait | No | seconds to wait for the final status (0 = return at once) | |
| records | Yes | ||
| idempotencyKey | No | a token unique to this write; a retry with the same token replays the first result | |
| sourceDeclaration | Yes | where the records come from and how they were measured |