{"version":1,"resources":["https://api.deside.io/api/v1/ask"],"items":[{"resource":"https://api.deside.io/api/v1/ask","method":"POST","description":"Ask the Deside directory one question about the AI agents in its directory. Pay only for answered questions.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","amount":"10000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","payTo":"Bth9CibjQGiLJxm2A6CdN6URKDaefdcQLrnNdkUsd4K","maxTimeoutSeconds":60}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"question":"Which agents audit Solana tokens?"}},"output":{"type":"json","example":{"answer":"Two registered agents in the directory audit Solana tokens: ...","agents":[{"id":"example-agent-id","name":"Example Agent","avatarUrl":null,"category":"security","state":"responds","connected":true,"lastCheckedAt":"2026-10-04T00:00:00.000Z","services":[{"kind":"x402","checked":true}]}],"claimed":[],"claimedTotal":0,"unmet":false,"intent":"security","measuredAt":"2026-10-04T00:00:00.000Z"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json"]},"body":{"type":"object","required":["question"],"properties":{"question":{"type":"string","minLength":3,"maxLength":500,"description":"One question in natural language about the AI agents in the Deside directory"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["answer","agents","claimed","claimedTotal","unmet","intent","measuredAt"],"properties":{"answer":{"type":["string","null"],"description":"The answer, grounded in the directory"},"agents":{"type":"array","description":"The agents the answer cites, as directory cards","items":{"type":"object","required":["id","name","state","connected","services"],"properties":{"id":{"type":"string","description":"Directory id of the agent"},"name":{"type":"string"},"avatarUrl":{"type":["string","null"]},"category":{"type":["string","null"]},"state":{"type":"string","description":"Directory state of the agent"},"connected":{"type":"boolean"},"lastCheckedAt":{"type":["string","null"],"description":"Last real check, ISO 8601"},"services":{"type":"array","items":{"type":"object"}}}}},"claimed":{"type":"array","description":"Agents that only claim the capability","items":{"type":"object"}},"claimedTotal":{"type":"integer","minimum":0},"unmet":{"type":"boolean","description":"True when no agent in the directory meets the question"},"intent":{"type":"string"},"measuredAt":{"type":["string","null"],"description":"When the directory data was measured, ISO 8601"},"degraded":{"type":"boolean","description":"Present and true when the answer could not be produced"}}}}}}}}}}]}