Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
98c8567
improvement(external-endpoints): v2 versions with clean signatures + …
icecrasher321 Jun 29, 2026
3e8141c
Merge origin/staging: align table v2 surface with the v2 endpoint sta…
TheodoreSpeaks Jul 30, 2026
65dc7e8
feat(usage): accept X-API-Key on usage-logs list + export
TheodoreSpeaks Jul 30, 2026
3a3ceb5
feat(billing): dedicated v2 usage endpoints; keep internal usage rout…
TheodoreSpeaks Jul 30, 2026
d8021bf
feat(docs): validate OpenAPI specs against the Zod contracts in CI
TheodoreSpeaks Jul 30, 2026
9ee4099
fix(docs): recursive field diff in check:openapi + the deep drift it …
TheodoreSpeaks Jul 30, 2026
f6c9cdb
fix(security): close the triggerType rate-limit bypass on workflow ex…
TheodoreSpeaks Jul 31, 2026
51b0cf1
refactor(execution): extract enqueue/status/cancel into shared libs
TheodoreSpeaks Jul 31, 2026
4320fed
feat(execution): callable execution service + structured error classi…
TheodoreSpeaks Jul 31, 2026
9c36400
feat(api): POST /api/v2/workflows/[id]/execute
TheodoreSpeaks Jul 31, 2026
3387ee7
feat(api): v2 executions status + cancel with queued backfill
TheodoreSpeaks Jul 31, 2026
c411f6e
feat(execution): workflow tool + MCP bridge run in-process
TheodoreSpeaks Jul 31, 2026
63fcfe2
feat(infra): CORS + CSP coverage for the v2 execute path
TheodoreSpeaks Jul 31, 2026
272de32
feat(ui): deploy modal + copilot advertise the v2 execute surface
TheodoreSpeaks Jul 31, 2026
35d306d
docs(api): document the v2 execution surface
TheodoreSpeaks Jul 31, 2026
53ea6a8
feat(api): gate the whole /api/v2 surface behind one flag; UI stays o…
TheodoreSpeaks Jul 31, 2026
528b52d
Merge origin/staging into improvement/v2-endpoints
TheodoreSpeaks Jul 31, 2026
fbc7b17
fix(executor): restore child-cost aggregation dropped by the staging …
TheodoreSpeaks Jul 31, 2026
5fea5f7
refactor(tables): make lib/table/orchestration the single implementat…
TheodoreSpeaks Aug 1, 2026
eddd53a
feat(api): add v2 endpoints for MCP servers, skills, custom tools, fo…
TheodoreSpeaks Aug 1, 2026
ab6684f
fix(contracts): anchor the predicate double-cast annotation to the cast
TheodoreSpeaks Aug 1, 2026
96c5575
Merge v2-api-spec into improvement/v2-endpoints
TheodoreSpeaks Aug 1, 2026
29b64c6
fix(skills): point the orchestration error contract at its moved module
TheodoreSpeaks Aug 1, 2026
45c7d05
Merge remote-tracking branch 'origin/main' into improvement/v2-endpoints
TheodoreSpeaks Aug 1, 2026
edd9a06
refactor(knowledge): make lib/knowledge/orchestration the single impl…
TheodoreSpeaks Aug 1, 2026
5df4c75
feat(api): expand the public v2 files surface (#6160)
TheodoreSpeaks Aug 1, 2026
2d8350e
feat(api): add search, filtering, and sorting to the v2 list endpoint…
TheodoreSpeaks Aug 2, 2026
ca1dad8
feat(api): complete the v2 workflows resource with versions and CRUD …
TheodoreSpeaks Aug 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ jobs:
- name: API contract boundary audit
run: bun run check:api-validation:strict

- name: OpenAPI spec validation
run: bun run check:openapi

- name: Desktop bridge contract audit
run: bun run check:desktop-bridge

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ This returns immediately with a `jobId` and `statusUrl`:
}
```

Poll the [Get Job Status](/api-reference/workflows/getJobStatus) endpoint until the status is `completed` or `failed`:
Poll the [Get Job Status](/api-reference/execution/getJobStatus) endpoint until the status is `completed` or `failed`:

```bash
curl https://www.sim.ai/api/jobs/{jobId} \
Expand Down
14 changes: 12 additions & 2 deletions apps/docs/content/docs/de/api-reference/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"title": "API Reference",
"root": true,
"pages": [
"---Getting Started---",
"getting-started",
"authentication",
"---SDKs---",
Expand All @@ -10,9 +11,18 @@
"---Endpoints---",
"(generated)/workflows",
"(generated)/logs",
"(generated)/usage",
"(generated)/audit-logs",
"(generated)/tables",
"(generated)/files"
"(generated)/files",
"(generated)/knowledge-bases",
"(generated)/mcp-servers",
"(generated)/skills",
"(generated)/custom-tools",
"(generated)/folders",
"(generated)/credentials",
"---Execution and Usage---",
"(generated)/execution",
"(generated)/human-in-the-loop",
"(generated)/usage"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"pages": ["executeWorkflow", "getWorkflowExecution", "cancelExecution", "getJobStatus"]
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"pages": [
"executeWorkflow",
"getWorkflowExecution",
"cancelExecution",
"listWorkflows",
"getWorkflow",
"exportWorkflow",
"importWorkflow",
"deployWorkflow",
"undeployWorkflow",
"rollbackWorkflow",
"getJobStatus"
"executeWorkflowV2",
"getWorkflowExecutionV2",
"cancelExecutionV2"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ This returns immediately with a `jobId` and `statusUrl`:
}
```

Poll the [Get Job Status](/api-reference/workflows/getJobStatus) endpoint until the status is `completed` or `failed`:
Poll the [Get Job Status](/api-reference/execution/getJobStatus) endpoint until the status is `completed` or `failed`:

```bash
curl https://www.sim.ai/api/jobs/{jobId} \
Expand Down
13 changes: 10 additions & 3 deletions apps/docs/content/docs/en/api-reference/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,19 @@
"typescript",
"---Endpoints---",
"(generated)/workflows",
"(generated)/human-in-the-loop",
"(generated)/logs",
"(generated)/usage",
"(generated)/audit-logs",
"(generated)/tables",
"(generated)/files",
"(generated)/knowledge-bases"
"(generated)/knowledge-bases",
"(generated)/mcp-servers",
"(generated)/skills",
"(generated)/custom-tools",
"(generated)/folders",
"(generated)/credentials",
"---Execution and Usage---",
"(generated)/execution",
"(generated)/human-in-the-loop",
"(generated)/usage"
]
}
13 changes: 10 additions & 3 deletions apps/docs/content/docs/en/platform/enterprise/audit-logs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Audit logs are also accessible through the Sim API for integration with external

```http
GET /api/v1/audit-logs
Authorization: Bearer <api-key>
X-API-Key: <api-key>
```

**Query parameters:**
Expand Down Expand Up @@ -71,11 +71,18 @@ Authorization: Bearer <api-key>
"createdAt": "2026-04-20T21:16:00.000Z"
}
],
"nextCursor": "eyJpZCI6ImFiYzEyMyJ9"
"nextCursor": "eyJpZCI6ImFiYzEyMyJ9",
"limits": {
"workflowExecutionRateLimit": {
"sync": { "requestsPerMinute": 60, "maxBurst": 10, "remaining": 59, "resetAt": "2026-04-20T21:17:00.000Z" },
"async": { "requestsPerMinute": 30, "maxBurst": 5, "remaining": 30, "resetAt": "2026-04-20T21:17:00.000Z" }
},
"usage": { "currentPeriodCost": 1.25, "limit": 50, "plan": "enterprise", "isExceeded": false }
}
}
```

Paginate by passing the `nextCursor` value as the `cursor` parameter in the next request. When `nextCursor` is absent, you have reached the last page.
Paginate by passing the `nextCursor` value as the `cursor` parameter in the next request. When `nextCursor` is absent, you have reached the last page. Each entry also includes `actorName`; `metadata` is an arbitrary per-action JSON object. The `limits` object reports your current rate-limit and usage status.

The API accepts both personal and workspace-scoped API keys. Rate limits apply — the response includes `X-RateLimit-*` headers with your current limit and remaining quota.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ This returns immediately with a `jobId` and `statusUrl`:
}
```

Poll the [Get Job Status](/api-reference/workflows/getJobStatus) endpoint until the status is `completed` or `failed`:
Poll the [Get Job Status](/api-reference/execution/getJobStatus) endpoint until the status is `completed` or `failed`:

```bash
curl https://www.sim.ai/api/jobs/{jobId} \
Expand Down
16 changes: 14 additions & 2 deletions apps/docs/content/docs/es/api-reference/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"title": "API Reference",
"root": true,
"pages": [
"---Getting Started---",
"getting-started",
"authentication",
"---SDKs---",
Expand All @@ -10,7 +11,18 @@
"---Endpoints---",
"(generated)/workflows",
"(generated)/logs",
"(generated)/usage",
"(generated)/audit-logs"
"(generated)/audit-logs",
"(generated)/tables",
"(generated)/files",
"(generated)/knowledge-bases",
"(generated)/mcp-servers",
"(generated)/skills",
"(generated)/custom-tools",
"(generated)/folders",
"(generated)/credentials",
"---Execution and Usage---",
"(generated)/execution",
"(generated)/human-in-the-loop",
"(generated)/usage"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ This returns immediately with a `jobId` and `statusUrl`:
}
```

Poll the [Get Job Status](/api-reference/workflows/getJobStatus) endpoint until the status is `completed` or `failed`:
Poll the [Get Job Status](/api-reference/execution/getJobStatus) endpoint until the status is `completed` or `failed`:

```bash
curl https://www.sim.ai/api/jobs/{jobId} \
Expand Down
16 changes: 14 additions & 2 deletions apps/docs/content/docs/fr/api-reference/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"title": "API Reference",
"root": true,
"pages": [
"---Getting Started---",
"getting-started",
"authentication",
"---SDKs---",
Expand All @@ -10,7 +11,18 @@
"---Endpoints---",
"(generated)/workflows",
"(generated)/logs",
"(generated)/usage",
"(generated)/audit-logs"
"(generated)/audit-logs",
"(generated)/tables",
"(generated)/files",
"(generated)/knowledge-bases",
"(generated)/mcp-servers",
"(generated)/skills",
"(generated)/custom-tools",
"(generated)/folders",
"(generated)/credentials",
"---Execution and Usage---",
"(generated)/execution",
"(generated)/human-in-the-loop",
"(generated)/usage"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ This returns immediately with a `jobId` and `statusUrl`:
}
```

Poll the [Get Job Status](/api-reference/workflows/getJobStatus) endpoint until the status is `completed` or `failed`:
Poll the [Get Job Status](/api-reference/execution/getJobStatus) endpoint until the status is `completed` or `failed`:

```bash
curl https://www.sim.ai/api/jobs/{jobId} \
Expand Down
16 changes: 14 additions & 2 deletions apps/docs/content/docs/ja/api-reference/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"title": "API Reference",
"root": true,
"pages": [
"---Getting Started---",
"getting-started",
"authentication",
"---SDKs---",
Expand All @@ -10,7 +11,18 @@
"---Endpoints---",
"(generated)/workflows",
"(generated)/logs",
"(generated)/usage",
"(generated)/audit-logs"
"(generated)/audit-logs",
"(generated)/tables",
"(generated)/files",
"(generated)/knowledge-bases",
"(generated)/mcp-servers",
"(generated)/skills",
"(generated)/custom-tools",
"(generated)/folders",
"(generated)/credentials",
"---Execution and Usage---",
"(generated)/execution",
"(generated)/human-in-the-loop",
"(generated)/usage"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ This returns immediately with a `jobId` and `statusUrl`:
}
```

Poll the [Get Job Status](/api-reference/workflows/getJobStatus) endpoint until the status is `completed` or `failed`:
Poll the [Get Job Status](/api-reference/execution/getJobStatus) endpoint until the status is `completed` or `failed`:

```bash
curl https://www.sim.ai/api/jobs/{jobId} \
Expand Down
16 changes: 14 additions & 2 deletions apps/docs/content/docs/zh/api-reference/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"title": "API Reference",
"root": true,
"pages": [
"---Getting Started---",
"getting-started",
"authentication",
"---SDKs---",
Expand All @@ -10,7 +11,18 @@
"---Endpoints---",
"(generated)/workflows",
"(generated)/logs",
"(generated)/usage",
"(generated)/audit-logs"
"(generated)/audit-logs",
"(generated)/tables",
"(generated)/files",
"(generated)/knowledge-bases",
"(generated)/mcp-servers",
"(generated)/skills",
"(generated)/custom-tools",
"(generated)/folders",
"(generated)/credentials",
"---Execution and Usage---",
"(generated)/execution",
"(generated)/human-in-the-loop",
"(generated)/usage"
]
}
Loading
Loading