{"openapi":"3.1.0","info":{"title":"DUDE.AI Leads agent API","version":"1.0.0","description":"Search current public demand for agentic work and public builder profiles. Same tools as the MCP server at https://www.dude.ai/mcp and the A2A agent at https://www.dude.ai/a2a. Buyer identities are not included.","contact":{"email":"hi@brnz.ai","url":"https://www.dude.ai/agents/"}},"servers":[{"url":"https://www.dude.ai/agents/api"}],"paths":{"/tools":{"get":{"operationId":"listTools","summary":"All tools with JSON input schemas","responses":{"200":{"description":"OK"},"429":{"description":"Rate limit"}}}},"/call":{"post":{"operationId":"callTool","summary":"Call any tool by name","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tool"],"properties":{"tool":{"type":"string","enum":["search_leads","get_lead","list_lead_types","search_builders","get_builder","list_builder_types","get_ordering_info","get_dataset_stats"]},"arguments":{"type":"object"}}}}}},"responses":{"200":{"description":"{ok:true, tool, result}"},"400":{"description":"{ok:false, error}"},"429":{"description":"Rate limit"}}}},"/leads":{"get":{"operationId":"searchLeads","summary":"Search leads","parameters":[{"name":"query","in":"query","schema":{"type":"string"}},{"name":"type","in":"query","schema":{"type":"string"}},{"name":"country","in":"query","schema":{"type":"string"}},{"name":"status","in":"query","schema":{"type":"string"}},{"name":"kind","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer"}},{"name":"offset","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"OK"}}}},"/leads/{id}":{"get":{"operationId":"getLead","summary":"One lead","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"description":"Not found"}}}},"/builders":{"get":{"operationId":"searchBuilders","summary":"Search builders","parameters":[{"name":"query","in":"query","schema":{"type":"string"}},{"name":"role","in":"query","schema":{"type":"string"}},{"name":"country","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/builders/{ref}":{"get":{"operationId":"getBuilder","summary":"One builder","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"description":"Not found"}}}},"/types":{"get":{"operationId":"listLeadTypes","summary":"Lead types","responses":{"200":{"description":"OK"}}}},"/builder-types":{"get":{"operationId":"listBuilderTypes","summary":"Builder types","responses":{"200":{"description":"OK"}}}},"/ordering":{"get":{"operationId":"getOrderingInfo","summary":"Credits and access","responses":{"200":{"description":"OK"}}}},"/stats":{"get":{"operationId":"getDatasetStats","summary":"Dataset stats","responses":{"200":{"description":"OK"}}}}},"components":{"schemas":{"search_leads_input":{"type":"object","additionalProperties":false,"properties":{"query":{"type":"string","maxLength":200,"description":"Free-text search over title and summary"},"type":{"type":"string","description":"Lead type slug: agent, chatbot, voice, automation, copilot, rag, ml, vision, platform, research, advisory"},"country":{"type":"string","description":"ISO 3166-1 alpha-2 country code"},"status":{"type":"string","description":"open, closing, planned, ongoing"},"kind":{"type":"string","description":"hiring, tender, contract, freelance, startup, planned"},"limit":{"type":"integer","minimum":1,"maximum":50,"default":10},"offset":{"type":"integer","minimum":0,"default":0}}},"get_lead_input":{"type":"object","additionalProperties":false,"required":["id"],"properties":{"id":{"type":"string","description":"Lead id, e.g. AP-0001","pattern":"^[Aa][Pp]-?\\d{1,5}$"}}},"list_lead_types_input":{"type":"object","additionalProperties":false,"properties":{}},"search_builders_input":{"type":"object","additionalProperties":false,"properties":{"query":{"type":"string","maxLength":200},"role":{"type":"string"},"country":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":50,"default":10},"offset":{"type":"integer","minimum":0,"default":0}}},"get_builder_input":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"type":"string"}}},"list_builder_types_input":{"type":"object","additionalProperties":false,"properties":{}},"get_ordering_info_input":{"type":"object","additionalProperties":false,"properties":{}},"get_dataset_stats_input":{"type":"object","additionalProperties":false,"properties":{}}}}}