{"manifest":{"id":"context","name":"Context.dev","description":"Seeded company matching by email domain for onboarding tests.","docsUrl":"https://docs.emulators.dev/context","surfaces":[{"id":"rest","kind":"rest","title":"Brand retrieval by email","status":"partial","basePath":"/v1"}],"auth":[{"id":"api-key","title":"Bearer API key","type":"api-key","status":"supported"}],"specs":[{"kind":"openapi","title":"Curated brand lookup","coverage":"hand-authored","operations":[{"operationId":"brand.retrieve","method":"POST","path":"/v1/brand/retrieve","status":"hand-authored"}]}],"seedSchema":{"description":"Only seeded domains match. Unknown domains return 404; no external requests are made.","fields":[{"key":"brands","title":"Company brands","example":[{"domain":"company.example","title":"Example Company"}]}],"example":{"brands":[{"domain":"company.example","title":"Example Company"}]}},"stateModel":{"collections":[{"name":"context.brands","title":"Company matches"}]},"connections":[{"id":"api","title":"Brand lookup","kind":"curl","language":"shell","template":"curl -X POST '{{baseUrl}}/v1/brand/retrieve' -H 'Authorization: Bearer {{token}}' -H 'Content-Type: application/json' -d '{\"type\":\"by_email\",\"email\":\"person@company.example\"}'"},{"id":"base-url","title":"Base URL (env)","kind":"env","language":"bash","description":"Point your SDK or app at the emulator instead of the real provider.","template":"{{SERVICE_UPPER}}_BASE_URL={{baseUrl}}"},{"id":"create-credential","title":"Create a credential","kind":"curl","language":"bash","description":"Mint a working credential for this instance.","template":"curl -s -X POST {{controlBaseUrl}}/credentials \\\n  -H \"content-type: application/json\" \\\n  -d '{\"type\":\"{{defaultAuthType}}\"}'"},{"id":"inspect-ledger","title":"Inspect requests","kind":"curl","language":"bash","description":"Read the request ledger to validate how your app called the service.","template":"curl -s {{controlBaseUrl}}/ledger"}],"resetBehavior":{"description":"Resets the instance to its seeded baseline.","reseeds":true,"clearsLedger":true,"clearsWebhooks":true},"ledger":{"description":"Recent provider requests with sensitive headers and fields redacted.","recordsFields":["timestamp","method","host","path","route","operationId","correlationId","identity","request","response","summary","sideEffects","webhookDeliveries","durationMs"],"redactsSensitive":true,"correlationId":true,"webhookDeliveries":true,"sideEffects":true,"persistent":true,"maxEntries":1000},"inspectorTabs":[{"id":"overview","title":"Overview","kind":"landing","description":"Service surfaces, base URLs, and connection snippets."},{"id":"ledger","title":"Ledger","kind":"ledger","description":"Recent provider requests recorded by the emulator."},{"id":"state","title":"State","kind":"state","description":"Current seeded and mutated instance state."},{"id":"credentials","title":"Credentials","kind":"credentials","description":"Mint tokens, API keys, or OAuth clients."},{"id":"seed","title":"Seed","kind":"seed","description":"Seed state or load a scenario."},{"id":"spec","title":"Spec","kind":"spec","description":"OpenAPI / GraphQL spec sources and coverage."}]},"instance":null,"sampleInstance":{"service":"context","instance":"your-instance","baseUrl":"https://context.your-instance.emulators.dev","providerBaseUrl":"https://context.your-instance.emulators.dev","controlBaseUrl":"https://context.your-instance.emulators.dev/_emulate"},"connections":[{"id":"api","title":"Brand lookup","kind":"curl","language":"shell","template":"curl -X POST '{{baseUrl}}/v1/brand/retrieve' -H 'Authorization: Bearer {{token}}' -H 'Content-Type: application/json' -d '{\"type\":\"by_email\",\"email\":\"person@company.example\"}'","body":"curl -X POST 'https://context.your-instance.emulators.dev/v1/brand/retrieve' -H 'Authorization: Bearer <token>' -H 'Content-Type: application/json' -d '{\"type\":\"by_email\",\"email\":\"person@company.example\"}'"},{"id":"base-url","title":"Base URL (env)","kind":"env","language":"bash","description":"Point your SDK or app at the emulator instead of the real provider.","template":"{{SERVICE_UPPER}}_BASE_URL={{baseUrl}}","body":"CONTEXT_BASE_URL=https://context.your-instance.emulators.dev"},{"id":"create-credential","title":"Create a credential","kind":"curl","language":"bash","description":"Mint a working credential for this instance.","template":"curl -s -X POST {{controlBaseUrl}}/credentials \\\n  -H \"content-type: application/json\" \\\n  -d '{\"type\":\"{{defaultAuthType}}\"}'","body":"curl -s -X POST https://context.your-instance.emulators.dev/_emulate/credentials \\\n  -H \"content-type: application/json\" \\\n  -d '{\"type\":\"api-key\"}'"},{"id":"inspect-ledger","title":"Inspect requests","kind":"curl","language":"bash","description":"Read the request ledger to validate how your app called the service.","template":"curl -s {{controlBaseUrl}}/ledger","body":"curl -s https://context.your-instance.emulators.dev/_emulate/ledger"}]}