{"uid":"cap_Sxy023XpTuppJ-ZLWADJ1","slug":"aient-ai-a6a2b040","name":"Aient Environment Ingest Key Mint","description":"Mint a new publishable ingest key for an Aient environment so an agent can wire `@aient/otel` into a service it just instrumented. Returns the key value once — store it.","url":"https://aient.ai/x402/environments/keys","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"label":{"type":"string"},"environmentId":{"type":"string","format":"uuid"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_f235q7wWCGBnsUvQm3aNF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Mints a new publishable OpenTelemetry ingest key for an Aient environment, returned once for immediate storage.","exampleAgentPrompt":"Mint a new Aient ingest key for my production environment so I can wire up @aient/otel — make sure to save the key value since it's only returned once.","exampleUseCases":null,"resultDescription":"Returns the newly generated publishable ingest key value exactly once in the response body. The key is used to authenticate telemetry ingestion via @aient/otel into the specified Aient environment. It must be stored immediately as it cannot be retrieved again.","failureModes":["Invalid or expired session token — 401 Unauthorized","Environment not found or not provisioned for the organization — 404 Not Found","Payment of 0.1 USDC not completed or insufficient balance — 402 Payment Required","Rate limit exceeded for key creation — 429 Too Many Requests","Organization not yet onboarded — 403 Forbidden"],"whenToPreferThis":"Use this endpoint when you need to provision a new OpenTelemetry ingest key for connecting a service to Aient via @aient/otel. This is the correct endpoint when setting up instrumentation for a new service or rotating an existing key. Prefer this over the onboarding endpoint when the organization is already provisioned and you only need a fresh ingest key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:32:24.750Z","isFirstParty":false}