Skip to content

[codex] Add native batch and streaming log ingest APIs#159

Merged
ryan-wong-coder merged 1 commit into
mainfrom
codex/158-native-log-ingest-stream
May 9, 2026
Merged

[codex] Add native batch and streaming log ingest APIs#159
ryan-wong-coder merged 1 commit into
mainfrom
codex/158-native-log-ingest-stream

Conversation

@ryan-wong-coder

Copy link
Copy Markdown
Collaborator

Summary

  • add POST /v1/claims/batch for native CBOR signed-claim batch ingest
  • add gRPC bidirectional SubmitClaimStream for single-connection bulk ingest
  • add Go SDK structured log helpers for single, batch, and streaming submission
  • upgrade SDK batch/stream paths to prefer native HTTP batch or gRPC streaming transports
  • document the new HTTP/gRPC/SDK surfaces

Why

External systems need to submit large volumes of structured evidence logs without paying one HTTP request per record. This keeps the existing single-claim API compatible while adding native bulk transport paths with per-item results and errors.

Validation

  • go test ./... -count=1
  • go test -race ./sdk ./internal/httpapi ./internal/grpcapi -count=1

Closes #158

@ryan-wong-coder
ryan-wong-coder marked this pull request as ready for review May 9, 2026 07:26
@ryan-wong-coder
ryan-wong-coder merged commit fa890f7 into main May 9, 2026
9 checks passed
@ryan-wong-coder
ryan-wong-coder deleted the codex/158-native-log-ingest-stream branch May 9, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add native batch and streaming log ingest APIs

2 participants