Ingest a record
Persist a record for asynchronous moderation
var result = await client.IngestARecordAsync(new RecordInput
{
ClientId = "post-123", Name = "A post", Entity = "post", Content = "Hello world",
});IngestARecordAsync(RecordInput request, RequestOptions? options = null, CancellationToken cancellationToken = default) requires ClientId, Name, Entity, and Content; ClientUrl, Metadata, and User are optional. It returns IngestRecordResponse with the Insion record ID and any queued moderation ID. Reuse ClientId to update a record and use webhooks for the eventual decision.
Request and lifecycle details
Content accepts text or structured content with text, image URLs, and external URLs. Associate User when the record belongs to a user, and use Metadata for serializable custom context. Store result.Id; when result.Moderation is present, retain it to correlate later webhook events. This call only confirms ingestion it does not wait for a moderation decision.