{"uid":"cap_d46oBOGyF736sFHPhK3K6","slug":"forgemesh-notary-batch-ai-attestation-39bd72e3","name":"ForgeMesh Notary Batch AI Attestation","description":"Notarize AI output in bulk: one signed Ed25519 attestation of the model response per record for up to 20 AI inferences in a single call — same content hash, receipt token, and anchor status as single notarization, giving you a cryptographic receipt for inference across an entire audit-trail pipeline.","url":"https://notary.forgemesh.io/api/notarize/batch","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","required":["prompt","response","model_id"],"properties":{"prompt":{"type":"string","description":"Exact prompt/input sent to the model"},"metadata":{"type":"object","description":"Optional caller metadata, <= 4 KB — accepted but NOT persisted or hashed (reserved for future opt-in retention)"},"model_id":{"type":"string","description":"Model identifier, e.g. openai/gpt-5 or claude-fable-5"},"response":{"type":"string","description":"Exact model output being notarized"},"client_timestamp":{"type":"string","description":"ISO-8601 time the inference ran (optional; included in the content hash)"}}},"maxItems":20,"minItems":1}}},"responseSchema":{"type":"json","example":{"count":2,"attestations":[{"anchor":{"status":"pending"},"model_id":"openai/gpt-5","algorithm":"ed25519","signature":"base64-ed25519-signature","receipt_url":"https://notary.forgemesh.io/api/receipt/att_0123456789abcdef01234567","content_hash":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08","notarized_at":"2026-07-03T12:00:01.000Z","receipt_token":"private-receipt-token","signer_pubkey":"base64-ed25519-public-key","attestation_id":"att_0123456789abcdef01234567","payload_stored":false,"client_timestamp":"2026-07-03T12:00:00Z"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_51_GqYPz-AApvOhe4zD9v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Notarizes up to 20 AI inference records in a single call, producing a signed Ed25519 attestation, SHA-256 content hash, receipt token, and anchor status for each record.","exampleAgentPrompt":"Notarize these 5 AI inference records in one batch — each has the prompt, the model response, and the model ID (openai/gpt-4o) — and give me the signed Ed25519 attestation, content hash, and receipt token for each so I have a cryptographic audit trail.","exampleUseCases":[{"title":"Compliance audit trail for AI pipeline","prompt":"We ran 15 GPT-4o inferences to generate customer summaries and need a cryptographic receipt for each — batch notarize all of them now using their prompts, responses, and model IDs so we have a signed audit trail for our compliance review."},{"title":"Tamper-proof log of medical AI decisions","prompt":"Notarize these 10 AI diagnostic suggestion records in one call — each has the original prompt, the model response from claude-3-opus, and the ISO timestamp of when the inference ran — so we have immutable signed proof of what the model said for each patient case."},{"title":"Legal evidence of AI-generated contract drafts","prompt":"I need to batch-attest 8 contract drafts generated by our LLM today — submit them with their prompts, the model ID openai/gpt-4-turbo, and timestamps so each gets a content hash and receipt token we can produce as evidence that the AI output wasn't altered."}],"resultDescription":"Returns one attestation object per input record, each containing a signed Ed25519 signature over the content hash, a SHA-256 hash of the prompt+response+model_id+timestamp, a receipt token for future verification, and an anchor status indicating whether the record has been committed to an external ledger or timestamping service.","failureModes":["Array exceeds 20 items — returns 400 with maxItems violation","Missing required fields (prompt, response, model_id) on any record — returns 400 with field-level validation error","Payload too large (metadata field exceeds 4 KB) — returns 413 or 400","Payment not included or insufficient — returns 402 requiring x402 payment of $0.005 USDC","Malformed ISO-8601 client_timestamp — may be rejected or ignored depending on strictness","Service unavailable causing partial batch failure — unclear retry semantics per record"],"whenToPreferThis":"Choose this endpoint when you need to notarize multiple AI inference records in a single atomic call rather than making individual requests — it's up to 20x more efficient for pipeline audit logging, compliance workflows, or any scenario where you produce batches of model outputs that all require cryptographic attestation. Prefer it over the single-record endpoint whenever you have 2 or more inferences to sign in the same processing window.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:37:21.548Z","isFirstParty":false}