Elffuss BraidHub

kikocis/continue public

99fe51849b68 · 4.6 KiBRawPermalink
1openapi: 3.0.0
2info:
3 title: Continue Hub IDE API
4 description: |
5 API for Continue IDE to fetch assistants and other related information.
6 These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.
7 version: 1.0.0
8 contact:
9 name: Continue Dev Team
10 url: https://continue.dev
11servers:
12 - url: https://api.continue.dev
13 description: Production server
14 - url: http://localhost:3001
15 description: Local development server
16paths:
17 /ide/list-assistants:
18 get:
19 summary: List assistants for IDE
20 description: |
21 Returns a complete list of assistants available to the user, with their full configurations,
22 icons, and other metadata needed by the IDE to display and use them.
23
24 This endpoint performs a full refresh of the list of assistants, including unrolling
25 configurations and resolving secrets.
26 operationId: listAssistants
27 parameters:
28 - name: alwaysUseProxy
29 in: query
30 description: Whether to always use the Continue-managed proxy for model requests
31 required: false
32 schema:
33 type: string
34 enum: ["true", "false"]
35 - name: organizationId
36 in: query
37 description: ID of the organization to scope assistants to. If not provided, personal assistants are returned.
38 required: false
39 schema:
40 type: string
41 security:
42 - apiKeyAuth: []
43 responses:
44 "200":
45 description: Successfully retrieved assistants
46 content:
47 application/json:
48 schema:
49 type: array
50 items:
51 type: object
52 required:
53 - configResult
54 - ownerSlug
55 - packageSlug
56 properties:
57 configResult:
58 type: object
59 required:
60 - config
61 - configLoadInterrupted
62 properties:
63 config:
64 type: object
65 description: The unrolled assistant configuration
66 nullable: true
67 configLoadInterrupted:
68 type: boolean
69 description: Whether the configuration loading was interrupted
70 errors:
71 type: array
72 items:
73 type: string
74 nullable: true
75 description: Any errors that occurred during configuration loading
76 ownerSlug:
77 type: string
78 description: Slug of the user or organization that owns the assistant
79 packageSlug:
80 type: string
81 description: Slug of the assistant package
82 iconUrl:
83 type: string
84 nullable: true
85 description: Pre-signed URL for the assistant's icon
86 onPremProxyUrl:
87 type: string
88 nullable: true
89 description: URL of the on-premises proxy if the organization uses one
90 useOnPremProxy:
91 type: boolean
92 nullable: true
93 description: Whether the organization uses an on-premises proxy
94 rawYaml:
95 type: string
96 description: Raw YAML configuration of the assistant
97 "401":
98 description: Unauthorized - Authentication failed
99 content:
100 application/json:
101 schema:
102 type: object
103 properties:
104 message:
105 type: string
106 example: "Unauthorized"
107 "404":
108 description: User not found
109 content:
110 application/json:
111 schema:
112 type: object
113 properties:
114 message:
115 type: string
116 example: "User not found"
117
118components:
119 securitySchemes:
120 apiKeyAuth:
121 type: http
122 scheme: bearer
123 description: |
124 API Key Authentication
125
126 API keys must be prefixed with "con_" and provided in the Authorization header.
127 Example: `Authorization: Bearer con_your_api_key_here`
128
129 API keys can be generated in the Continue Hub web interface under account settings.