-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpaid-saas-api.json
More file actions
94 lines (94 loc) · 2.75 KB
/
paid-saas-api.json
File metadata and controls
94 lines (94 loc) · 2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"version": "1.0",
"origin": "api.docanalyzer.example.com",
"payout_address": "0x0000000000000000000000000000000000000000",
"display_name": "DocAnalyzer",
"description": "AI-powered document analysis platform. Extracts clauses, identifies risks, and generates summaries from legal and business documents.",
"intents": [
{
"name": "analyze_document",
"description": "Analyze a document for key clauses, risk factors, and generate a structured summary. Supports PDF, DOCX, and plain text. Returns categorized findings with confidence scores.",
"endpoint": "/api/v1/analyze",
"method": "POST",
"parameters": {
"document_url": {
"type": "string",
"required": true,
"description": "Publicly accessible URL of the document to analyze"
},
"analysis_type": {
"type": "string",
"required": false,
"enum": [
"summary",
"risk",
"clauses",
"full"
],
"default": "full",
"description": "Type of analysis to perform"
}
},
"returns": {
"type": "object",
"description": "Structured analysis results",
"properties": {
"summary": {
"type": "string",
"description": "Document summary"
},
"risk_score": {
"type": "number",
"description": "Overall risk score (0-100)"
},
"findings": {
"type": "array",
"description": "Array of categorized findings with confidence scores"
}
}
},
"price": {
"amount": 0.50,
"currency": "USD",
"model": "per_call"
}
},
{
"name": "batch_analyze",
"description": "Analyze multiple documents in a single request. Cost scales with the number of documents. Returns individual results for each document.",
"endpoint": "/api/v1/batch",
"method": "POST",
"parameters": {
"document_urls": {
"type": "array",
"required": true,
"description": "Array of document URLs to analyze (max 20)"
}
},
"price": {
"amount": 0.40,
"currency": "USD",
"model": "per_unit",
"unit_param": "document_urls"
}
},
{
"name": "search_templates",
"description": "Search the public template library for document analysis templates. Free to use.",
"endpoint": "/api/v1/templates",
"method": "GET",
"parameters": {
"query": {
"type": "string",
"required": true,
"description": "Search keywords"
}
}
}
],
"bounty": {
"type": "cpa",
"rate": 0.25,
"currency": "USDC"
}
}