Example
US vendor master, normalizedDeduplicated, schema-normalized vendor reference data.
intended_uses: ["ai_reference", "agent_tool"]
For developers
Find the data your owner needs and check that its seller allows the use, whether training, retrieval or redistribution. Then buy it or hand your human the link, and read it in place after.
Start with the quickstart Connect your assistant Tutorials llms.txt
Start here
Discovery
Commerce
Entitled access
Auth & contracts
Capability truth
Get started by searching the catalog and inspecting a listing. You don’t need an account for either, or to download a free listing whose seller doesn’t require one.
Search active listings. Add filters only when needed.
curl "https://api.graunt.com/v1/listings?q=marketing+rule&per_page=10"
Read the rights, source, price, and purchase handoff.
curl https://api.graunt.com/v1/listings/{listing_id}
curl https://api.graunt.com/v1/listings/{listing_id}/agent-commerce-manifest
Free, and purchase_handoff.registration_required is false? POST its free_access_grant_url and GET the download_url in the response. Otherwise hand your human the buy link from step 2, or buy it yourself with buy:execute and a payment credential for buyer_total_cents. Already entitled? Read the packet with an access pass.
# Free, no account (registration_required: false): mint a grant,
# then GET the download_url it returns. No credential needed.
curl -X POST https://api.graunt.com/v1/listings/{listing_id}/access-grants
# Hand off: surface purchase_handoff.listing_url (from step 2)
# to your human buyer. No credential needed.
# Entitled read: list everything the account can access.
curl -H "Authorization: Bearer gap_live_YOUR_PASS" \
https://api.graunt.com/v1/access-passes/manifest
Listing detail (GET /v1/listings/{id}) includes these fields:
rights_block: license family, citation requirement, no-train / no-redistribute / personal-data-sensitive flags.rights_passport: access mode, delivery mode, agent-access-allowed declaration (listing-level only).packet_manifest: for packet-overlay listings, the structured family / kind / sources / structure / evidence_refs payload.publication_metadata: publisher role, jurisdictions, language, publication date, standard identifiers.packet_checks: the Packet Evidence Record (bounded declared-rights, provenance, manifest, validation, and content-metadata signals).provenance: seller-declared source, fetched-at timestamp, version identifier, citation template.lineage: superseded_by_listing_id / replaces_listing_id for declarative supersession.pricing + purchase_handoff: integer-cent price and the hand-to-your-human block (below).Two identifiers live on every listing and should never be conflated: seller_org_name is the organization that packaged and listed the asset on Graunt; publication_metadata.publisher_name is the source authority that originated the underlying material, classified by publisher_role (GOVERNMENT, STANDARDS_BODY, REGULATORY_AGENCY, etc.). Surface both: who packaged it and where the material comes from. The distinction is provenance clarity only. Every packet follows the same public machine contract.
For bundle listings, GET /v1/listings/{id}/bundle-manifest returns the full per-asset inventory before any purchase: kind: "PACKET_BUNDLE_MANIFEST_PUBLIC", the bundle manifest_sha256, and an assets[] array with each asset’s ordering, role, original_filename, file_format, file_size_bytes, and content_sha256. Presigned download URLs are never returned here. Those are issued only to entitled buyers after acquisition. Humans see the same inventory at /listings/{listing_id}/contents.
counts_basis names what each count covers. source_asset_count and source_total_bytes cover the seller’s original files; generated_artifact_count and delivered_total_bytes cover every file the bundle delivers, machine layer included. source_asset_count plus generated_artifact_count always equals physical_asset_count, so a checksum of the delivered bundle reconciles against the figures printed beside it.
GET /v1/listings/{id}/manifest is a different document: the listing’s structured packet manifest, whose canonical bytes hash to the X-Graunt-Manifest-Hash header. A listing may carry both, and each endpoint always returns its own shape.
For pilot-stage signed listings, the manifest endpoint’s integrity headers carry the signing-key id, custody tier, and signature. See also /llms.txt for the orientation manifest.
Listing search is hard-filter first. The machine-readable contract at /v1/meta/search-contract (schema_version 3) describes every supported filter, groups them under filter_groups, and enumerates the canonical taxonomy under tag_taxonomy. Agents reading the contract can construct valid queries without scraping human pages. With q, every answer says how its listings matched in search_match.words (ALL, SOME, WORD_START, SIMILAR_TITLE or NONE), and on SOME and WORD_START each listing names its matched_words; the contract describes both under match_outcomes.
To find data by its rights, filter on what the seller declared on the listing, which Graunt records: rights_training_allowed=true keeps listings the seller allows AI models to be trained on (false keeps those it does not), rights_public_use keeps listings by the public use they grant (NONE, EDITORIAL, PROMOTIONAL or COMMERCIAL), rights_sublicense_one_client=true keeps listings a buyer may license for one client, and rights_license_family keeps one license family, such as CC_BY. The MCP tools search and search_assets take all four filters under the same names. They are seller declarations, not Graunt findings.
To find data from sellers who declare a credential (a trade license, certification, business registration, membership or qualification), filter with seller_credential=declared; seller_credential=checked keeps sellers holding one a Graunt operator checked against a registry. The listing detail, the agent commerce manifest and the MCP tool fetch carry the counts as seller_credentials_summary, and the MCP tools search and search_assets take the filter under the same name. A seller declaration that Graunt records, never a Graunt finding or a ranking input.
Ranking is ts_rank_cd × title_coef. There is no quality coefficient, no seller-prestige boost, no agent-reputation multiplier, and no hidden rerank. Common agent guesses that are not supported are listed under unsupported_filters, each with its reason.
Try queries live against the catalog at /explore or GET /v1/listings?q=; seller-side discoverability guidance is the deterministic seller_discoverability_guidance block on the contract.
is_free=true; confirm rights_block.training_allowed, rights_passport.agent_access_allowed, and the bundle asset_count + manifest_sha256.purchase_handoff.registration_required is false: POST /v1/listings/{id}/access-grants, then GET the download_url it returns. That is the whole flow. The steps below keep the packet in a Graunt library instead, and are the path when the seller requires an account.POST /v1/auth/login returns a 24-hour JWT. (One-time setup: POST /v1/auth/register with type=BOTH and complete email verification.)POST /v1/purchases with body {listing_id, idempotency_key}. Free listings clear immediately to status=COMPLETED with free_acquisition=true; client_secret is null (Stripe is skipped on the free path).GET /v1/entitlements/{entitlement_id}/packet-bundle. Returns a manifest body with asset_count, manifest_sha256, and one short-lived presigned URL per asset.price_cents > 0 and the commercial_terms block surfaces processing fee, delivery fee, and buyer total. Full pricing metadata: GET /v1/meta/pricing.min_buyer_tier above REGISTERED, the account’s verification_tier must clear it.POST /v1/purchases. The response includes a Stripe client_secret for the PaymentIntent created on the buyer’s behalf, along with the listing’s delivery_kind./checkout/{listing_id} (Stripe Elements mounted on Graunt). The publishable key comes from GET /v1/meta/stripe-publishable-key; the client confirms the PaymentIntent against the same Stripe account that issued the secret.COMPLETED and creates the entitlement. Poll GET /v1/purchases/{id} or GET /v1/entitlements?per_page=10.GET /v1/entitlements/{entitlement_id}/packet-bundle. Same shape as the free path.An agent with a buy:execute credential can buy it itself: POST /v1/agents/purchases/preflight quotes it, then POST /v1/agents/purchases/execute charges a Stripe Shared Payment Token or card payment method the agent presents for buyer_total_cents. With no credential in the body, it charges the card the account holder saved for the organization’s agents at /studio/agent-card, within the daily and monthly spend caps set for that agent. Preflight reports payment_method_on_file, and execute then needs only max_buyer_total_cents. A whole order, up to 100 paid listings from any sellers in one payment, goes the same way through POST /v1/agents/orders/preflight and POST /v1/agents/orders/execute.
Before it buys, an agent with a sample:request credential can ask for a listing’s own sample, a limited part of its files at no charge: POST /v1/agents/samples/request with listing_id and idempotency_key answers with a share_id, and GET /v1/agents/samples/{shareId}/files returns short-lived download links once its state is READY. An account holds one sample of a listing at a time and asks for at most 10 new ones a day. On MCP the two calls are the tools request_sample and get_sample_files.
ACTIVE Graunt account. The account owner accepts the seller terms once, at /studio/seller-terms; until then listing creation answers 403 SELLER_TERMS_REQUIRED.POST /v1/packet-upload-sessions with body {idempotency_key, name, description}. Returns session_id and a new bundle_id.POST /v1/packet-upload-sessions/{sid}/assets with {original_filename, declared_size_bytes, declared_content_sha256, declared_role, ordering, file_format}. Returns a presigned PUT URL with the matching content-type.PUT the file to the presigned URL with Content-Type set to the content_type the register step returned. Send no other headers. Extra headers (including x-amz-*) break the presigned signature and the PUT is rejected. Encryption is applied server-side automatically.POST /v1/packet-upload-sessions/{sid}/finalize with {idempotency_key}. Returns bundle_revision_id, manifest_sha256, and the validated asset_count.POST /v1/listings with body referencing packet_bundle_revision_id, plus price_cents, tags, rights_block, rights_passport, publication_metadata, industry_tag_codes, intended_uses, idempotency_key.GET /v1/listings/{id} for its status.POST /v1/refinery/drafts with {title}. Returns the draft_id and its autosaveRevision.POST /v1/refinery/uploads/presign with {original_filename, mime_type, declared_size_bytes, draft_id, client_op_key}, plus source_path (the file’s path in your folder, such as exports/orders.csv) when the file sits in one. Returns a presigned PUT URL, an upload_attempt_id, and the next-step contract.PUT the file to the presigned URL with only Content-Type set to the returned content_type. Extra headers break the signature.POST /v1/refinery/uploads/multipart with the same body. Sign parts with POST /v1/refinery/uploads/{member_id}/multipart/parts ({attempt_id, upload_id, part_numbers}), PUT each part with no extra headers and keep its ETag, then POST /v1/refinery/uploads/{member_id}/multipart/complete with every part. A 202 means Graunt is still hashing the file; post again until it answers 200. Skip the finalize step for that file. A draft holds 1 TB and 10,000 uploaded files at most. A seller holds 250 GB in all, across drafts and listings, unless the account holder turns on more room at cost in Refinery Budget, up to 10 TB; an upload past either limit answers 413, and error.message says what to do.POST /v1/refinery/drafts/{draft_id}/imports/hub with {source_url}, a public huggingface.co dataset link. Graunt fetches up to 10,000 files of any type at the dataset’s current commit, 5 GB each and 10 GB in all, hashes every byte, declares them in the draft, records provenance, and returns the new autosave_revision (201). An import that takes longer than about 25 seconds answers 202 with an import_id: call GET /v1/refinery/drafts/{draft_id}/imports/hub/{import_id} every retry_after_ms until status is DONE or FAILED. An account starts up to 10 Hub imports a minute; past that a 429 carries Retry-After. Skip the upload and finalize steps for those files. An agent credential needs the sell:submit scope.POST /v1/refinery/drafts/{draft_id}/imports/url with {source_url}, a direct https link to one file of any type, up to 100 GB. Graunt fetches it from a public address it has checked, hashes every byte, declares the file in the draft, and returns the new autosave_revision (201). A file over 256 MB, or one whose server declares no size, answers 202 with an import_id: call GET /v1/refinery/drafts/{draft_id}/imports/url/{import_id} every retry_after_ms until status is DONE (the same fields as the 201) or FAILED (error.message says why). A link it can’t use comes back with a plain reason in error.message. A 503 with BUSY means every import slot is in use: wait error.details.retry_after_ms and send the same link again. An account sends up to 60 links a minute; past that a 429 carries Retry-After and error.details.retry_after_ms: wait, and send the same link again. Links bring an account 2 TB a day, or its storage limit when that is larger; a 429 with no retry_after_ms means that is spent, and uploading the file works at once. Skip the upload and finalize steps for that file. An agent credential needs the sell:submit scope.POST /v1/refinery/uploads/{member_id}/finalize with {attempt_id}. Graunt streams a SHA-256 over the stored object; the size and hash you declared are never trusted.draft_id joins it at the draft’s next save or compile, with nothing to declare. A PATCH /v1/refinery/drafts/{draft_id} never changes the list (send the full state object with the current autosaveRevision as expected_revision; the state is replaced, not merged). Remove a file with DELETE /v1/refinery/uploads/{member_id}. An upload opened without a draft_id joins the draft whose PATCH names its artifact_id in state.source_files.POST /v1/refinery/drafts/{draft_id}/compile. Runs the deterministic multi-file compile over every file in the draft and returns the classification, readiness and manifest draft, plus a draft_envelope carrying the new revision and the exact state written. A compile can also answer 202 with a compile_id while it runs in the background: call GET /v1/refinery/drafts/{draft_id}/compile/{compile_id} every retry_after_ms until status is DONE (the same fields as the 200) or FAILED (error.message says why).POST /v1/refinery/drafts/{draft_id}/submit-for-review. A draft that is not ready returns 422 DRAFT_NOT_REVIEW_READY with reasons and a next_action list naming each requirement and where to satisfy it.Check first, free: POST /v1/refinery/validate with {"packet_json": …} checks a graunt/packet.json, and with {"packet_manifest": …} a packet manifest (public, no auth), with the same checks Graunt runs on upload. The contract is at GET /v1/meta/packet-assembly-contract; its ready_packet section has the folder layout and a prompt that writes graunt/packet.json. When the file declares every listing field, Graunt drafts nothing. A human/agent reference with the check is at /build-a-packet.
Idempotency: every write that creates a new resource accepts an idempotency_key (≥32 chars). Replays return the original response without re-executing side effects. Errors carry a machine-readable error.code (e.g., VALIDATION_ERROR, BUNDLE_NOT_FOUND, BUNDLE_ARCHIVED, EMAIL_VERIFICATION_REQUIRED, ORG_NOT_ACTIVE, EMAIL_IN_USE).
An agent that finds a useful packet does not need purchase credentials to act on it. A free listing that needs no account it takes itself; any other listing it hands to its human buyer. Both GET /v1/listings/{id} and GET /v1/listings/{id}/agent-commerce-manifest carry a purchase_handoff object with free_access_grant_url, registration_required, listing_url, checkout_url, price_cents, currency, is_free, and a locked instruction sentence.
GET /v1/listings?q=... requires no credential or account.purchase_handoff block from the listing detail JSON or the agent commerce manifest.registration_required is false: POST free_access_grant_url for a short-lived grant, then GET the download_url in its response. No account and no human step.purchase_handoff.listing_url and the price to your human buyer. The human opens the link and completes checkout at checkout_url. A free listing whose seller requires an account carries checkout_url: null and routes through the free-acquisition path instead.The handoff itself needs no scope, token, or registration. An agent with a buy:execute credential can buy through the agent purchase endpoints in the surface map.
Once an organization holds an entitlement, an agent can pull the packet in the format its runtime supports. Pick the access mode by what the client can do. An agent credential with receipt:read issues, lists and revokes these for its own organization.
POST /v1/entitlements/{id}/packet-access-keys, returned once) sent as Authorization: Bearer to GET /v1/entitlements/{id}/packet-access-manifest. Best for agents and apps that can send HTTP headers.GET /v1/entitlements/{id}/machine-zip returns a short-lived download URL for a ZIP with the packet manifest, router, indexes, content units, and the agent guide. Best for tools that work from uploaded files.POST /v1/entitlements/{id}/agent-access-links.POST /v1/entitlements/{id}/llm-access-profiles with the tools you use returns the best access format for each known client.Sellers publish new versions of a live listing. Subscribers follow the current version; a buyer who paid once receives each update that keeps every file they bought, at no charge. A script or agent follows a listing like a feed:
GET /v1/me/library/listings/{listing_id}/versions returns the version you hold with every file. Store next_since.?since={next_since} on a schedule. Each newer version lists the files it added, changed or removed, by content_sha256. Polling costs nothing and there is no download limit.read paths. content_path and records_path read text and rows with an access pass (Authorization: Bearer gap_live_…); download_path, when your access includes downloads, returns a short-lived URL per file. Bundle URLs are issued up to 60 times an hour per listing.held_revision_number below listing_revision_number means an update replaced or removed one of your files, and you keep the version you bought. Send a signed-in session, an X-API-Key with entitlements:read, or an access pass.
Access passes and discovery keys also work as read-only links. Assistants that fetch URLs can read entitled content through a pass link. API agents can continue to use Bearer credentials. Responses are Markdown by default. Send Accept: application/json for the JSON envelope.
GET /p/{pass} (root with manifest / content / ask / resources links), /p/{pass}/content (licensed content with citations), /p/{pass}/ask?q={question} (cited source passages, no synthesis), /p/{pass}/resources/{id}. Read-only: it cannot purchase, change, or revoke anything.GET /k/{key} (root + instructions), /k/{key}/search?q={keywords} (attributed catalog metadata: hit/no-hit plus rights, price, and the purchase_handoff block), /k/{key}/listings/{id}. Public metadata only; never entitled content.Original source files and Refinery-generated machine files are listed and counted separately in the manifest. Responses never carry a raw key, a verifier hash, or a long-lived storage URL.
What reaches the catalog is an evaluated packet, not a raw file.
ai_training, ai_reference, agent_tool, evaluation, analytics.content_sha256 + packet_manifest_hash for integrity at delivery.Browse live packets.
Example
US vendor master, normalizedDeduplicated, schema-normalized vendor reference data.
intended_uses: ["ai_reference", "agent_tool"]
Example
Invoice-matching evaluation setLabeled cases for scoring an invoice-matching agent.
intended_uses: ["evaluation"]
Preflight first, then submit.
POST /v1/agents/listings/submit
Authorization: Bearer grnt_agent_YOUR_AGENT_KEY
Content-Type: application/json
{
"title": "US vendor master, normalized",
"summary": "Deduplicated, schema-normalized vendor reference data.",
"packet_kind": "vendor_master_normalization.v1",
"delivery_format": "CSV",
"intended_uses": ["ai_reference", "agent_tool"],
"rights_basis": "owned_original"
}
Once a buyer holds an entitlement for a packet, fetch the bundle:
curl -H "Authorization: Bearer YOUR_BUYER_TOKEN" \
https://api.graunt.com/v1/entitlements/{entitlement_id}/packet-bundle
A fixture-backed machine-only observation feed is callable today for an entitled, authenticated principal: GET /v1/feeds/{feedId}/manifest, /latest, /changes, /health, and POST /v1/feeds/{feedId}/sessions. It returns machine-readable observations only. No raw media or stream is included.
The access modes Graunt offers are listed, machine-readably, at GET /v1/meta/capabilities.
Every authenticated route returns structured precondition errors. Check GET /v1/auth/me right after login and branch on status + email_verified. Gated routes answer with machine-readable codes (EMAIL_VERIFICATION_REQUIRED, ORG_NOT_ACTIVE, SELLER_PAYOUT_SETUP_REQUIRED, PAYMENT_REQUIRED, ENTITLEMENT_REQUIRED) plus a recovery_suggestion string that mirrors the human-page CTA copy. The exhaustive request/response contract is in /openapi.json.
GET /v1/auth/me: JWT-only. Returns {org_id, org_name, type, status, email, email_masked, email_verified, stripe_connect_account_id, stripe_connect_onboarded}. The caller is the org itself, so the full email is returned for that org’s own use; email_masked is for human display.POST /v1/auth/me/resend-verification: JWT-only; returns {message, email_masked, cooldown_seconds: 60}; 502 EMAIL_SEND_FAILED if the mail provider rejects.POST /v1/auth/resend-verification: unauthenticated alias; {email}; 3 / hour / email; generic-success either way (no enumeration).POST /v1/auth/change-email: JWT-only; {new_email, current_password}; allowed only while status=PENDING_VERIFICATION; EMAIL_UNCHANGED if the address is unchanged.EMAIL_VERIFICATION_REQUIRED bodies include next_actions with the resend / change-email / human-recovery URLs. Surface these to the account owner rather than retrying. ORG_NOT_ACTIVE resolution is operator-side. SELLER_PAYOUT_SETUP_REQUIRED / CONNECT_ONBOARDING_REQUIRED: trigger POST /v1/auth/stripe/connect and follow onboarding_url in a browser.Human counterparts live at /account, /account/verify-email, /studio, and /checkout/{listing_id}.
Entitlements grant ongoing access according to listing terms. Delivery is protected by per-call rate limits and short-TTL presigned URLs rather than by a lifetime download counter. Entitlement responses (GET /v1/entitlements/{id}) carry the canonical access-policy block:
{
"access_status": "ACTIVE",
"delivery_policy": {
"mode": "RATE_LIMITED",
"lifetime_download_limit": null,
"presigned_url_ttl_seconds": 600,
"max_urls_per_batch": 100
},
"rate_limit": {
"limited": false,
"retry_after_seconds": null,
"policy": "per_org_per_entitlement_delivery_window"
}
}
Consume delivery_policy + rate_limit, not the legacy download_count / max_downloads fields, which limit nothing.
Native packet-bundle delivery is canonical: one packet_bundle_revision per packet, one row per delivered file, one manifest_sha256 over the canonical inventory. Caps: 10,000 assets per bundle, 100 GB per asset, 1 TB per bundle. The public manifest returns the full inventory in one response. Entitled delivery (GET /v1/entitlements/{entitlement_id}/packet-bundle) issues one short-TTL presigned URL per asset. ZIP archive export is a derived convenience artifact generated from the canonical revision, never the source of truth.
Your organization sets up its own agent from a signed-in session. Three calls, and the agent can act.
POST /v1/agents/principals with a name, a slug and a purpose. For the agent to charge your organization’s card on file or buy by invoice, add a daily and a monthly spend cap (spend_cap_cents_per_day and spend_cap_cents_per_month). You change them later on Card for your agents in Studio, or with PUT /v1/agents/principals/{id}/spend-caps.PUT /v1/agents/{agent_principal_id}/manifest with license_family AGENT_API_ACCESS, the principal’s caps if it has them, and approval_policy HUMAN_APPROVAL_REQUIRED. A manifest with no activation blockers activates the principal in that call, and the response says "activated": true. Otherwise it lists each blocker with its fix; GET on the same path shows them again.POST /v1/agents/credentials with the scopes the agent needs. The key is shown once and stored only as a hash.# 1. Create the agent principal (signed-in session).
curl -X POST https://api.graunt.com/v1/agents/principals \
-H "Authorization: Bearer YOUR_SESSION_JWT" -H "Content-Type: application/json" \
-d '{"display_name":"Catalog agent","slug":"catalog-agent",
"purpose_summary":"Lists and acquires packets for our team",
"spend_cap_cents_per_day":5000,"spend_cap_cents_per_month":50000}'
# 2. Submit its access manifest. With no blockers this activates the principal.
curl -X PUT https://api.graunt.com/v1/agents/AGENT_PRINCIPAL_ID/manifest \
-H "Authorization: Bearer YOUR_SESSION_JWT" -H "Content-Type: application/json" \
-d '{"license_family":"AGENT_API_ACCESS","approval_policy":"HUMAN_APPROVAL_REQUIRED",
"spend_cap_cents_per_day":5000,"spend_cap_cents_per_month":50000}'
# 3. Issue a credential with the scopes the agent needs. The key is shown once.
curl -X POST https://api.graunt.com/v1/agents/credentials \
-H "Authorization: Bearer YOUR_SESSION_JWT" -H "Content-Type: application/json" \
-d '{"agent_principal_id":"AGENT_PRINCIPAL_ID","label":"catalog agent",
"scopes":["quote:read","buy:execute","sell:submit","bundle:assemble"]}'
An agent can open the account itself, for the person or organization it acts for.
GET /v1/agents/signup/terms returns each document, the exact sentence the agent affirms for it, and a terms_digest.POST /v1/agents/signup with the account holder’s name and email, each affirmation set to true, agent_attestation: true, the terms_digest, the agent’s name and purpose, its scopes, and both spend caps if you want them. The response carries the agent’s key, shown once.terms:accept, the agent accepts the seller terms with POST /v1/agents/terms/accept; with payouts:setup, POST /v1/agents/payouts/onboarding-link returns the link where the account holder sets up payouts. Send {"country": "CA"} when the account holder lives in Canada or the business is established there; with no body, the payout account opens in the United States.The whole path, from an account to a live listing with its prices confirmed, is in order at /sell.txt, and every step takes the agent’s key.
A credential’s scopes decide what it can change, on the /v1/agents endpoints and on the routes a person uses: sell:submit covers listing and seller actions such as POST /v1/listings, listing-draft submit, pause, archive, withdraw and signing keys, and the seller’s budget for Graunt’s charges with its card, processing runs and paid storage room; payouts:setup covers retrying a failed payout; bundle:assemble covers packet uploads and splices; buy:execute covers acquisition; quote:read covers dry runs and quotes. A change outside the credential’s scopes answers 403 SCOPE_DENIED, and account changes and the card or bank account an organization’s agents buy with take a signed-in person. An agent accepts Graunt’s terms only with POST /v1/agents/terms/accept. A manifest limited to specific listings can change those listings and create new ones; a change to an existing listing it cannot check against that list is refused. Some reads take a scope as well: sell:submit for a seller’s drafts and their files, Refinery work, releases, terms documents, credentials, volume discounts, data added to pools, budget with its card and charges, and storage; payouts:setup for payouts; publish:review_read for a listing’s publication readiness; receipt:read for packet access keys, Agent Access Links and pass history; and quote:read for offers made to the organization. A read that takes no scope returns what the credential’s organization can read.
Every listing an agent submits passes the same publication checks as a person’s. Graunt can suspend any agent principal.
Graunt tells credential families apart by literal prefix, with no fall-through between them. A malformed token is rejected, never reinterpreted as another kind. Your token is shown once at issuance, stored only as a hash, and never belongs in a URL.
| Credential | Sent as | What it grants |
|---|---|---|
| None | — | Every discovery and meta-contract endpoint, public listing manifests, and this page. |
| Agent discovery key | Authorization: Bearer gdk_live_YOUR_KEY |
Optional tracked identity on public discovery reads, plus the anonymous packet-draft surface (/v1/anonymous-drafts; drafts stay private to the key and move to the account that claims it). Minted accountless via POST /v1/agent-keys/starter. It never grants entitled access or purchase. Buying routes through purchase_handoff to the human buyer. |
| Organization session | Authorization: Bearer <JWT> |
24-hour session from POST /v1/auth/login. Buyer and seller workflows: purchases, entitlements, uploads, listing management. |
| Agent credential | Authorization: Bearer grnt_agent_YOUR_KEY |
Scoped credential your organization issues to its own agent (quote:read, buy:execute, sell:submit, receipt:read, bundle:assemble, publish:review_read, refund:request, support:create). Its scopes decide what it can change; see Set up an agent. Per-credential rate limits and the organization’s approval policy are enforced before any charge. |
| Access pass | Authorization: Bearer gap_live_YOUR_PASS |
Read-only delegated pass over the account’s entitled library. Lasts 7 days, 30 days, or 90 days, or has no expiry (the default, revoked after 180 days unused). Shown once at creation, revocable. Pass-bearing requests can never purchase, publish, or mutate. |
| Packet access key | Authorization: Bearer gpak_live_YOUR_KEY |
Durable read-only key scoped to one entitlement’s packet access manifest. Returned once; revocable. |
| Scoped app key | X-API-Key: grnt_live_YOUR_KEY |
Long-lived scoped app credential (scopes such as listings:read, search:read, entitlements:read). Header only, never a URL parameter. A scope denial never falls through to a broader auth basis. |
The *_YOUR_* forms above are placeholders, never real tokens. The MCP transport takes no credential for catalog reads. A grnt_agent_* credential widens the tool set to that credential’s scopes. Setup steps per client live at /agents/mcp (JSON-RPC 2.0 at POST /v1/mcp). The packets a person owns travel on the library connector at https://api.graunt.com/v1/mcp/library: OAuth, read-only, and the person signs in at graunt.com once (steps per client).
No credential is needed to read the catalog. An assistant that supports MCP connectors can add https://api.graunt.com/v1/mcp with no authentication and get search and fetch over published listings. An assistant that browses the web can read GET /v1/listings and GET /v1/listings/{id} directly. Agent discovery keys are pasted as a link, and some assistants fetch such a link only when the workspace permits it. In ChatGPT Work (Business and Enterprise), a workspace admin can allowlist graunt.com for agent browsing, per OpenAI's allowlisting guide.
The full OpenAPI 3.1 specification for every live endpoint is at /openapi.json.
| Endpoint | Returns |
|---|---|
GET /v1/listings | Public search with hard filters and free-text q. |
GET /v1/listings/{id} | Declared rights, rights passport, provenance, Packet Evidence Record (packet_checks), packet manifest, purchase_handoff. |
GET /v1/listings/{id}/bundle-manifest | Full per-asset bundle inventory with content hashes, readable before any purchase. |
GET /v1/listings/{id}/manifest | The listing’s structured packet manifest, canonical bytes hashing to X-Graunt-Manifest-Hash. |
GET /v1/listings/{id}/agent-commerce-manifest | Machine-first commerce summary including purchase_handoff. |
POST /v1/mcp | MCP connector endpoint. With no Authorization header it serves search and fetch over the published catalog, and fetch returns the files of a free listing that needs no account; a scoped credential widens the tool set. Setup per client: /agents/mcp. |
POST /v1/agent-keys/starter | Accountless mint of an agent discovery key (gdk_live_*, raw key returned once; rate-limited per IP). |
POST /v1/agent-keys/starter/claim | JWT-only: binds a minted discovery key to your organization for identity continuity. Permissions are unchanged. |
Discovery reads optionally accept an agent discovery key (Authorization: Bearer gdk_live_YOUR_KEY) for tracked agent identity. Every discovery read also works with no credential at all.
| Endpoint | Does |
|---|---|
POST /v1/anonymous-drafts | Creates a private packet draft owned by the discovery key (per-IP daily cap). GET lists the key’s drafts; GET /{id} reads one; DELETE /{id} abandons it. |
PATCH /v1/anonymous-drafts/{id} | Sets title, price, seller name, contact email, and the draft state fields (description, content type, category, tags, intended uses, and the rights declaration the listing is created with). |
POST /v1/anonymous-drafts/{id}/uploads | Presigns a source-file upload; POST .../uploads/complete confirms it (upload identified in the body). |
POST /v1/anonymous-drafts/{id}/validate | Deterministic completeness report: what the draft still needs. |
POST /v1/anonymous-drafts/{id}/submission-attestation | Records the uploader’s confirmation of the rights to upload and agreement to the Terms of Service and the Acceptable Use Policy. Then POST .../submit creates the listing, which goes live once the seller claims it. |
Drafts are private to the key and never appear in search or the catalog. When the human registers and claims the key, the drafts move to their account. Templates: GET /v1/meta/packet-assembly-contract + GET /v1/meta/packet-assembly-starter-kit (the human zip download is /v1/meta/packet-assembly-starter-kit.zip).
| Endpoint | Does |
|---|---|
POST /v1/auth/register | One-time organization registration (type=BOTH) followed by email verification. |
POST /v1/auth/login | Returns a 24-hour JWT plus account-state fields for branching. |
POST /v1/purchases | Creates a purchase. Free listings clear immediately; paid listings return a Stripe client_secret. |
GET /v1/purchases/{id} | Purchase state for completion polling. |
POST /v1/agents/purchases/preflight | Scoped grnt_agent_* purchase quote: price, fees, and policy checks before any charge. |
POST /v1/agents/purchases/execute | Scoped purchase for an activated credential, through the same path and fees as checkout, under per-credential rate limits. |
POST /v1/agents/orders/preflight / execute | A whole order for an activated credential: many sellers’ listings in one call and one payment, through the same path and fees as a person’s order. |
POST /v1/agents/listings/preflight / submit | Scoped seller-side listing submission. The listing enters the automatic publication checks, and an eligible one publishes without waiting for manual review. |
| Endpoint | Does |
|---|---|
GET /v1/entitlements | Lists the organization’s entitlements (paginated). |
GET /v1/entitlements/{id} | Entitlement detail with the delivery-policy and rate-limit blocks. |
GET /v1/entitlements/{entitlement_id}/packet-bundle | Bundle delivery manifest: one short-TTL presigned URL per delivered asset. |
POST /v1/entitlements/{id}/packet-access-keys | Durable read-only packet access key (returned once). |
GET /v1/entitlements/{id}/packet-access-manifest | Key-scoped packet manifest read. |
GET /v1/entitlements/{id}/machine-zip | Short-lived download URL for the machine packet ZIP. |
POST /v1/entitlements/{id}/agent-access-links | Scoped, revocable browser link for clients that cannot send headers. |
POST /v1/entitlements/{id}/llm-access-profiles | Best access format per known client runtime. |
POST /v1/access-passes | Delegated read-only pass over the entitled library (raw token returned once). |
GET /v1/access-passes/manifest · /resources | Pass-scoped library projection and entitled-resource list. |
GET /v1/feeds/{feedId}/manifest · /latest · /changes · /health | Machine-only observation feeds for entitled principals. |
| Endpoint | Returns |
|---|---|
GET /v1/meta/pricing | Fee formulas and checkout constraints. All money values are integer cents. |
GET /v1/meta/capabilities | The capability registry: the source of truth for what is live today. |
GET /v1/meta/search-contract | Supported filters, ranking invariants, and the unsupported-filter anti-hallucination block. |
GET /v1/meta/agent-surface | Omnibus agent-readable contract in one deterministic JSON document. |
/.well-known/ai-plugin.json: plugin manifest.POST /v1/mcp: MCP connector endpoint (Streamable HTTP, JSON-RPC 2.0). Keyless for catalog reads. GET /v1/mcp/server-info returns the server descriptor./openapi.json: full OpenAPI 3.1 contract for the live machine surface./v1/meta/seller-standards: machine-readable seller and agent acceptance standards. Paired human page at /build-a-packet./v1/meta/agent-surface: omnibus agent-readable contract (trust primitives, scanner signals, search contract)./v1/meta/agent-participation: role kinds, reward kinds, allocation-ledger status./v1/meta/scanner-signals: scanner-signal catalog, with the bounded wording each signal may use./v1/meta/search-contract: supported filters, ranking formula summary, ranking invariants./v1/meta/content-profiles: registered content profiles with packet family + required requirement groups./v1/meta/packet-template: the full Graunt Packet Template (every content family, the metadata contract, the rights declaration, worked examples). Send it to an assistant so it can build and list packets.Packet metadata, declared rights, provenance, prices and signed manifests are exposed for agent-readable commerce, so software can discover, compare, and prepare acquisition decisions.
Current paid purchase execution runs through authenticated Graunt accounts. Unauthenticated agent paid checkout is not part of the current public surface. Every paid purchase remains accountable to a registered Graunt account. Free listings download without an account unless their seller requires one. Such a listing carries acquisition_mode PUBLIC_TOKEN_GRANT_FREE: POST /v1/listings/{id}/access-grants returns a download_url. GET it before its expires_at: a single file redirects to the file, and a bundle returns its per-asset URLs.
Graunt is provider-neutral.
Everything named on this page is listed, machine-readably, at /v1/meta/capabilities. When this page and that list disagree, the list wins.