{"uid":"cap_8M-S4vbLOMjQJF3xG6DZB","slug":"logos-by-readia-edit-article-7af8e49d","name":"Logos by Readia - Edit Article","description":"Edit article: $0.01","url":"https://api.logos.readia.io/api/agent/editArticle","method":"POST","headers":{},"bodySchema":{"type":"object","required":["articleId"],"properties":{"price":{"type":"number","description":"New price in USD (0.01 - 1.00)"},"title":{"type":"string","description":"New title for the article"},"content":{"type":"string","description":"New content for the article (HTML supported)"},"articleId":{"type":"number","description":"ID of the article to edit (must be owned by payer)"},"categories":{"type":"array","items":{"type":"string"},"description":"New categories array"}}},"responseSchema":{"data":{"txHash":"0x...","article":{"id":123,"price":0.25,"title":"Updated Article Title","updatedAt":"2025-01-15T12:00:00Z","categories":["Technology","Crypto"]},"message":"Article updated successfully"},"success":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Nc5yM3ZpFu3kMW99ZrwgO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Edit an existing article on the Logos by Readia x402-powered content marketplace, updating its title, content, price, or categories","exampleAgentPrompt":"Update my Logos by Readia article (ID 123) — change the title to 'Bitcoin in 2025', set the price to $0.25, and update the categories to ['Technology', 'Crypto'].","exampleUseCases":[{"title":"Fix typo in published article","prompt":"I just noticed a typo in my Readia article (ID 456) — can you fix the second paragraph where it says 'teh' instead of 'the' and update the content for me?"},{"title":"Reprice article on marketplace","prompt":"Change the price of my Logos by Readia article (ID 789) from $0.10 to $0.50 — I want to charge more now that it's getting traction."},{"title":"Update article categories and title","prompt":"My Logos article (ID 321) is miscategorized — update the title to 'The Future of Decentralized Finance' and swap the categories to ['Finance', 'Blockchain', 'DeFi']."}],"resultDescription":"Returns a success flag, a blockchain transaction hash confirming the $0.01 edit payment, and the updated article object including its ID, new title, updated price, new categories, and the timestamp of the update.","failureModes":["Article ID not found or not owned by the paying wallet — authorization error","articleId is missing from the request — validation error","Price outside allowed range ($0.01–$1.00) — validation error","Payment of $0.01 USDC via x402 fails or is rejected — payment error","Invalid HTML in content field — parsing or validation error","Network or blockchain transaction failure — transient error"],"whenToPreferThis":"Use this endpoint when a user wants to modify an existing article they own on the Logos by Readia marketplace — changing its title, HTML content, price, or categories. Prefer this over re-publishing when the article already exists and only needs updating rather than creation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:31:58.516Z","isFirstParty":false}