{"uid":"cap_dXTxO5dEs1ZoUX1AOdkxQ","slug":"autogrok-desk-json-shape-7441303c","name":"AUTOGROK Desk — JSON Shape","description":"Paid micro-jobs for AI agents and people: URL probe, page extract, watch once, JSON shape, researched brief. Pay per call with x402 (USDC on Base) or with prepaid card packs (Stripe MPP).","url":"https://desk.grokaiapps.com/v1/jobs/json-shape?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":50000,"description":"Raw text or JSON to reshape (≤50k chars)"},"schema_hint":{"type":"string","description":"Free-text hint of desired field names / shape"}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"age":36,"name":"Ada"},"notes":["parsed key:value lines","schema_hint matched 2/2 keys"],"schema_hint":"name, age"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_atoidt14Az29u0fdRZYjq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reshapes raw text or JSON into a structured JSON object matching a user-specified field schema hint, paying per call via USDC or prepaid card.","exampleAgentPrompt":"Take this raw text — 'name: Ada, age: 36, city: London' — and reshape it into a JSON object with fields name, age, and city.","exampleUseCases":[{"title":"Normalize scraped contact data","prompt":"I scraped this block of text from a directory listing: 'John Smith | Senior Dev | john@example.com | (555) 123-4567' — can you reshape it into a clean JSON object with fields name, title, email, and phone?"},{"title":"Parse LLM output into typed record","prompt":"The AI returned this free-form text: 'The product is a red leather wallet priced at $29.99 with SKU WLT-042.' Turn it into a JSON object with fields product_name, color, material, price, and sku."},{"title":"Convert config text to JSON object","prompt":"I have this INI-style config snippet: 'host=db.example.com\nport=5432\nuser=admin\npassword=s3cr3t' — reshape it into a JSON object with fields host, port, user, and password."}],"resultDescription":"Returns a JSON object with an 'ok' boolean, a 'data' object containing the reshaped fields populated from the input text, a 'notes' array explaining how parsing was performed and how many schema hint keys were matched, and the original 'schema_hint' echoed back.","failureModes":["Input text exceeds 50,000 character limit — request rejected","Schema hint fields cannot be found in input text — data object returned with null or missing values","Malformed input that is neither parseable text nor valid JSON — partial or empty data object returned","Payment failure via x402 or prepaid card — 402 Payment Required response","Ambiguous field names in schema hint causing incorrect key mapping"],"whenToPreferThis":"Choose this endpoint when you need to convert raw or semi-structured text into a specific JSON shape and can describe the desired fields in plain language. It is ideal for normalizing scraped text, LLM outputs, or legacy data into a typed record without writing custom parsing code. Prefer it over generic LLM prompting when you want a reliable, paid micro-job with structured output guarantees and per-call cost accountability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:37:51.118Z","isFirstParty":false,"canonicalSlug":"autogrok-desk-json-shape-7441303c"}