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
4 changes: 2 additions & 2 deletions api-reference/chat/workflow.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
title: 'Stream Chat (Workflow + Sandbox)'
openapi: 'POST /api/chat/workflow'
title: 'Stream Chat'
openapi: 'POST /api/chat'
---
2 changes: 1 addition & 1 deletion api-reference/openapi/research.json
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@
}
}
},
"/api/chat/workflow": {
"/api/chat": {
"post": {
"summary": "Stream sandbox-driven chat (Vercel Workflow)",
"description": "Streams an agent loop running as a durable [Vercel Workflow](https://vercel.com/docs/workflow) against the session's sandbox. The agent uses sandbox-only tools (`bash`, `read`, `write`, `grep`, `glob`, `todo`, `task`, `ask_user_question`, `skill`, `fetch`) — no MCP or Composio. Requires a sandbox provisioned via [POST /api/sandbox](/api-reference/sandbox/create).",
Expand Down
4 changes: 2 additions & 2 deletions credits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Some Recoup endpoints are billed in **credits** — primarily endpoints that hit
|--------|---------|-------|
| **Research** ([`/api/research/*`](/api-reference/research/search)) | Yes | Each successful call deducts credits. Costs vary by endpoint and parameters (e.g. [`enrich`](/api-reference/research/enrich) charges by processor tier; [`extract`](/api-reference/research/extract) charges by URL count). |
| **Content generation** ([`/api/image/generate`](/api-reference/image/generation)) | Yes | Image generation is priced per call. |
| **AI Chat — streaming** ([`POST /api/chat/workflow`](/api-reference/chat/workflow)) | Yes | Variable cost based on model token usage, with a per-request minimum. |
| **AI Chat — streaming** ([`POST /api/chat`](/api-reference/chat/workflow)) | Yes | Variable cost based on model token usage, with a per-request minimum. |
| **Everything else** | Free at the API layer | [Artist CRUD](/api-reference/artists/list), [sandboxes](/api-reference/sandboxes/list), [sessions](/api-reference/sessions/get), [scheduled tasks](/api-reference/tasks/get), [social integrations](/api-reference/social/scrape), [account/org management](/api-reference/accounts/id), [agent signup](/api-reference/agents/signup), [Spotify proxies](/api-reference/spotify/search), etc. Subscription gating may still apply. |

Failed calls (4xx / 5xx) do **not** deduct credits. Deduction happens only after the upstream call succeeds.
Expand Down Expand Up @@ -175,7 +175,7 @@ Current as of this revision of the page. The authoritative source is the per-end

| Endpoint | Cost |
|----------|------|
| [`POST /api/chat/workflow`](/api-reference/chat/workflow) (streaming) | ≥1 credit per turn — variable based on model token usage |
| [`POST /api/chat`](/api-reference/chat/workflow) (streaming) | ≥1 credit per turn — variable based on model token usage |
| [`GET /api/research/*`](/api-reference/research/search) (artist & non-artist research) | 5 credits per call |
| [`POST /api/research/people`](/api-reference/research/people) | 5 credits per call |
| [`POST /api/research/web`](/api-reference/research/web) | 5 credits per call |
Expand Down