Llm

List

GET
List all LLMs

Response

This endpoint returns an object
success
boolean
data
list of objectsOptional
Represents a LLM record
GET
1curl https://api.beta.superagent.sh/api/v1/llms \
2 -H "Authorization: Bearer <token>"
200Retrieved
1{
2 "success": true,
3 "data": [
4 {
5 "id": "id",
6 "provider": "OPENAI",
7 "apiKey": "apiKey",
8 "createdAt": "2024-01-15T09:30:00Z",
9 "updatedAt": "2024-01-15T09:30:00Z",
10 "apiUserId": "apiUserId",
11 "options": {
12 "key": "value"
13 },
14 "agents": [
15 {
16 "agentId": "agentId",
17 "llmId": "llmId",
18 "createdAt": "2024-01-15T09:30:00Z",
19 "updatedAt": "2024-01-15T09:30:00Z"
20 }
21 ],
22 "apiUser": {
23 "id": "id",
24 "createdAt": "2024-01-15T09:30:00Z",
25 "updatedAt": "2024-01-15T09:30:00Z"
26 }
27 }
28 ]
29}