-
Notifications
You must be signed in to change notification settings - Fork 1
Develop #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop #93
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,16 +9,18 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## System | ||
|
|
||
| <details><summary>System (2 endpoints)</summary> | ||
| <details> | ||
| <summary>System (2 endpoints)</summary> | ||
|
|
||
| - **GET** `/health` - Health check endpoint (no params | 200: healthy) | ||
| - **GET** `/api` - Get API status (no params | 200: success) | ||
|
|
||
| </details> | ||
| </details> | ||
|
||
|
|
||
| ## AI SDK | ||
|
|
||
| <details><summary>AI SDK (3 endpoints)</summary> | ||
| <details> | ||
| <summary>AI SDK (3 endpoints)</summary> | ||
|
|
||
| - **POST** `/chat/{agentId}` - Chat with agent, stream AI SDK (path: agentId; | ||
| body: messages[] | 200: stream, 400: invalid input, 404: agent not found) | ||
|
|
@@ -27,11 +29,12 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
| - **POST** `/network/{agentId}` - Execute network, stream AI SDK (path: agentId; | ||
| body: messages[], runtimeContext, maxSteps | 200: stream, 404: not found) | ||
|
|
||
| </details> | ||
| </details> | ||
|
|
||
| ## Agents | ||
|
|
||
| <details><summary>Agents (35 endpoints)</summary> | ||
| <details> | ||
| <summary>Agents (35 endpoints)</summary> | ||
|
|
||
| - **GET** `/.well-known/{agentId}/agent-card.json` - Get agent config | ||
| (path: agentId | 200: config) | ||
|
|
@@ -99,7 +102,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## MCP | ||
|
|
||
| <details><summary>MCP (9 endpoints)</summary> | ||
| <details> | ||
| <summary>MCP (9 endpoints)</summary> | ||
|
|
||
| - **POST** `/api/mcp/{serverId}/mcp` - MCP Streamable HTTP (path: serverId; | ||
| body: {} | 200: processed, 404: not found) | ||
|
|
@@ -121,7 +125,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## Network Memory | ||
|
|
||
| <details><summary>Network Memory (9 endpoints)</summary> | ||
| <details> | ||
| <summary>Network Memory (9 endpoints)</summary> | ||
|
|
||
| - **GET** `/api/memory/network/status` - Network memory status (query: networkId | | ||
| 200: status) | ||
|
|
@@ -146,7 +151,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## Memory | ||
|
|
||
| <details><summary>Memory (12 endpoints)</summary> | ||
| <details> | ||
| <summary>Memory (12 endpoints)</summary> | ||
|
|
||
| - **GET** `/api/memory/status` - Memory status | ||
| - **GET** `/api/memory/config` - Memory config (query: agentId | 200: config) | ||
|
|
@@ -173,7 +179,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## Telemetry | ||
|
|
||
| <details><summary>Telemetry (2 endpoints)</summary> | ||
| <details> | ||
| <summary>Telemetry (2 endpoints)</summary> | ||
|
|
||
| - **GET** `/api/telemetry` - Get telemetry | ||
| - **POST** `/api/telemetry` - Post telemetry | ||
|
|
@@ -182,7 +189,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## Observability | ||
|
|
||
| <details><summary>Observability (3 endpoints)</summary> | ||
| <details> | ||
| <summary>Observability (3 endpoints)</summary> | ||
|
|
||
| - **GET** `/api/observability/traces` - List traces | ||
| - **GET** `/api/observability/traces/{traceId}` - Get trace | ||
|
|
@@ -192,7 +200,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## Scores | ||
|
|
||
| <details><summary>Scores (7 endpoints)</summary> | ||
| <details> | ||
| <summary>Scores (7 endpoints)</summary> | ||
|
|
||
| - **GET** `/api/observability/traces/{traceId}/{spanId}/scores` - Span scores | ||
| - **GET** `/api/scores/scorers` - List scorers | ||
|
|
@@ -206,7 +215,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## Legacy Workflows | ||
|
|
||
| <details><summary>Legacy Workflows (10 endpoints)</summary> | ||
| <details> | ||
| <summary>Legacy Workflows (10 endpoints)</summary> | ||
|
|
||
| - **GET** `/api/workflows/legacy` - List legacy | ||
| - **GET** `/api/workflows/legacy/{workflowId}` - Get legacy | ||
|
|
@@ -222,7 +232,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## Workflows | ||
|
|
||
| <details><summary>Workflows (18 endpoints)</summary> | ||
| <details> | ||
| <summary>Workflows (18 endpoints)</summary> | ||
|
|
||
| - **GET** `/api/workflows` - List workflows | ||
| - **GET** `/api/workflows/{workflowId}` - Get workflow | ||
|
|
@@ -249,7 +260,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## Logs | ||
|
|
||
| <details><summary>Logs (3 endpoints)</summary> | ||
| <details> | ||
| <summary>Logs (3 endpoints)</summary> | ||
|
|
||
| - **GET** `/api/logs` - List logs | ||
| - **GET** `/api/logs/transports` - List transports | ||
|
|
@@ -259,7 +271,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## Agent Builder | ||
|
|
||
| <details><summary>Agent Builder (13 endpoints)</summary> | ||
| <details> | ||
| <summary>Agent Builder (13 endpoints)</summary> | ||
|
|
||
| - **GET** `/api/agent-builder` - List builders | ||
| - **GET** `/api/agent-builder/{actionId}` - Get action | ||
|
|
@@ -281,7 +294,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## Tools | ||
|
|
||
| <details><summary>Tools (3 endpoints)</summary> | ||
| <details> | ||
| <summary>Tools (3 endpoints)</summary> | ||
|
|
||
| - **GET** `/api/tools` - List tools | ||
| - **GET** `/api/tools/{toolId}` - Get tool | ||
|
|
@@ -291,7 +305,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut | |
|
|
||
| ## Vector | ||
|
|
||
| <details><summary>Vector (6 endpoints)</summary> | ||
| <details> | ||
| <summary>Vector (6 endpoints)</summary> | ||
|
|
||
| - **POST** `/api/vector/{vectorName}/upsert` - Upsert vectors | ||
| - **POST** `/api/vector/{vectorName}/create-index` - Create index | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,10 +7,10 @@ import { | |||||
| DownloadIcon, | ||||||
| CodeIcon, | ||||||
| ExternalLinkIcon, | ||||||
| LayoutHorizontalIcon, | ||||||
| LayoutVerticalIcon, | ||||||
| LayoutPanelLeftIcon, | ||||||
| LayoutPanelTopIcon, | ||||||
| LayoutGridIcon, | ||||||
| } from 'lucide-react' | ||||||
| } from 'lucide-react' | ||||||
|
||||||
| } from 'lucide-react' | |
| } from 'lucide-react' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| /* eslint-disable */ | ||
| /** | ||
| * Generated `api` utility. | ||
| * | ||
| * THIS CODE IS AUTOMATICALLY GENERATED. | ||
| * | ||
| * To regenerate, run `npx convex dev`. | ||
| * @module | ||
| */ | ||
|
|
||
| import type { AnyApi, AnyComponents } from "convex/server"; | ||
|
|
||
| export declare const api: AnyApi; | ||
| export declare const internal: AnyApi; | ||
| export declare const components: AnyComponents; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| /* eslint-disable */ | ||
| /** | ||
| * Generated `api` utility. | ||
| * | ||
| * THIS CODE IS AUTOMATICALLY GENERATED. | ||
| * | ||
| * To regenerate, run `npx convex dev`. | ||
| * @module | ||
| */ | ||
|
|
||
| import { anyApi, componentsGeneric } from "convex/server"; | ||
|
|
||
| /** | ||
| * A utility for referencing Convex functions in your app's API. | ||
| * | ||
| * Usage: | ||
| * ```js | ||
| * const myFunctionReference = api.myModule.myFunction; | ||
| * ``` | ||
| */ | ||
| export const api = anyApi; | ||
| export const internal = anyApi; | ||
| export const components = componentsGeneric(); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| /* eslint-disable */ | ||
| /** | ||
| * Generated data model types. | ||
| * | ||
| * THIS CODE IS AUTOMATICALLY GENERATED. | ||
| * | ||
| * To regenerate, run `npx convex dev`. | ||
| * @module | ||
| */ | ||
|
|
||
| import type { | ||
| DataModelFromSchemaDefinition, | ||
| DocumentByName, | ||
| TableNamesInDataModel, | ||
| SystemTableNames, | ||
| } from "convex/server"; | ||
| import type { GenericId } from "convex/values"; | ||
| import schema from "../schema.js"; | ||
|
|
||
| /** | ||
| * The names of all of your Convex tables. | ||
| */ | ||
| export type TableNames = TableNamesInDataModel<DataModel>; | ||
|
|
||
| /** | ||
| * The type of a document stored in Convex. | ||
| * | ||
| * @typeParam TableName - A string literal type of the table name (like "users"). | ||
| */ | ||
| export type Doc<TableName extends TableNames> = DocumentByName< | ||
| DataModel, | ||
| TableName | ||
| >; | ||
|
|
||
| /** | ||
| * An identifier for a document in Convex. | ||
| * | ||
| * Convex documents are uniquely identified by their `Id`, which is accessible | ||
| * on the `_id` field. To learn more, see [Document IDs](https://docs.convex.dev/using/document-ids). | ||
| * | ||
| * Documents can be loaded using `db.get(tableName, id)` in query and mutation functions. | ||
| * | ||
| * IDs are just strings at runtime, but this type can be used to distinguish them from other | ||
| * strings when type checking. | ||
| * | ||
| * @typeParam TableName - A string literal type of the table name (like "users"). | ||
| */ | ||
| export type Id<TableName extends TableNames | SystemTableNames> = | ||
| GenericId<TableName>; | ||
|
|
||
| /** | ||
| * A type describing your Convex data model. | ||
| * | ||
| * This type includes information about what tables you have, the type of | ||
| * documents stored in those tables, and the indexes defined on them. | ||
| * | ||
| * This type is used to parameterize methods like `queryGeneric` and | ||
| * `mutationGeneric` to make them type-safe. | ||
| */ | ||
| export type DataModel = DataModelFromSchemaDefinition<typeof schema>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are trailing spaces on several
</details>tags (e.g., lines 18, 32). While they may not affect rendering, it's best practice to remove them to keep the markdown source clean.