opencode-skills-collection 3.1.14 → 3.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +36 -1
- package/bundled-skills/007/scripts/full_audit.py +34 -22
- package/bundled-skills/007/scripts/quick_scan.py +24 -15
- package/bundled-skills/007/scripts/scanners/dependency_scanner.py +31 -19
- package/bundled-skills/007/scripts/scanners/injection_scanner.py +24 -14
- package/bundled-skills/007/scripts/scanners/secrets_scanner.py +24 -14
- package/bundled-skills/007/scripts/score_calculator.py +25 -13
- package/bundled-skills/2slides-ppt-generator/scripts/download_slides_pages_voices.py +15 -1
- package/bundled-skills/aegisops-ai/SKILL.md +1 -1
- package/bundled-skills/agent-self-scheduling/SKILL.md +88 -0
- package/bundled-skills/alpha-vantage/SKILL.md +3 -1
- package/bundled-skills/anti-sleep/SKILL.md +90 -0
- package/bundled-skills/api-security-best-practices/SKILL.md +1 -1
- package/bundled-skills/app-store-optimization/SKILL.md +7 -0
- package/bundled-skills/audio-transcriber/scripts/transcribe.py +17 -4
- package/bundled-skills/azure-mgmt-botservice-py/SKILL.md +2 -1
- package/bundled-skills/azure-resource-manager-mysql-dotnet/SKILL.md +2 -1
- package/bundled-skills/azure-resource-manager-postgresql-dotnet/SKILL.md +2 -1
- package/bundled-skills/azure-resource-manager-sql-dotnet/SKILL.md +2 -1
- package/bundled-skills/biopython/SKILL.md +2 -1
- package/bundled-skills/brain-to-docs/SKILL.md +54 -0
- package/bundled-skills/browser-harness/SKILL.md +220 -0
- package/bundled-skills/browser-harness/references/install.md +132 -0
- package/bundled-skills/bumblebee/scripts/render_report.py +16 -3
- package/bundled-skills/bun-development/SKILL.md +1 -1
- package/bundled-skills/cc-skill-security-review/SKILL.md +2 -2
- package/bundled-skills/claude-monitor/scripts/monitor.py +15 -2
- package/bundled-skills/cmux/SKILL.md +250 -0
- package/bundled-skills/code-polish/SKILL.md +192 -0
- package/bundled-skills/code-review-checklist/SKILL.md +1 -1
- package/bundled-skills/codex-subagent/SKILL.md +117 -0
- package/bundled-skills/competitor-analysis/scripts/capture_screenshots.mjs +24 -3
- package/bundled-skills/competitor-analysis/scripts/compile_report.mjs +13 -2
- package/bundled-skills/competitor-analysis/scripts/extract_vs_names.mjs +23 -2
- package/bundled-skills/competitor-analysis/scripts/gate_candidates.mjs +21 -0
- package/bundled-skills/competitor-analysis/scripts/list_urls.mjs +23 -2
- package/bundled-skills/competitor-analysis/scripts/merge_partials.mjs +24 -3
- package/bundled-skills/container-security-hardening/SKILL.md +1 -1
- package/bundled-skills/content-creator/scripts/brand_voice_analyzer.py +15 -1
- package/bundled-skills/content-creator/scripts/seo_optimizer.py +15 -1
- package/bundled-skills/context-kit/SKILL.md +135 -0
- package/bundled-skills/cyber-audit/SKILL.md +138 -0
- package/bundled-skills/deepapi/SKILL.md +649 -0
- package/bundled-skills/delegating-to-agents/SKILL.md +64 -0
- package/bundled-skills/developer-signup-flow/SKILL.md +1 -1
- package/bundled-skills/diary/scripts/fetch_diaries.py +14 -1
- package/bundled-skills/diary/scripts/prepare_context.py +15 -2
- package/bundled-skills/diary/scripts/sync_to_notion.py +14 -1
- package/bundled-skills/dispatch/SKILL.md +19 -7
- package/bundled-skills/distribute-skill-to-all-agents/SKILL.md +85 -0
- package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
- package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
- package/bundled-skills/docs/maintainers/repo-growth-seo.md +3 -3
- package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
- package/bundled-skills/docs/users/bundles.md +1 -1
- package/bundled-skills/docs/users/claude-code-skills.md +1 -1
- package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
- package/bundled-skills/docs/users/getting-started.md +1 -1
- package/bundled-skills/docs/users/kiro-integration.md +1 -1
- package/bundled-skills/docs/users/usage.md +4 -4
- package/bundled-skills/docs/users/visual-guide.md +4 -4
- package/bundled-skills/docx-official/ooxml/scripts/pack.py +30 -3
- package/bundled-skills/docx-official/ooxml/scripts/unpack.py +16 -3
- package/bundled-skills/drizzle-migration-conflict/scripts/check_drizzle_migrations.py +27 -17
- package/bundled-skills/ecl-harness-engineer/agents/creator-config.md +17 -3
- package/bundled-skills/ecl-harness-engineer/references/environment-detection-guide.md +9 -5
- package/bundled-skills/effective-agent-skills/SKILL.md +333 -0
- package/bundled-skills/electron-development/SKILL.md +6 -2
- package/bundled-skills/environment-setup-guide/SKILL.md +2 -5
- package/bundled-skills/expo-ui/scripts/list-components.js +5 -1
- package/bundled-skills/fable-safe-prompt/SKILL.md +79 -0
- package/bundled-skills/folder-specific-claude-and-agents-md/SKILL.md +96 -0
- package/bundled-skills/frontend-slides/scripts/extract-pptx.py +18 -4
- package/bundled-skills/gcp-cloud-run/SKILL.md +2 -1
- package/bundled-skills/gemini-api-integration/SKILL.md +3 -1
- package/bundled-skills/gemini-live-api-dev/SKILL.md +2 -1
- package/bundled-skills/gemini-omni-flash-api/scripts/video/generate_video.py +49 -14
- package/bundled-skills/goal-loop/SKILL.md +175 -0
- package/bundled-skills/hugging-face-evaluation/SKILL.md +1 -1
- package/bundled-skills/hugging-face-jobs/SKILL.md +1 -1
- package/bundled-skills/hugging-face-jobs/scripts/finepdfs-stats.py +14 -1
- package/bundled-skills/hugging-face-model-trainer/scripts/convert_to_gguf.py +10 -1
- package/bundled-skills/hugo-to-markdown/scripts/inventory_hugo_rules.py +14 -1
- package/bundled-skills/image-generator/SKILL.md +3 -1
- package/bundled-skills/instagram/scripts/export.py +18 -7
- package/bundled-skills/interview-style-doc-building/SKILL.md +86 -0
- package/bundled-skills/junta-leiloeiros/scripts/export.py +19 -10
- package/bundled-skills/landing-page-generator/scripts/landing_page_scaffolder.py +15 -1
- package/bundled-skills/linear-claude-skill/SKILL.md +4 -2
- package/bundled-skills/linkedin-post-writer/SKILL.md +159 -0
- package/bundled-skills/linkedin-post-writer/references/hook-formulas.md +482 -0
- package/bundled-skills/llm-council/SKILL.md +4 -2
- package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package-lock.json +5 -6
- package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package.json +2 -3
- package/bundled-skills/markdown-rendering/SKILL.md +72 -0
- package/bundled-skills/matematico-tao/scripts/complexity_analyzer.py +14 -1
- package/bundled-skills/matematico-tao/scripts/dependency_graph.py +15 -2
- package/bundled-skills/mobile-design/scripts/mobile_audit.py +20 -6
- package/bundled-skills/monte-carlo-validation-notebook/scripts/resolve_dbt_schema.py +15 -2
- package/bundled-skills/multi-agent-architect/SKILL.md +1 -1
- package/bundled-skills/odoo-rpc-api/SKILL.md +2 -1
- package/bundled-skills/pci-compliance/SKILL.md +3 -1
- package/bundled-skills/pdf-official/scripts/create_validation_image.py +17 -3
- package/bundled-skills/pdf-official/scripts/extract_form_field_info.py +1 -1
- package/bundled-skills/personal-tool-builder/SKILL.md +1 -1
- package/bundled-skills/pi-custom-model/SKILL.md +68 -0
- package/bundled-skills/pi-web-search/SKILL.md +74 -0
- package/bundled-skills/playwright-skill/run.js +19 -1
- package/bundled-skills/pptx-official/ooxml/scripts/pack.py +30 -3
- package/bundled-skills/pptx-official/ooxml/scripts/unpack.py +16 -3
- package/bundled-skills/pptx-official/scripts/inventory.py +17 -4
- package/bundled-skills/pptx-official/scripts/rearrange.py +15 -2
- package/bundled-skills/pptx-official/scripts/replace.py +16 -3
- package/bundled-skills/product-manager-toolkit/scripts/customer_interview_analyzer.py +15 -1
- package/bundled-skills/production-code-audit/SKILL.md +1 -1
- package/bundled-skills/push-skill-to-github/SKILL.md +61 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_completion_powershell.md +3 -2
- package/bundled-skills/read-all-adrs/SKILL.md +35 -0
- package/bundled-skills/remote-gpu-trainer/scripts/verify_local.py +14 -1
- package/bundled-skills/research-prompt/SKILL.md +63 -0
- package/bundled-skills/run-deep-swe/SKILL.md +120 -0
- package/bundled-skills/senior-architect/scripts/architecture_diagram_generator.py +15 -2
- package/bundled-skills/senior-architect/scripts/dependency_analyzer.py +15 -2
- package/bundled-skills/senior-architect/scripts/project_architect.py +15 -2
- package/bundled-skills/senior-frontend/scripts/bundle_analyzer.py +14 -1
- package/bundled-skills/senior-frontend/scripts/frontend_scaffolder.py +14 -1
- package/bundled-skills/senior-fullstack/scripts/code_quality_analyzer.py +15 -2
- package/bundled-skills/senior-fullstack/scripts/fullstack_scaffolder.py +15 -2
- package/bundled-skills/senior-fullstack/scripts/project_scaffolder.py +15 -2
- package/bundled-skills/setup-help/SKILL.md +50 -0
- package/bundled-skills/shodan-reconnaissance/SKILL.md +2 -1
- package/bundled-skills/short/SKILL.md +28 -0
- package/bundled-skills/skill-creator/scripts/init_skill.py +15 -2
- package/bundled-skills/skill-creator/scripts/package_skill.py +29 -12
- package/bundled-skills/skill-creator/scripts/quick_validate.py +14 -2
- package/bundled-skills/skill-creator-ms/SKILL.md +1 -1
- package/bundled-skills/skill-installer/scripts/install_skill.py +42 -8
- package/bundled-skills/skill-installer/scripts/package_skill.py +29 -17
- package/bundled-skills/skill-installer/scripts/validate_skill.py +37 -22
- package/bundled-skills/stripe-integration/SKILL.md +7 -3
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/xctrace.py +7 -1
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/xml_utils.py +7 -1
- package/bundled-skills/taisly-social-media-posting/SKILL.md +79 -0
- package/bundled-skills/technical-tutorials/SKILL.md +1 -1
- package/bundled-skills/telegram/scripts/setup_project.py +17 -2
- package/bundled-skills/time-ledger/SKILL.md +118 -0
- package/bundled-skills/trading-ledger/SKILL.md +121 -0
- package/bundled-skills/videodb/scripts/ws_listener.py +17 -4
- package/bundled-skills/voice-ai-development/SKILL.md +2 -1
- package/bundled-skills/vps-server-management/SKILL.md +72 -0
- package/bundled-skills/weaviate/scripts/weaviate_conn.py +20 -18
- package/bundled-skills/wgm/SKILL.md +137 -0
- package/bundled-skills/whatsapp-cloud-api/scripts/setup_project.py +16 -1
- package/bundled-skills/workorai/SKILL.md +137 -0
- package/bundled-skills/wp-site-health-auditor/SKILL.md +341 -0
- package/bundled-skills/wp-site-health-auditor/references/catalog.md +135 -0
- package/bundled-skills/writing-skills/render-graphs.js +13 -2
- package/bundled-skills/x-twitter-scraper/SKILL.md +3 -1
- package/bundled-skills/youtube-notetaker/scripts/serve.py +41 -31
- package/bundled-skills/youtube-notetaker/scripts/vtt_to_transcript.py +16 -2
- package/bundled-skills/youtube-notetaker/scripts/write_library_item.py +15 -1
- package/bundled-skills/youtube-transcript/SKILL.md +120 -0
- package/package.json +5 -1
- package/skills_index.json +786 -6
|
@@ -0,0 +1,649 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deepapi
|
|
3
|
+
description: "Use DeepAPI for supported scraping, research, and email workflows with explicit credentials and approval."
|
|
4
|
+
category: research
|
|
5
|
+
risk: critical
|
|
6
|
+
source: community
|
|
7
|
+
source_repo: davidondrej/skills
|
|
8
|
+
source_type: community
|
|
9
|
+
date_added: "2026-07-07"
|
|
10
|
+
author: davidondrej
|
|
11
|
+
tags: [deepapi, scraping, email, api]
|
|
12
|
+
tools: [claude, codex]
|
|
13
|
+
license: "MIT"
|
|
14
|
+
license_source: "https://github.com/davidondrej/skills/blob/main/LICENSE"
|
|
15
|
+
version: b17ad5148ab7
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# DeepAPI
|
|
19
|
+
|
|
20
|
+
## When to Use
|
|
21
|
+
|
|
22
|
+
- Use when the task needs supported DeepAPI scraping, research, or email endpoints.
|
|
23
|
+
- Use when the user has provided or confirmed the required DeepAPI credentials and scope.
|
|
24
|
+
|
|
25
|
+
Use this skill when the user asks you to scrape public web data or draft/read/send email through DeepAPI.
|
|
26
|
+
|
|
27
|
+
## Staying Up To Date
|
|
28
|
+
|
|
29
|
+
- Your installed copy's version is the `version` value in the frontmatter above.
|
|
30
|
+
- If a request fails unexpectedly, fetch https://deepapi.co/deepapi-skill/VERSION.txt — public, no auth, a few bytes.
|
|
31
|
+
- If it differs from this file's version, fetch https://deepapi.co/deepapi-skill/SKILL.md and overwrite this file with it.
|
|
32
|
+
- Every API response includes `skillVersion`. If it differs from this file's version, refresh the same way.
|
|
33
|
+
- Only ever fetch this skill from https://deepapi.co.
|
|
34
|
+
|
|
35
|
+
## Required Environment
|
|
36
|
+
|
|
37
|
+
- Read `DEEPAPI_API_BASE_URL` from the environment.
|
|
38
|
+
- Read `DEEPAPI_API_KEY` from the environment.
|
|
39
|
+
- If either value is missing, stop and ask the user for setup.
|
|
40
|
+
- Never commit, print, log, paste, or expose `DEEPAPI_API_KEY`.
|
|
41
|
+
|
|
42
|
+
## Request Rules
|
|
43
|
+
|
|
44
|
+
- Send `Authorization: Bearer $DEEPAPI_API_KEY` on every request.
|
|
45
|
+
- Send `Content-Type: application/json` when sending JSON.
|
|
46
|
+
- Send a unique `Idempotency-Key` for every `POST`.
|
|
47
|
+
- For scrape work, set explicit `maxCostUsd` or `maxCostMicrousd`.
|
|
48
|
+
- Keep email as `send: false` or `mode: draft` unless the user explicitly approves sending.
|
|
49
|
+
- Do not pass inbox IDs. Use `emailIdentityId` or omit it.
|
|
50
|
+
|
|
51
|
+
## Execution Loop
|
|
52
|
+
|
|
53
|
+
1. Choose the narrowest endpoint that matches the task.
|
|
54
|
+
2. Build the request from the endpoint schema and examples below.
|
|
55
|
+
3. Run the request with the required headers.
|
|
56
|
+
4. If the response has `status: running`, wait `next.afterSecs` and call `next.method` + `next.path` until `status` is `succeeded` or `failed`.
|
|
57
|
+
5. If `error.retryable` is true, wait `error.retryAfterSecs` before retrying.
|
|
58
|
+
6. If the response is HTTP 402 with `error.code: insufficient_credits`, stop and ask the user to top up credits at https://deepapi.co/credits. After top-up, retry with the same `Idempotency-Key`.
|
|
59
|
+
7. Report `requestId`, `status`, `debitMicrousd`, `costFinal`, and the useful part of `output`.
|
|
60
|
+
|
|
61
|
+
## Endpoints
|
|
62
|
+
|
|
63
|
+
| Method | Path | Scope | Cost |
|
|
64
|
+
| --- | --- | --- | --- |
|
|
65
|
+
| POST | `/v1/scrape/website` | `scrape:website` | Set `maxCostUsd: "1.00"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
66
|
+
| POST | `/v1/scrape/linkedin/profile` | `scrape:linkedin` | Set `maxCostUsd: "0.05"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
67
|
+
| POST | `/v1/scrape/github/profile` | `scrape:github` | Set `maxCostUsd: "0.03"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
68
|
+
| POST | `/v1/scrape/twitter/search` | `scrape:twitter` | Set `maxCostUsd: "0.03"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
69
|
+
| POST | `/v1/scrape/linkedin/jobs` | `scrape:linkedin` | Set `maxCostUsd: "0.05"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
70
|
+
| POST | `/v1/scrape/linkedin/company` | `scrape:linkedin` | Set `maxCostUsd: "0.05"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
71
|
+
| POST | `/v1/scrape/linkedin/people` | `scrape:linkedin` | Set `maxCostUsd: "0.50"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
72
|
+
| POST | `/v1/scrape/linkedin/posts` | `scrape:linkedin` | Set `maxCostUsd: "0.05"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
73
|
+
| POST | `/v1/scrape/twitter/user` | `scrape:twitter` | Set `maxCostUsd: "0.05"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
74
|
+
| POST | `/v1/scrape/twitter/replies` | `scrape:twitter` | Set `maxCostUsd: "0.20"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
75
|
+
| POST | `/v1/scrape/youtube/transcript` | `scrape:youtube` | Set `maxCostUsd: "0.05"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
76
|
+
| POST | `/v1/scrape/youtube/channel` | `scrape:youtube` | Set `maxCostUsd: "0.30"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
77
|
+
| POST | `/v1/scrape/youtube/search` | `scrape:youtube` | Set `maxCostUsd: "0.10"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
78
|
+
| POST | `/v1/scrape/linkedin` | `scrape:linkedin` | Set `maxCostUsd: "0.05"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
79
|
+
| POST | `/v1/scrape/github` | `scrape:github` | Set `maxCostUsd: "0.03"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
80
|
+
| POST | `/v1/scrape/twitter` | `scrape:twitter` | Set `maxCostUsd: "0.03"` unless the user gives a different cap. The route requires maxCostUsd or maxCostMicrousd as the customer spend cap. The final debit is capped by that amount and reported as debitMicrousd. |
|
|
81
|
+
| POST | `/v1/email/send` | `email:send` | Uses configured email unit pricing; the route does not accept maxCostUsd. Check debitMicrousd in the response. |
|
|
82
|
+
| GET | `/v1/email/messages` | `email:read` | Read route returns debitMicrousd 0. |
|
|
83
|
+
| GET | `/v1/email/drafts` | `email:read` | Read route returns debitMicrousd 0. |
|
|
84
|
+
| POST | `/v1/email/drafts/{draftId}/send` | `email:send` | Uses configured email unit pricing; the route does not accept maxCostUsd. Check debitMicrousd in the response. |
|
|
85
|
+
| POST | `/v1/research/deep` | `research:deep` | Set `maxCostUsd: "0.10"` unless the user gives a different cap. Defaults to maxCostUsd 0.10. Pass maxCostUsd or maxCostMicrousd to choose a different customer spend cap. The final debit is capped and reported as debitMicrousd. |
|
|
86
|
+
| POST | `/v1/generate/image` | `generate:image` | Set `maxCostUsd: "0.20"` unless the user gives a different cap. Defaults to maxCostUsd 0.20. Pass maxCostUsd or maxCostMicrousd to choose a different customer spend cap. The final debit is capped and reported as debitMicrousd. |
|
|
87
|
+
| POST | `/v1/search/web` | `search:web` | Set `maxCostUsd: "0.05"` unless the user gives a different cap. Defaults to maxCostUsd 0.05. Pass maxCostUsd or maxCostMicrousd to choose a different customer spend cap. The final debit is capped and reported as debitMicrousd. |
|
|
88
|
+
| GET | `/v1/requests/{requestId}` | `same key` | Status polling does not create a new debit. |
|
|
89
|
+
|
|
90
|
+
## Endpoint Details
|
|
91
|
+
|
|
92
|
+
### Scrape Website
|
|
93
|
+
|
|
94
|
+
Use `POST /v1/scrape/website`. Crawl website pages and return clean text and markdown per page.
|
|
95
|
+
|
|
96
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
97
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
98
|
+
|
|
99
|
+
Safety:
|
|
100
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
101
|
+
- Send a unique Idempotency-Key for every POST.
|
|
102
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
103
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
104
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
105
|
+
|
|
106
|
+
Example body:
|
|
107
|
+
```json
|
|
108
|
+
{
|
|
109
|
+
"maxCostUsd": "1.00",
|
|
110
|
+
"waitForFinishSecs": 60,
|
|
111
|
+
"urls": [
|
|
112
|
+
"https://example.com"
|
|
113
|
+
],
|
|
114
|
+
"maxPages": 1
|
|
115
|
+
}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Scrape LinkedIn Profile
|
|
119
|
+
|
|
120
|
+
Use `POST /v1/scrape/linkedin/profile`. Scrape public LinkedIn profile details.
|
|
121
|
+
|
|
122
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
123
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
124
|
+
|
|
125
|
+
Safety:
|
|
126
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
127
|
+
- Send a unique Idempotency-Key for every POST.
|
|
128
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
129
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
130
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
131
|
+
|
|
132
|
+
Example body:
|
|
133
|
+
```json
|
|
134
|
+
{
|
|
135
|
+
"maxCostUsd": "0.05",
|
|
136
|
+
"waitForFinishSecs": 60,
|
|
137
|
+
"profiles": [
|
|
138
|
+
"williamhgates"
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Scrape GitHub Profile
|
|
144
|
+
|
|
145
|
+
Use `POST /v1/scrape/github/profile`. Scrape public GitHub profile details.
|
|
146
|
+
|
|
147
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
148
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
149
|
+
|
|
150
|
+
Safety:
|
|
151
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
152
|
+
- Send a unique Idempotency-Key for every POST.
|
|
153
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
154
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
155
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
156
|
+
|
|
157
|
+
Example body:
|
|
158
|
+
```json
|
|
159
|
+
{
|
|
160
|
+
"maxCostUsd": "0.03",
|
|
161
|
+
"waitForFinishSecs": 60,
|
|
162
|
+
"usernames": [
|
|
163
|
+
"octocat"
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Search X/Twitter
|
|
169
|
+
|
|
170
|
+
Use `POST /v1/scrape/twitter/search`. Scrape X/Twitter posts from a search query or account handles.
|
|
171
|
+
|
|
172
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
173
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
174
|
+
|
|
175
|
+
Safety:
|
|
176
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
177
|
+
- Send a unique Idempotency-Key for every POST.
|
|
178
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
179
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
180
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
181
|
+
|
|
182
|
+
Example body:
|
|
183
|
+
```json
|
|
184
|
+
{
|
|
185
|
+
"maxCostUsd": "0.03",
|
|
186
|
+
"waitForFinishSecs": 60,
|
|
187
|
+
"handles": [
|
|
188
|
+
"nasa"
|
|
189
|
+
],
|
|
190
|
+
"maxItems": 1,
|
|
191
|
+
"sort": "latest"
|
|
192
|
+
}
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
### Scrape LinkedIn Jobs
|
|
196
|
+
|
|
197
|
+
Use `POST /v1/scrape/linkedin/jobs`. Scrape public LinkedIn job listings for a search query.
|
|
198
|
+
|
|
199
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
200
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
201
|
+
|
|
202
|
+
Safety:
|
|
203
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
204
|
+
- Send a unique Idempotency-Key for every POST.
|
|
205
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
206
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
207
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
208
|
+
|
|
209
|
+
Example body:
|
|
210
|
+
```json
|
|
211
|
+
{
|
|
212
|
+
"maxCostUsd": "0.05",
|
|
213
|
+
"waitForFinishSecs": 60,
|
|
214
|
+
"query": "software engineer",
|
|
215
|
+
"location": "United States",
|
|
216
|
+
"maxItems": 5
|
|
217
|
+
}
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### Scrape LinkedIn Company
|
|
221
|
+
|
|
222
|
+
Use `POST /v1/scrape/linkedin/company`. Scrape public LinkedIn company pages for firmographic details.
|
|
223
|
+
|
|
224
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
225
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
226
|
+
|
|
227
|
+
Safety:
|
|
228
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
229
|
+
- Send a unique Idempotency-Key for every POST.
|
|
230
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
231
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
232
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
233
|
+
|
|
234
|
+
Example body:
|
|
235
|
+
```json
|
|
236
|
+
{
|
|
237
|
+
"maxCostUsd": "0.05",
|
|
238
|
+
"waitForFinishSecs": 60,
|
|
239
|
+
"companies": [
|
|
240
|
+
"microsoft"
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
### Search LinkedIn People
|
|
246
|
+
|
|
247
|
+
Use `POST /v1/scrape/linkedin/people`. Search public LinkedIn profiles by role, location, company, or school. Requires maxCostUsd of at least 0.50.
|
|
248
|
+
|
|
249
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
250
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
251
|
+
|
|
252
|
+
Safety:
|
|
253
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
254
|
+
- Send a unique Idempotency-Key for every POST.
|
|
255
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
256
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
257
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
258
|
+
|
|
259
|
+
Example body:
|
|
260
|
+
```json
|
|
261
|
+
{
|
|
262
|
+
"maxCostUsd": "0.50",
|
|
263
|
+
"waitForFinishSecs": 60,
|
|
264
|
+
"titles": [
|
|
265
|
+
"Founder"
|
|
266
|
+
],
|
|
267
|
+
"locations": [
|
|
268
|
+
"San Francisco"
|
|
269
|
+
],
|
|
270
|
+
"maxItems": 5
|
|
271
|
+
}
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### Scrape LinkedIn Posts
|
|
275
|
+
|
|
276
|
+
Use `POST /v1/scrape/linkedin/posts`. Scrape recent public posts from LinkedIn profiles or company pages.
|
|
277
|
+
|
|
278
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
279
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
280
|
+
|
|
281
|
+
Safety:
|
|
282
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
283
|
+
- Send a unique Idempotency-Key for every POST.
|
|
284
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
285
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
286
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
287
|
+
|
|
288
|
+
Example body:
|
|
289
|
+
```json
|
|
290
|
+
{
|
|
291
|
+
"maxCostUsd": "0.05",
|
|
292
|
+
"waitForFinishSecs": 60,
|
|
293
|
+
"profiles": [
|
|
294
|
+
"williamhgates"
|
|
295
|
+
],
|
|
296
|
+
"maxItems": 3
|
|
297
|
+
}
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
### Scrape X/Twitter User
|
|
301
|
+
|
|
302
|
+
Use `POST /v1/scrape/twitter/user`. Scrape public X/Twitter account profiles, with optional follower and following lists.
|
|
303
|
+
|
|
304
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
305
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
306
|
+
|
|
307
|
+
Safety:
|
|
308
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
309
|
+
- Send a unique Idempotency-Key for every POST.
|
|
310
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
311
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
312
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
313
|
+
|
|
314
|
+
Example body:
|
|
315
|
+
```json
|
|
316
|
+
{
|
|
317
|
+
"maxCostUsd": "0.05",
|
|
318
|
+
"waitForFinishSecs": 60,
|
|
319
|
+
"handles": [
|
|
320
|
+
"nasa"
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
### Scrape X/Twitter Replies
|
|
326
|
+
|
|
327
|
+
Use `POST /v1/scrape/twitter/replies`. Scrape the public reply thread of an X/Twitter post. Requires maxCostUsd of at least 0.20.
|
|
328
|
+
|
|
329
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
330
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
331
|
+
|
|
332
|
+
Safety:
|
|
333
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
334
|
+
- Send a unique Idempotency-Key for every POST.
|
|
335
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
336
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
337
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
338
|
+
|
|
339
|
+
Example body:
|
|
340
|
+
```json
|
|
341
|
+
{
|
|
342
|
+
"maxCostUsd": "0.20",
|
|
343
|
+
"waitForFinishSecs": 60,
|
|
344
|
+
"url": "https://x.com/NASA/status/1234567890123456789",
|
|
345
|
+
"maxItems": 5
|
|
346
|
+
}
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
### Scrape YouTube Transcript
|
|
350
|
+
|
|
351
|
+
Use `POST /v1/scrape/youtube/transcript`. Scrape the transcript of a YouTube video as plain text plus timed segments. Videos without captions return an empty result.
|
|
352
|
+
|
|
353
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
354
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
355
|
+
|
|
356
|
+
Safety:
|
|
357
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
358
|
+
- Send a unique Idempotency-Key for every POST.
|
|
359
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
360
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
361
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
362
|
+
|
|
363
|
+
Example body:
|
|
364
|
+
```json
|
|
365
|
+
{
|
|
366
|
+
"maxCostUsd": "0.05",
|
|
367
|
+
"waitForFinishSecs": 60,
|
|
368
|
+
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
|
|
369
|
+
}
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
### Scrape YouTube Channel
|
|
373
|
+
|
|
374
|
+
Use `POST /v1/scrape/youtube/channel`. Scrape a YouTube channel's stats and recent videos. Each video item includes subscriber and channel totals.
|
|
375
|
+
|
|
376
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
377
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
378
|
+
|
|
379
|
+
Safety:
|
|
380
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
381
|
+
- Send a unique Idempotency-Key for every POST.
|
|
382
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
383
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
384
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
385
|
+
|
|
386
|
+
Example body:
|
|
387
|
+
```json
|
|
388
|
+
{
|
|
389
|
+
"maxCostUsd": "0.30",
|
|
390
|
+
"waitForFinishSecs": 60,
|
|
391
|
+
"channels": [
|
|
392
|
+
"mkbhd"
|
|
393
|
+
],
|
|
394
|
+
"maxItems": 3
|
|
395
|
+
}
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
### Search YouTube
|
|
399
|
+
|
|
400
|
+
Use `POST /v1/scrape/youtube/search`. Search YouTube videos by keyword and return video metadata.
|
|
401
|
+
|
|
402
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
403
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
404
|
+
|
|
405
|
+
Safety:
|
|
406
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
407
|
+
- Send a unique Idempotency-Key for every POST.
|
|
408
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
409
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
410
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
411
|
+
|
|
412
|
+
Example body:
|
|
413
|
+
```json
|
|
414
|
+
{
|
|
415
|
+
"maxCostUsd": "0.10",
|
|
416
|
+
"waitForFinishSecs": 60,
|
|
417
|
+
"query": "ai agents",
|
|
418
|
+
"sort": "views",
|
|
419
|
+
"maxItems": 3
|
|
420
|
+
}
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
### Scrape LinkedIn
|
|
424
|
+
|
|
425
|
+
Use `POST /v1/scrape/linkedin`. Backward-compatible alias for LinkedIn profile scraping.
|
|
426
|
+
|
|
427
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
428
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
429
|
+
|
|
430
|
+
Safety:
|
|
431
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
432
|
+
- Send a unique Idempotency-Key for every POST.
|
|
433
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
434
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
435
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
436
|
+
|
|
437
|
+
Example body:
|
|
438
|
+
```json
|
|
439
|
+
{
|
|
440
|
+
"maxCostUsd": "0.05",
|
|
441
|
+
"waitForFinishSecs": 60,
|
|
442
|
+
"profiles": [
|
|
443
|
+
"williamhgates"
|
|
444
|
+
]
|
|
445
|
+
}
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
### Scrape GitHub
|
|
449
|
+
|
|
450
|
+
Use `POST /v1/scrape/github`. Backward-compatible alias for GitHub profile scraping.
|
|
451
|
+
|
|
452
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
453
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
454
|
+
|
|
455
|
+
Safety:
|
|
456
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
457
|
+
- Send a unique Idempotency-Key for every POST.
|
|
458
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
459
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
460
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
461
|
+
|
|
462
|
+
Example body:
|
|
463
|
+
```json
|
|
464
|
+
{
|
|
465
|
+
"maxCostUsd": "0.03",
|
|
466
|
+
"waitForFinishSecs": 60,
|
|
467
|
+
"usernames": [
|
|
468
|
+
"octocat"
|
|
469
|
+
]
|
|
470
|
+
}
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
### Scrape Twitter
|
|
474
|
+
|
|
475
|
+
Use `POST /v1/scrape/twitter`. Backward-compatible alias for X/Twitter search scraping.
|
|
476
|
+
|
|
477
|
+
Side effects: Starts a scrape run and may debit credits when the run finishes.
|
|
478
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
479
|
+
|
|
480
|
+
Safety:
|
|
481
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
482
|
+
- Send a unique Idempotency-Key for every POST.
|
|
483
|
+
- Set an explicit customer spend cap with maxCostUsd or maxCostMicrousd before starting a scrape.
|
|
484
|
+
- Start with small result caps such as maxItems or capability-specific limits.
|
|
485
|
+
- Poll next.path while status is running and report the final debitMicrousd.
|
|
486
|
+
|
|
487
|
+
Example body:
|
|
488
|
+
```json
|
|
489
|
+
{
|
|
490
|
+
"maxCostUsd": "0.03",
|
|
491
|
+
"waitForFinishSecs": 60,
|
|
492
|
+
"handles": [
|
|
493
|
+
"nasa"
|
|
494
|
+
],
|
|
495
|
+
"maxItems": 1,
|
|
496
|
+
"sort": "latest"
|
|
497
|
+
}
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
### Send Email
|
|
501
|
+
|
|
502
|
+
Use `POST /v1/email/send`. Create an email draft from a workspace email identity; set send=true to send it.
|
|
503
|
+
|
|
504
|
+
Side effects: Creates a draft, or sends an email when direct send is approved.
|
|
505
|
+
Polling: This route returns a terminal envelope directly.
|
|
506
|
+
|
|
507
|
+
Safety:
|
|
508
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
509
|
+
- Send a unique Idempotency-Key for every POST.
|
|
510
|
+
- Keep send=false or mode=draft unless the user explicitly approves sending.
|
|
511
|
+
- Do not pass inboxId or inbox_id; use emailIdentityId or the workspace default.
|
|
512
|
+
- Attachments, hidden HTML, image HTML, URL shorteners, and high-risk direct sends are blocked by policy.
|
|
513
|
+
|
|
514
|
+
Example body:
|
|
515
|
+
```json
|
|
516
|
+
{
|
|
517
|
+
"to": "<email-address>",
|
|
518
|
+
"subject": "Quick hello",
|
|
519
|
+
"text": "Hi, this is a draft from my agent.",
|
|
520
|
+
"send": false
|
|
521
|
+
}
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
### Receive Email
|
|
525
|
+
|
|
526
|
+
Use `GET /v1/email/messages`. Read messages for a workspace email identity.
|
|
527
|
+
|
|
528
|
+
Side effects: Reads messages only.
|
|
529
|
+
Polling: This route returns a terminal envelope directly.
|
|
530
|
+
|
|
531
|
+
Safety:
|
|
532
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
533
|
+
- Do not pass inboxId or inbox_id; use emailIdentityId or the workspace default.
|
|
534
|
+
|
|
535
|
+
### List Drafts
|
|
536
|
+
|
|
537
|
+
Use `GET /v1/email/drafts`. List pending email drafts for a workspace email identity.
|
|
538
|
+
|
|
539
|
+
Side effects: Reads drafts only.
|
|
540
|
+
Polling: This route returns a terminal envelope directly.
|
|
541
|
+
|
|
542
|
+
Safety:
|
|
543
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
544
|
+
- Do not pass inboxId or inbox_id; use emailIdentityId or the workspace default.
|
|
545
|
+
|
|
546
|
+
### Send Draft
|
|
547
|
+
|
|
548
|
+
Use `POST /v1/email/drafts/{draftId}/send`. Approve and send an existing draft by draftId after review.
|
|
549
|
+
|
|
550
|
+
Side effects: Sends the reviewed draft as a real email when direct send is approved.
|
|
551
|
+
Polling: This route returns a terminal envelope directly.
|
|
552
|
+
|
|
553
|
+
Safety:
|
|
554
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
555
|
+
- Send a unique Idempotency-Key for every POST.
|
|
556
|
+
- Only send a draft after the user explicitly approves that draft.
|
|
557
|
+
- Do not pass inboxId or inbox_id; use emailIdentityId or the workspace default.
|
|
558
|
+
- Sending re-checks recipient and content policy against the stored draft; blocked drafts stay drafts.
|
|
559
|
+
|
|
560
|
+
Example body:
|
|
561
|
+
```json
|
|
562
|
+
{}
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
### Deep Research
|
|
566
|
+
|
|
567
|
+
Use `POST /v1/research/deep`. Answer a research question with current web evidence.
|
|
568
|
+
|
|
569
|
+
Side effects: Runs a paid web research request and debits credits when finished.
|
|
570
|
+
Polling: This route returns a terminal envelope directly.
|
|
571
|
+
|
|
572
|
+
Safety:
|
|
573
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
574
|
+
- Send a unique Idempotency-Key for every POST.
|
|
575
|
+
- Use query for the research question and context only for relevant background.
|
|
576
|
+
- Set maxCostUsd when you need a lower or higher spend cap than the default.
|
|
577
|
+
- Report debitMicrousd and summarize the returned sources when sources are present.
|
|
578
|
+
|
|
579
|
+
Example body:
|
|
580
|
+
```json
|
|
581
|
+
{
|
|
582
|
+
"query": "What changed in EU AI Act compliance timelines for API startups?",
|
|
583
|
+
"context": "We sell API tooling to EU customers.",
|
|
584
|
+
"maxCostUsd": "0.10"
|
|
585
|
+
}
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
### Generate Image
|
|
589
|
+
|
|
590
|
+
Use `POST /v1/generate/image`. Generate an image from a text prompt.
|
|
591
|
+
|
|
592
|
+
Side effects: Runs a paid image generation request and debits credits when finished.
|
|
593
|
+
Polling: This route returns a terminal envelope directly.
|
|
594
|
+
|
|
595
|
+
Safety:
|
|
596
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
597
|
+
- Send a unique Idempotency-Key for every POST.
|
|
598
|
+
- Describe the image you want in prompt, including style and composition.
|
|
599
|
+
- Set maxCostUsd when you need a lower or higher spend cap than the default.
|
|
600
|
+
- output.images contains base64 data URLs; save them to files instead of printing them.
|
|
601
|
+
|
|
602
|
+
Example body:
|
|
603
|
+
```json
|
|
604
|
+
{
|
|
605
|
+
"prompt": "A minimal flat illustration of a rocket launching from a laptop screen",
|
|
606
|
+
"maxCostUsd": "0.20"
|
|
607
|
+
}
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
### Web Search
|
|
611
|
+
|
|
612
|
+
Use `POST /v1/search/web`. Search the web and return ranked results with title, url, and snippet.
|
|
613
|
+
|
|
614
|
+
Side effects: Runs a paid web search request and debits credits when finished.
|
|
615
|
+
Polling: This route returns a terminal envelope directly.
|
|
616
|
+
|
|
617
|
+
Safety:
|
|
618
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
619
|
+
- Send a unique Idempotency-Key for every POST.
|
|
620
|
+
- Use query for the search terms only; keep it under 500 characters.
|
|
621
|
+
- Set maxCostUsd when you need a lower or higher spend cap than the default.
|
|
622
|
+
- Treat snippets as page summaries; open a result URL when you need the full content.
|
|
623
|
+
|
|
624
|
+
Example body:
|
|
625
|
+
```json
|
|
626
|
+
{
|
|
627
|
+
"query": "latest stable Node.js LTS version",
|
|
628
|
+
"maxResults": 3,
|
|
629
|
+
"maxCostUsd": "0.05"
|
|
630
|
+
}
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
### Request Status
|
|
634
|
+
|
|
635
|
+
Use `GET /v1/requests/{requestId}`. Poll a running request by requestId.
|
|
636
|
+
|
|
637
|
+
Side effects: Reads or refreshes request status.
|
|
638
|
+
Polling: If status is running, wait next.afterSecs and call next.method next.path until status is succeeded or failed.
|
|
639
|
+
|
|
640
|
+
Safety:
|
|
641
|
+
- Send Authorization: Bearer $DEEPAPI_API_KEY and never expose the key.
|
|
642
|
+
- Only poll request ids created by the same API key.
|
|
643
|
+
|
|
644
|
+
Example query: `waitForFinishSecs=60`
|
|
645
|
+
|
|
646
|
+
## Limitations
|
|
647
|
+
|
|
648
|
+
- Adapted from `davidondrej/skills`; verify local paths, tools, credentials, and agent features before acting.
|
|
649
|
+
- For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
|