Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dist/swagger.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Wokelo API Playground</title>
<link rel="icon" href="./favicon.ico" />
<link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" />
<style>
body {
Expand Down
101 changes: 101 additions & 0 deletions dist/wokelo-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1184,6 +1184,9 @@ paths:
required:
- file_type
- report_id
example:
report_id: 84102
file_type: json
security:
- bearerAuth: []
/api/assets/upload/:
Expand Down Expand Up @@ -1287,6 +1290,11 @@ paths:
fileUUID:
style: form
explode: true
example:
files:
- <binary file>
fileUUID:
- 550e8400-e29b-41d4-a716-446655440000
security:
- bearerAuth: []
/api/enterprise/buyer-screening/enrich/:
Expand Down Expand Up @@ -1362,6 +1370,14 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from buyer-screening.md.'
required:
- company
example:
company: acme-security
parameters:
buyer_type:
- strategic
company_type: public
geography:
- USA
security:
- bearerAuth: []
/api/enterprise/company/enrich/:
Expand Down Expand Up @@ -1528,6 +1544,22 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from industry-deep-intelligence.md.'
required:
- topic
example:
topic: Enterprise SaaS security
sections:
- market_size
- trends_and_innovations
- transactions_mna
parameters:
keywords:
- zero trust
- SIEM
geography:
- USA
definition: B2B software focused on enterprise cybersecurity
sample_companies:
- crowdstrike
- sentinel
security:
- bearerAuth: []
/api/enterprise/market-map/enrich/:
Expand Down Expand Up @@ -1647,6 +1679,25 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from market-map.md.'
required:
- topic
example:
topic: AI-powered CRM software
parameters:
detailed_query: B2B CRM tools leveraging AI for sales automation
keywords:
- AI
- CRM
- sales automation
sample_companies:
- salesforce
- hubspot
geography:
- USA
company_type: private
employee_count:
- 11-50
funding_stage:
- Series A
- Series B
security:
- bearerAuth: []
/api/enterprise/request/cancel:
Expand Down Expand Up @@ -1679,6 +1730,8 @@ paths:
required:
- request_id
description: '[DERIVED FROM EXAMPLE — not authoritative] Request schema from Postman raw body.'
example:
request_id: 5b0eff600-366f-465c-b795-68837043a2d3
security:
- bearerAuth: []
/api/enterprise/target-screening/enrich/:
Expand Down Expand Up @@ -1785,6 +1838,16 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from target-screening.md.'
required:
- company
example:
company: microsoft
parameters:
detailed_query: Looking for B2B SaaS companies in the cybersecurity space
keywords:
- zero trust
- endpoint security
geography:
- USA
company_type: private
security:
- bearerAuth: []
/api/news/fetch/:
Expand Down Expand Up @@ -1867,6 +1930,10 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from legacy-fetch-news-report.md.'
required:
- report_id
example:
report_id: 72053
page: 1
page_size: 500
security:
- bearerAuth: []
/api/news/start/:
Expand Down Expand Up @@ -1940,6 +2007,9 @@ paths:
required:
- website
- permalink
example:
website: wokelo.ai
permalink: wokelo
security:
- bearerAuth: []
/api/wkl/notebook/configuration/:
Expand Down Expand Up @@ -1973,6 +2043,8 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from notebook-configuration.md.'
required:
- notebook_id
example:
notebook_id: 103737
security:
- bearerAuth: []
/api/workflow_manager/start/:
Expand Down Expand Up @@ -2031,6 +2103,28 @@ paths:
player_comparison: '#/components/schemas/PeerComparisonRequest'
industry_custom_fc44748: '#/components/schemas/CustomWorkflowRequest'
description: '[FROM OFFICIAL DOCS] Workflow union request body.'
examples:
company_research:
value:
workflow: company_primer
permalink: wokelo-ai
workbook_name: wokelo-ai
custom_workflows:
value:
workflow: industry_custom_fc44748
industry_research_topic: Electric vehicles
industry_research:
value:
workflow: industry_primer
industry: gaming
workbook_name: Industry Research - Gaming
peer_comparison:
value:
workflow: player_comparison
websites:
- stripe.com
- paypal.com
workbook_name: Test report
security:
- bearerAuth: []
/auth/token/:
Expand Down Expand Up @@ -2118,13 +2212,20 @@ paths:
- username
- password
- grant_type
example:
client_id: YOUR_CLIENT_ID
client_secret: YOUR_CLIENT_SECRET
username: sam@abconsulting.com
password: password
grant_type: password
security: []
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: 'Use `Authorization: Bearer <JWT>` for authenticated requests. Obtain the token from `POST /auth/token/` and pass it in the request header.'
schemas:
CompanyInstantEnrichmentRequest:
type: object
Expand Down
101 changes: 101 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,9 @@ paths:
required:
- file_type
- report_id
example:
report_id: 84102
file_type: json
security:
- bearerAuth: []
/api/assets/upload/:
Expand Down Expand Up @@ -1213,6 +1216,11 @@ paths:
fileUUID:
style: form
explode: true
example:
files:
- <binary file>
fileUUID:
- 550e8400-e29b-41d4-a716-446655440000
security:
- bearerAuth: []
/api/enterprise/buyer-screening/enrich/:
Expand Down Expand Up @@ -1287,6 +1295,14 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from buyer-screening.md.'
required:
- company
example:
company: acme-security
parameters:
buyer_type:
- strategic
company_type: public
geography:
- USA
security:
- bearerAuth: []
/api/enterprise/company/enrich/:
Expand Down Expand Up @@ -1450,6 +1466,22 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from industry-deep-intelligence.md.'
required:
- topic
example:
topic: Enterprise SaaS security
sections:
- market_size
- trends_and_innovations
- transactions_mna
parameters:
keywords:
- zero trust
- SIEM
geography:
- USA
definition: B2B software focused on enterprise cybersecurity
sample_companies:
- crowdstrike
- sentinel
security:
- bearerAuth: []
/api/enterprise/market-map/enrich/:
Expand Down Expand Up @@ -1568,6 +1600,25 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from market-map.md.'
required:
- topic
example:
topic: AI-powered CRM software
parameters:
detailed_query: B2B CRM tools leveraging AI for sales automation
keywords:
- AI
- CRM
- sales automation
sample_companies:
- salesforce
- hubspot
geography:
- USA
company_type: private
employee_count:
- 11-50
funding_stage:
- Series A
- Series B
security:
- bearerAuth: []
/api/enterprise/request/cancel:
Expand Down Expand Up @@ -1600,6 +1651,8 @@ paths:
required:
- request_id
description: '[DERIVED FROM EXAMPLE — not authoritative] Request schema from Postman raw body.'
example:
request_id: 5b0eff600-366f-465c-b795-68837043a2d3
security:
- bearerAuth: []
/api/enterprise/target-screening/enrich/:
Expand Down Expand Up @@ -1705,6 +1758,16 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from target-screening.md.'
required:
- company
example:
company: microsoft
parameters:
detailed_query: Looking for B2B SaaS companies in the cybersecurity space
keywords:
- zero trust
- endpoint security
geography:
- USA
company_type: private
security:
- bearerAuth: []
/api/news/fetch/:
Expand Down Expand Up @@ -1787,6 +1850,10 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from legacy-fetch-news-report.md.'
required:
- report_id
example:
report_id: 72053
page: 1
page_size: 500
security:
- bearerAuth: []
/api/news/start/:
Expand Down Expand Up @@ -1860,6 +1927,9 @@ paths:
required:
- website
- permalink
example:
website: wokelo.ai
permalink: wokelo
security:
- bearerAuth: []
/api/wkl/notebook/configuration/:
Expand Down Expand Up @@ -1893,6 +1963,8 @@ paths:
description: '[FROM OFFICIAL DOCS] Request schema from notebook-configuration.md.'
required:
- notebook_id
example:
notebook_id: 103737
security:
- bearerAuth: []
/api/workflow_manager/start/:
Expand Down Expand Up @@ -1950,6 +2022,28 @@ paths:
player_comparison: '#/components/schemas/PeerComparisonRequest'
industry_custom_fc44748: '#/components/schemas/CustomWorkflowRequest'
description: '[FROM OFFICIAL DOCS] Workflow union request body.'
examples:
company_research:
value:
workflow: company_primer
permalink: wokelo-ai
workbook_name: wokelo-ai
custom_workflows:
value:
workflow: industry_custom_fc44748
industry_research_topic: Electric vehicles
industry_research:
value:
workflow: industry_primer
industry: gaming
workbook_name: Industry Research - Gaming
peer_comparison:
value:
workflow: player_comparison
websites:
- stripe.com
- paypal.com
workbook_name: Test report
security:
- bearerAuth: []
/auth/token/:
Expand Down Expand Up @@ -2032,6 +2126,12 @@ paths:
- username
- password
- grant_type
example:
client_id: YOUR_CLIENT_ID
client_secret: YOUR_CLIENT_SECRET
username: sam@abconsulting.com
password: password
grant_type: password
security: []
security:
- bearerAuth: []
Expand All @@ -2041,6 +2141,7 @@ components:
type: http
scheme: bearer
bearerFormat: JWT
description: 'Use `Authorization: Bearer <JWT>` for authenticated requests. Obtain the token from `POST /auth/token/` and pass it in the request header.'
schemas:
CompanyInstantEnrichmentRequest:
type: object
Expand Down
Loading
Loading