|
61 | 61 | "source": "curl \\\n \"https://www.sim.ai/api/v2/mcp-servers?workspaceId=YOUR_WORKSPACE_ID\" \\\n -H \"X-API-Key: YOUR_API_KEY\"" |
62 | 62 | } |
63 | 63 | ], |
64 | | - "parameters": [{ "$ref": "#/components/parameters/WorkspaceIdQuery" }], |
| 64 | + "parameters": [ |
| 65 | + { "$ref": "#/components/parameters/WorkspaceIdQuery" }, |
| 66 | + { |
| 67 | + "name": "search", |
| 68 | + "in": "query", |
| 69 | + "required": false, |
| 70 | + "description": "Case-insensitive substring match against the MCP server `name`. Matches nothing else — not ids, descriptions, or content. `%` and `_` are matched literally. Must be non-empty; omit the parameter instead of sending a blank one.", |
| 71 | + "schema": { "type": "string", "minLength": 1, "maxLength": 200 } |
| 72 | + }, |
| 73 | + { |
| 74 | + "name": "sortBy", |
| 75 | + "in": "query", |
| 76 | + "required": false, |
| 77 | + "description": "Field to sort by.", |
| 78 | + "schema": { |
| 79 | + "type": "string", |
| 80 | + "enum": ["name", "createdAt", "updatedAt"], |
| 81 | + "default": "createdAt" |
| 82 | + } |
| 83 | + }, |
| 84 | + { |
| 85 | + "name": "sortOrder", |
| 86 | + "in": "query", |
| 87 | + "required": false, |
| 88 | + "description": "Sort direction.", |
| 89 | + "schema": { "type": "string", "enum": ["asc", "desc"], "default": "desc" } |
| 90 | + } |
| 91 | + ], |
65 | 92 | "responses": { |
66 | 93 | "200": { |
67 | 94 | "description": "MCP servers registered in the workspace.", |
|
405 | 432 | "source": "curl \\\n \"https://www.sim.ai/api/v2/skills?workspaceId=YOUR_WORKSPACE_ID\" \\\n -H \"X-API-Key: YOUR_API_KEY\"" |
406 | 433 | } |
407 | 434 | ], |
408 | | - "parameters": [{ "$ref": "#/components/parameters/WorkspaceIdQuery" }], |
| 435 | + "parameters": [ |
| 436 | + { "$ref": "#/components/parameters/WorkspaceIdQuery" }, |
| 437 | + { |
| 438 | + "name": "search", |
| 439 | + "in": "query", |
| 440 | + "required": false, |
| 441 | + "description": "Case-insensitive substring match against the skill `name`. Matches nothing else — not ids, descriptions, or content. `%` and `_` are matched literally. Must be non-empty; omit the parameter instead of sending a blank one.", |
| 442 | + "schema": { "type": "string", "minLength": 1, "maxLength": 200 } |
| 443 | + }, |
| 444 | + { |
| 445 | + "name": "sortBy", |
| 446 | + "in": "query", |
| 447 | + "required": false, |
| 448 | + "description": "Field to sort by. Built-in skills have no stored timestamps and sort as if created at the Unix epoch.", |
| 449 | + "schema": { |
| 450 | + "type": "string", |
| 451 | + "enum": ["name", "createdAt", "updatedAt"], |
| 452 | + "default": "createdAt" |
| 453 | + } |
| 454 | + }, |
| 455 | + { |
| 456 | + "name": "sortOrder", |
| 457 | + "in": "query", |
| 458 | + "required": false, |
| 459 | + "description": "Sort direction.", |
| 460 | + "schema": { "type": "string", "enum": ["asc", "desc"], "default": "desc" } |
| 461 | + } |
| 462 | + ], |
409 | 463 | "responses": { |
410 | 464 | "200": { |
411 | 465 | "description": "Skills available in the workspace.", |
|
706 | 760 | "source": "curl \\\n \"https://www.sim.ai/api/v2/custom-tools?workspaceId=YOUR_WORKSPACE_ID\" \\\n -H \"X-API-Key: YOUR_API_KEY\"" |
707 | 761 | } |
708 | 762 | ], |
709 | | - "parameters": [{ "$ref": "#/components/parameters/WorkspaceIdQuery" }], |
| 763 | + "parameters": [ |
| 764 | + { "$ref": "#/components/parameters/WorkspaceIdQuery" }, |
| 765 | + { |
| 766 | + "name": "search", |
| 767 | + "in": "query", |
| 768 | + "required": false, |
| 769 | + "description": "Case-insensitive substring match against the custom tool `title`. Matches nothing else — not ids, descriptions, or content. `%` and `_` are matched literally. Must be non-empty; omit the parameter instead of sending a blank one.", |
| 770 | + "schema": { "type": "string", "minLength": 1, "maxLength": 200 } |
| 771 | + }, |
| 772 | + { |
| 773 | + "name": "sortBy", |
| 774 | + "in": "query", |
| 775 | + "required": false, |
| 776 | + "description": "Field to sort by.", |
| 777 | + "schema": { |
| 778 | + "type": "string", |
| 779 | + "enum": ["title", "createdAt", "updatedAt"], |
| 780 | + "default": "createdAt" |
| 781 | + } |
| 782 | + }, |
| 783 | + { |
| 784 | + "name": "sortOrder", |
| 785 | + "in": "query", |
| 786 | + "required": false, |
| 787 | + "description": "Sort direction.", |
| 788 | + "schema": { "type": "string", "enum": ["asc", "desc"], "default": "desc" } |
| 789 | + } |
| 790 | + ], |
710 | 791 | "responses": { |
711 | 792 | "200": { |
712 | 793 | "description": "Custom tools defined in the workspace.", |
|
1057 | 1138 | "required": false, |
1058 | 1139 | "description": "`active` (default) lists live folders; `archived` lists Recently Deleted.", |
1059 | 1140 | "schema": { "type": "string", "enum": ["active", "archived"], "default": "active" } |
| 1141 | + }, |
| 1142 | + { |
| 1143 | + "name": "search", |
| 1144 | + "in": "query", |
| 1145 | + "required": false, |
| 1146 | + "description": "Case-insensitive substring match against the folder `name`. Matches nothing else — not ids, descriptions, or content. `%` and `_` are matched literally. Must be non-empty; omit the parameter instead of sending a blank one.", |
| 1147 | + "schema": { "type": "string", "minLength": 1, "maxLength": 200 } |
| 1148 | + }, |
| 1149 | + { |
| 1150 | + "name": "sortBy", |
| 1151 | + "in": "query", |
| 1152 | + "required": false, |
| 1153 | + "description": "Field to sort by. `position` is the tree's own manual arrangement, which is the default order.", |
| 1154 | + "schema": { |
| 1155 | + "type": "string", |
| 1156 | + "enum": ["position", "name", "createdAt", "updatedAt"], |
| 1157 | + "default": "position" |
| 1158 | + } |
| 1159 | + }, |
| 1160 | + { |
| 1161 | + "name": "sortOrder", |
| 1162 | + "in": "query", |
| 1163 | + "required": false, |
| 1164 | + "description": "Sort direction.", |
| 1165 | + "schema": { "type": "string", "enum": ["asc", "desc"], "default": "asc" } |
1060 | 1166 | } |
1061 | 1167 | ], |
1062 | 1168 | "responses": { |
|
1407 | 1513 | "required": false, |
1408 | 1514 | "description": "Only return credentials for this integration.", |
1409 | 1515 | "schema": { "type": "string", "minLength": 1, "example": "slack" } |
| 1516 | + }, |
| 1517 | + { |
| 1518 | + "name": "search", |
| 1519 | + "in": "query", |
| 1520 | + "required": false, |
| 1521 | + "description": "Case-insensitive substring match against the credential `displayName`. Matches nothing else — not ids, descriptions, or content. `%` and `_` are matched literally. Must be non-empty; omit the parameter instead of sending a blank one.", |
| 1522 | + "schema": { "type": "string", "minLength": 1, "maxLength": 200 } |
| 1523 | + }, |
| 1524 | + { |
| 1525 | + "name": "sortBy", |
| 1526 | + "in": "query", |
| 1527 | + "required": false, |
| 1528 | + "description": "Field to sort by.", |
| 1529 | + "schema": { |
| 1530 | + "type": "string", |
| 1531 | + "enum": ["displayName", "createdAt", "updatedAt"], |
| 1532 | + "default": "createdAt" |
| 1533 | + } |
| 1534 | + }, |
| 1535 | + { |
| 1536 | + "name": "sortOrder", |
| 1537 | + "in": "query", |
| 1538 | + "required": false, |
| 1539 | + "description": "Sort direction.", |
| 1540 | + "schema": { "type": "string", "enum": ["asc", "desc"], "default": "desc" } |
1410 | 1541 | } |
1411 | 1542 | ], |
1412 | 1543 | "responses": { |
|
0 commit comments