@gpt-core/client 0.8.12 → 0.8.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/llms.txt ADDED
@@ -0,0 +1,547 @@
1
+ # @gpt-core/client
2
+
3
+ > TypeScript SDK for GPT Core - document extraction, AI agents, and workspace management.
4
+ > Version: 1.1
5
+
6
+ ## Installation
7
+
8
+ ```bash
9
+ npm install @gpt-core/client
10
+ ```
11
+
12
+ ## Setup
13
+
14
+ ```typescript
15
+ import { client } from '@gpt-core/client';
16
+
17
+ client.setConfig({
18
+ baseUrl: 'https://api.example.com',
19
+ headers: {
20
+ Authorization: 'Bearer YOUR_TOKEN',
21
+ },
22
+ });
23
+ ```
24
+
25
+ ## Agent test result
26
+
27
+ - `postAgentTestResults()` - Create agent test results
28
+
29
+ ## Agent version comparison
30
+
31
+ - `postAgentVersionComparisons()` - Create agent version comparisons
32
+
33
+ ## AI Agents
34
+
35
+ - `getAgents()` - List agents
36
+ - `getAgentsById()` - Get agents
37
+ - `getAgentsByIdSchemaVersions()` - Get schema versions
38
+ - `getAgentsByIdStats()` - Get stats
39
+ - `getAgentsByIdTrainingStats()` - Get training stats
40
+ - `getAgentVersions()` - List agent versions
41
+ - `getAgentVersionsById()` - Get agent versions
42
+ - `getAgentVersionsByIdMetrics()` - Get metrics
43
+ - `postAgents()` - Create agents
44
+ - `postAgentsByIdClone()` - Create clone
45
+ - `postAgentsByIdDiscoverSchema()` - Create discover schema
46
+ - `postAgentsByIdExport()` - Create export
47
+ - `postAgentsByIdPublishVersion()` - Create publish version
48
+ - `postAgentsByIdSchemaVersions()` - Create schema versions
49
+ - `postAgentsByIdSchemaVersionsByVersionIdActivate()` - Create activate
50
+ - `postAgentsByIdTeach()` - Create teach
51
+ - `postAgentsByIdTest()` - Create test
52
+ - `postAgentsByIdValidate()` - Create validate
53
+ - `postAgentsCloneForWorkspace()` - Create clone for workspace
54
+ - `postAgentsImport()` - Create import
55
+ - `postAgentsPredict()` - Create predict
56
+ - `postAgentVersions()` - Create agent versions
57
+ - `patchAgentsById()` - Update agents
58
+ - `patchAgentsByIdSchemaVersionsByVersionId()` - Update schema versions
59
+ - `deleteAgentsById()` - Delete agents
60
+ - `deleteAgentVersionsById()` - Delete agent versions
61
+
62
+ ## AI Training
63
+
64
+ - `getTrainingExamples()` - List training examples
65
+ - `getTrainingExamplesById()` - Get training examples
66
+ - `getTrainingSessionsAgentsByAgentIdSessions()` - Get sessions
67
+ - `getTrainingSessionsById()` - Get training sessions
68
+ - `postTrainingExamples()` - Create training examples
69
+ - `postTrainingExamplesBulk()` - Create bulk
70
+ - `postTrainingExamplesBulkDelete()` - Create bulk delete
71
+ - `postTrainingExamplesSearch()` - Create search
72
+ - `patchTrainingExamplesById()` - Update training examples
73
+ - `deleteTrainingExamplesById()` - Delete training examples
74
+ - `deleteTrainingSessionsById()` - Delete training sessions
75
+
76
+ ## Analytics
77
+
78
+ - `getLlmAnalytics()` - List llm analytics
79
+ - `getLlmAnalyticsById()` - Get llm analytics
80
+ - `getLlmAnalyticsCosts()` - List costs
81
+ - `getLlmAnalyticsPlatform()` - List platform
82
+ - `getLlmAnalyticsSummary()` - List summary
83
+ - `getLlmAnalyticsUsage()` - List usage
84
+ - `getLlmAnalyticsWorkspace()` - List workspace
85
+ - `postLlmAnalytics()` - Create llm analytics
86
+
87
+ ## API Keys
88
+
89
+ - `getApiKeys()` - List api keys
90
+ - `getApiKeysActive()` - List active
91
+ - `getApiKeysById()` - Get api keys
92
+ - `getApiKeysStats()` - List stats
93
+ - `postApiKeys()` - Create api keys
94
+ - `patchApiKeysById()` - Update api keys
95
+ - `patchApiKeysByIdAllocate()` - Update allocate
96
+ - `patchApiKeysByIdReset-period()` - Update reset period
97
+ - `patchApiKeysByIdRevoke()` - Update revoke
98
+ - `patchApiKeysByIdRotate()` - Update rotate
99
+ - `patchApiKeysByIdSetBudget()` - Update set budget
100
+ - `deleteApiKeysById()` - Delete api keys
101
+
102
+ ## Applications
103
+
104
+ - `getApplications()` - List applications
105
+ - `getApplicationsBy-slugBySlug()` - Get by slug
106
+ - `getApplicationsById()` - Get applications
107
+ - `getApplicationsCurrent()` - List current
108
+ - `postApplications()` - Create applications
109
+ - `patchApplicationsById()` - Update applications
110
+ - `patchApplicationsByIdAllocate-credits()` - Update allocate credits
111
+ - `patchApplicationsByIdGrant-credits()` - Update grant credits
112
+ - `deleteApplicationsById()` - Delete applications
113
+
114
+ ## Audit-log
115
+
116
+ - `getAudit-logs()` - List audit logs
117
+ - `getAudit-logsActivity()` - List activity
118
+
119
+ ## Billing
120
+
121
+ - `getCredit-packages()` - List credit packages
122
+ - `getCredit-packagesById()` - Get credit packages
123
+ - `getCredit-packagesSlugBySlug()` - Get slug
124
+ - `getPlans()` - List plans
125
+ - `getPlansById()` - Get plans
126
+ - `getPlansSlugBySlug()` - Get slug
127
+ - `getWallet()` - List wallet
128
+ - `getWalletInvoices()` - List invoices
129
+ - `postPayments()` - Create payments
130
+ - `patchWalletAddons()` - Update addons
131
+ - `patchWalletAddonsByAddonSlugCancel()` - Update cancel
132
+ - `patchWalletAuto-top-up()` - Update auto top up
133
+ - `patchWalletCredits()` - Update credits
134
+ - `patchWalletPlan()` - Update plan
135
+
136
+ ## Bulk dismissal result
137
+
138
+ - `postWorkspacesByWorkspaceIdExtractionDocumentsDismiss-all-trained()` - Create dismiss all trained
139
+
140
+ ## Bulk reprocess result
141
+
142
+ - `postExtractionDocumentsBulk-reprocess()` - Create bulk reprocess
143
+
144
+ ## Config
145
+
146
+ - `getConfigs()` - List configs
147
+ - `postConfigs()` - Create configs
148
+ - `patchConfigsByKey()` - Update configs
149
+
150
+ ## Conversations
151
+
152
+ - `getAiConversations()` - List conversations
153
+ - `getAiConversationsById()` - Get conversations
154
+ - `postAiConversations()` - Create conversations
155
+ - `patchAiConversationsById()` - Update conversations
156
+ - `deleteAiConversationsById()` - Delete conversations
157
+
158
+ ## Document chunk
159
+
160
+ - `getAiChunksDocumentByDocumentId()` - Get document
161
+ - `postAiChunksSearch()` - Create search
162
+
163
+ ## Document Extraction
164
+
165
+ - `getExtractionDocuments()` - List documents
166
+ - `getExtractionDocumentsById()` - Get documents
167
+ - `getExtractionDocumentsByIdStatus()` - Get status
168
+ - `getExtractionDocumentsByIdView()` - Get view
169
+ - `getExtractionDocumentsWorkspaceByWorkspaceId()` - Get workspace
170
+ - `getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus()` - Get by status
171
+ - `getExtractionDocumentsWorkspaceByWorkspaceIdExcluded()` - Get excluded
172
+ - `getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue()` - Get review queue
173
+ - `getExtractionDocumentsWorkspaceByWorkspaceIdTrained()` - Get trained
174
+ - `getExtractionDocumentsWorkspaceByWorkspaceIdTrashed()` - Get trashed
175
+ - `postExtractionDocumentsBeginUpload()` - Create begin upload
176
+ - `postExtractionDocumentsUpload()` - Create upload
177
+ - `patchExtractionDocumentsByIdCancel()` - Update cancel
178
+ - `patchExtractionDocumentsByIdDismiss()` - Update dismiss
179
+ - `patchExtractionDocumentsByIdDismiss-training()` - Update dismiss training
180
+ - `patchExtractionDocumentsByIdExclude()` - Update exclude
181
+ - `patchExtractionDocumentsByIdFinishUpload()` - Update finish upload
182
+ - `patchExtractionDocumentsByIdInclude()` - Update include
183
+ - `patchExtractionDocumentsByIdMarkTrained()` - Update mark trained
184
+ - `patchExtractionDocumentsByIdReprocess()` - Update reprocess
185
+ - `patchExtractionDocumentsByIdRestore()` - Update restore
186
+ - `patchExtractionDocumentsByIdStatus()` - Update status
187
+ - `patchExtractionDocumentsByIdVerification()` - Update verification
188
+ - `deleteExtractionDocumentsById()` - Delete documents
189
+
190
+ ## Document stats
191
+
192
+ - `getDocumentsStats()` - List stats
193
+
194
+ ## Email template
195
+
196
+ - `getApplicationsByApplicationIdEmail-templates()` - Get email templates
197
+ - `getApplicationsByApplicationIdEmail-templatesBySlug()` - Get email templates
198
+ - `postApplicationsByApplicationIdEmail-templates()` - Create email templates
199
+ - `postApplicationsByApplicationIdEmail-templatesBySlugPreview()` - Create preview
200
+ - `postApplicationsByApplicationIdEmail-templatesBySlugTest()` - Create test
201
+ - `patchApplicationsByApplicationIdEmail-templatesBySlug()` - Update email templates
202
+ - `deleteApplicationsByApplicationIdEmail-templatesBySlug()` - Delete email templates
203
+
204
+ ## Embedding
205
+
206
+ - `postAiEmbed()` - Create embed
207
+
208
+ ## Extraction Batches
209
+
210
+ - `getExtractionBatchesById()` - Get batches
211
+ - `getExtractionBatchesByIdUpload-urls()` - Get upload urls
212
+ - `getExtractionBatchesWorkspaceByWorkspaceId()` - Get workspace
213
+ - `postExtractionBatches()` - Create batches
214
+ - `deleteExtractionBatchesById()` - Delete batches
215
+
216
+ ## Extraction export
217
+
218
+ - `getWorkspacesByWorkspaceIdExtractionExports()` - Get exports
219
+ - `getWorkspacesByWorkspaceIdExtractionExportsById()` - Get exports
220
+ - `postWorkspacesByWorkspaceIdExtractionExports()` - Create exports
221
+
222
+ ## Extraction Results
223
+
224
+ - `getExtractionResultsById()` - Get results
225
+ - `getExtractionResultsDocumentByDocumentId()` - Get document
226
+ - `getExtractionResultsWorkspaceByWorkspaceId()` - Get workspace
227
+ - `postExtractionResults()` - Create results
228
+ - `patchExtractionResultsByIdCorrections()` - Update corrections
229
+ - `patchExtractionResultsByIdRegenerate()` - Update regenerate
230
+
231
+ ## Field Templates
232
+
233
+ - `getFieldTemplates()` - List field templates
234
+ - `getFieldTemplatesById()` - Get field templates
235
+ - `postFieldTemplates()` - Create field templates
236
+ - `deleteFieldTemplatesById()` - Delete field templates
237
+
238
+ ## Invitations
239
+
240
+ - `getInvitations()` - List invitations
241
+ - `getInvitationsConsumeByToken()` - Get consume
242
+ - `getInvitationsMe()` - List me
243
+ - `postInvitations()` - Create invitations
244
+ - `postInvitationsAcceptByToken()` - Create accept by token
245
+ - `patchInvitationsByIdAccept()` - Update accept
246
+ - `patchInvitationsByIdAccept-by-user()` - Update accept by user
247
+ - `patchInvitationsByIdDecline()` - Update decline
248
+ - `patchInvitationsByIdResend()` - Update resend
249
+ - `patchInvitationsByIdRevoke()` - Update revoke
250
+
251
+ ## Knowledge Graph
252
+
253
+ - `getAiGraphEdges()` - List edges
254
+ - `getAiGraphNodes()` - List nodes
255
+ - `getAiGraphNodesBySourceNodeIdRelated()` - Get related
256
+ - `getAiGraphNodesLabelByLabel()` - Get label
257
+ - `postAiGraphEdges()` - Create edges
258
+ - `postAiGraphNodes()` - Create nodes
259
+ - `deleteAiGraphEdgesById()` - Delete edges
260
+ - `deleteAiGraphNodesById()` - Delete nodes
261
+
262
+ ## Messages
263
+
264
+ - `getAiMessages()` - List messages
265
+ - `getMessages()` - List messages
266
+ - `getMessagesById()` - Get messages
267
+ - `getMessagesSearch()` - List search
268
+ - `getMessagesSemantic-search()` - List semantic search
269
+ - `getThreadsByIdMessages()` - Get messages
270
+ - `postAiMessages()` - Create messages
271
+ - `postMessages()` - Create messages
272
+ - `patchMessagesById()` - Update messages
273
+ - `deleteAiMessagesById()` - Delete messages
274
+ - `deleteMessagesById()` - Delete messages
275
+
276
+ ## Notification log
277
+
278
+ - `getNotificationLogs()` - List notification logs
279
+ - `getNotificationLogsById()` - Get notification logs
280
+ - `getNotificationLogsStats()` - List stats
281
+
282
+ ## Notification method
283
+
284
+ - `getNotificationMethods()` - List notification methods
285
+ - `getNotificationMethodsById()` - Get notification methods
286
+ - `postNotificationMethods()` - Create notification methods
287
+ - `patchNotificationMethodsById()` - Update notification methods
288
+ - `patchNotificationMethodsByIdSendVerification()` - Update send verification
289
+ - `patchNotificationMethodsByIdSetPrimary()` - Update set primary
290
+ - `patchNotificationMethodsByIdVerify()` - Update verify
291
+ - `deleteNotificationMethodsById()` - Delete notification methods
292
+
293
+ ## Notification preference
294
+
295
+ - `getNotificationPreferences()` - List notification preferences
296
+ - `getNotificationPreferencesById()` - Get notification preferences
297
+ - `postNotificationPreferences()` - Create notification preferences
298
+ - `patchNotificationPreferencesById()` - Update notification preferences
299
+ - `deleteNotificationPreferencesById()` - Delete notification preferences
300
+
301
+ ## Operation success
302
+
303
+ - `postDocumentsBulkDelete()` - Create bulk delete
304
+
305
+ ## Permission
306
+
307
+ - `getPermissions()` - List permissions
308
+ - `getPermissionsById()` - Get permissions
309
+
310
+ ## Permission meta
311
+
312
+ - `getPermissionsMeta()` - List meta
313
+
314
+ ## Permission preset
315
+
316
+ - `getPermissionsPresets()` - List presets
317
+ - `getPermissionsPresetsById()` - Get presets
318
+
319
+ ## Presigned url
320
+
321
+ - `postDocumentsPresignedUpload()` - Create presigned upload
322
+ - `postStorageSignDownload()` - Create sign download
323
+ - `postStorageSignUpload()` - Create sign upload
324
+
325
+ ## Schema discovery
326
+
327
+ - `getExtractionSchemaDiscoveriesById()` - Get schema discoveries
328
+ - `postExtractionSchemaDiscoveries()` - Create schema discoveries
329
+
330
+ ## Search
331
+
332
+ - `getSearch()` - List search
333
+ - `getSearchHealth()` - List health
334
+ - `getSearchIndexes()` - List indexes
335
+ - `getSearchSaved()` - List saved
336
+ - `getSearchSemantic()` - List semantic
337
+ - `getSearchStats()` - List stats
338
+ - `getSearchStatus()` - List status
339
+ - `getSearchSuggest()` - List suggest
340
+ - `postAiSearch()` - Create search
341
+ - `postAiSearchAdvanced()` - Create advanced
342
+ - `postSearchBatch()` - Create batch
343
+ - `postSearchReindex()` - Create reindex
344
+ - `postSearchSaved()` - Create saved
345
+ - `postSearchSavedByIdRun()` - Create run
346
+ - `patchSearchSavedById()` - Update saved
347
+ - `deleteSearchSavedById()` - Delete saved
348
+
349
+ ## Search analytics
350
+
351
+ - `getSearchAnalytics()` - List analytics
352
+ - `getSearchAnalyticsSummary()` - List summary
353
+
354
+ ## Storage
355
+
356
+ - `getBuckets()` - List buckets
357
+ - `getBucketsAll()` - List all
358
+ - `getBucketsById()` - Get buckets
359
+ - `getBucketsByIdObjects()` - Get objects
360
+ - `getBucketsByIdStats()` - Get stats
361
+ - `getObjects()` - List objects
362
+ - `getObjectsById()` - Get objects
363
+ - `postBuckets()` - Create buckets
364
+ - `postObjectsBulk-destroy()` - Create bulk destroy
365
+ - `postObjectsCopy()` - Create copy
366
+ - `postObjectsMove()` - Create move
367
+ - `postObjectsRegister()` - Create register
368
+ - `patchBucketsById()` - Update buckets
369
+ - `deleteBucketsById()` - Delete buckets
370
+ - `deleteObjectsById()` - Delete objects
371
+
372
+ ## Storage stats
373
+
374
+ - `getStorageStats()` - List stats
375
+ - `getStorageStatsTenantByTenantId()` - Get tenant
376
+
377
+ ## Tenant document stats
378
+
379
+ - `getTenantsByTenantIdDocumentStats()` - Get document stats
380
+
381
+ ## Tenant stats
382
+
383
+ - `getTenantsByTenantIdStats()` - Get stats
384
+
385
+ ## Tenant-membership
386
+
387
+ - `getTenant-memberships()` - List tenant memberships
388
+ - `postTenant-memberships()` - Create tenant memberships
389
+ - `patchTenant-membershipsByTenantIdByUserId()` - Update tenant memberships
390
+ - `deleteTenant-membershipsByTenantIdByUserId()` - Delete tenant memberships
391
+
392
+ ## Tenants
393
+
394
+ - `getTenants()` - List tenants
395
+ - `getTenantsById()` - Get tenants
396
+ - `postTenants()` - Create tenants
397
+ - `postTenantsByIdBuy-storage()` - Create buy storage
398
+ - `postTenantsByIdCredit()` - Create credit
399
+ - `postTenantsByIdRemove-storage()` - Create remove storage
400
+ - `postTenantsByIdSchedule-purge()` - Create schedule purge
401
+ - `postTenantsIsv()` - Create isv
402
+ - `patchTenantsById()` - Update tenants
403
+ - `deleteTenantsById()` - Delete tenants
404
+
405
+ ## Threads
406
+
407
+ - `getThreads()` - List threads
408
+ - `getThreadsById()` - Get threads
409
+ - `getThreadsSearch()` - List search
410
+ - `getThreadsStats()` - List stats
411
+ - `getThreadsWorkspace-stats()` - List workspace stats
412
+ - `postThreads()` - Create threads
413
+ - `postThreadsActive()` - Create active
414
+ - `postThreadsByIdExport()` - Create export
415
+ - `postThreadsByIdFork()` - Create fork
416
+ - `postThreadsByIdMessages()` - Create messages
417
+ - `postThreadsByIdSummarize()` - Create summarize
418
+ - `patchThreadsById()` - Update threads
419
+ - `patchThreadsByIdArchive()` - Update archive
420
+ - `patchThreadsByIdUnarchive()` - Update unarchive
421
+ - `deleteThreadsById()` - Delete threads
422
+
423
+ ## Token
424
+
425
+ - `postTokens()` - Create tokens
426
+
427
+ ## Training analytics
428
+
429
+ - `getWorkspacesByWorkspaceIdTrainingAnalytics()` - Get analytics
430
+
431
+ ## Transaction
432
+
433
+ - `getTransactions()` - List transactions
434
+ - `getTransactionsById()` - Get transactions
435
+
436
+ ## Users
437
+
438
+ - `getUserProfiles()` - List user profiles
439
+ - `getUserProfilesById()` - Get user profiles
440
+ - `getUserProfilesMe()` - List me
441
+ - `getUsers()` - List users
442
+ - `getUsersBy-email()` - List by email
443
+ - `getUsersById()` - Get users
444
+ - `getUsersMe()` - List me
445
+ - `getUsersMeActivity()` - List activity
446
+ - `getUsersMeDashboard()` - List dashboard
447
+ - `getUsersMeStats()` - List stats
448
+ - `getUsersMeTenants()` - List tenants
449
+ - `postUserProfiles()` - Create user profiles
450
+ - `postUsersAuthConfirm()` - Create confirm
451
+ - `postUsersAuthLogin()` - Create login
452
+ - `postUsersAuthMagicLinkLogin()` - Create login
453
+ - `postUsersAuthMagicLinkRequest()` - Create request
454
+ - `postUsersAuthRegister()` - Create register
455
+ - `postUsersAuthRegisterWithOidc()` - Create register with oidc
456
+ - `postUsersAuthResend-confirmation()` - Create resend confirmation
457
+ - `postUsersRegisterIsv()` - Create register isv
458
+ - `patchUserProfilesById()` - Update user profiles
459
+ - `patchUsersAuthPasswordChange()` - Update change
460
+ - `patchUsersAuthReset-password()` - Update reset password
461
+ - `patchUsersById()` - Update admin
462
+ - `patchUsersByIdConfirm-email()` - Update confirm email
463
+ - `patchUsersByIdEmail()` - Update email
464
+ - `patchUsersByIdReset-password()` - Update reset password
465
+ - `deleteUserProfilesById()` - Delete user profiles
466
+ - `deleteUsersById()` - Delete users
467
+
468
+ ## Watcher claim
469
+
470
+ - `getWatcherClaims()` - List claims
471
+ - `getWatcherClaimsById()` - Get claims
472
+ - `getWatcherClaimsStatus()` - List status
473
+ - `postWatcherClaims()` - Create claims
474
+ - `patchWatcherClaimsById()` - Update claims
475
+ - `patchWatcherClaimsByIdRelease()` - Update release
476
+ - `patchWatcherClaimsByIdRetry()` - Update retry
477
+
478
+ ## Watcher event
479
+
480
+ - `getWatcherEvents()` - List events
481
+ - `getWatcherEventsById()` - Get events
482
+ - `postWatcherEvents()` - Create events
483
+
484
+ ## Webhooks
485
+
486
+ - `getWebhookConfigs()` - List webhook configs
487
+ - `getWebhookConfigsById()` - Get webhook configs
488
+ - `getWebhookConfigsByIdEvents()` - Get events
489
+ - `getWebhookConfigsStats()` - List stats
490
+ - `getWebhookDeliveries()` - List webhook deliveries
491
+ - `getWebhookDeliveriesById()` - Get webhook deliveries
492
+ - `getWebhookDeliveriesStats()` - List stats
493
+ - `postWebhookConfigs()` - Create webhook configs
494
+ - `postWebhookConfigsBulkDisable()` - Create bulk disable
495
+ - `postWebhookConfigsBulkEnable()` - Create bulk enable
496
+ - `postWebhookConfigsByIdReplay()` - Create replay
497
+ - `postWebhookConfigsByIdTest()` - Create test
498
+ - `postWebhookDeliveriesBulkRetry()` - Create bulk retry
499
+ - `postWebhookDeliveriesByIdRetry()` - Create retry
500
+ - `patchWebhookConfigsById()` - Update webhook configs
501
+ - `patchWebhookConfigsByIdRotateSecret()` - Update rotate secret
502
+ - `deleteWebhookConfigsById()` - Delete webhook configs
503
+
504
+ ## Workspace document stats
505
+
506
+ - `getTenantsByTenantIdWorkspaceStats()` - Get workspace stats
507
+
508
+ ## Workspace-membership
509
+
510
+ - `getWorkspace-memberships()` - List workspace memberships
511
+ - `getWorkspacesByIdMembers()` - Get members
512
+ - `postWorkspace-memberships()` - Create workspace memberships
513
+ - `patchWorkspace-membershipsByWorkspaceIdByUserId()` - Update workspace memberships
514
+ - `deleteWorkspace-membershipsByWorkspaceIdByUserId()` - Delete workspace memberships
515
+
516
+ ## Workspaces
517
+
518
+ - `getWorkspaces()` - List workspaces
519
+ - `getWorkspacesById()` - Get workspaces
520
+ - `getWorkspacesMine()` - List mine
521
+ - `getWorkspacesShared()` - List shared
522
+ - `postWorkspaces()` - Create workspaces
523
+ - `patchWorkspacesById()` - Update workspaces
524
+ - `patchWorkspacesByIdAllocate()` - Update allocate
525
+ - `patchWorkspacesByIdStorage-settings()` - Update storage settings
526
+ - `deleteWorkspacesById()` - Delete workspaces
527
+
528
+ ## Error Handling
529
+
530
+ All functions return a Promise that resolves with `{ data, error, response }`.
531
+
532
+ ```typescript
533
+ const { data, error } = await getAgents();
534
+ if (error) {
535
+ console.error(error.status, error.detail);
536
+ } else {
537
+ console.log(data);
538
+ }
539
+ ```
540
+
541
+ ## Types
542
+
543
+ All types are exported:
544
+
545
+ ```typescript
546
+ import type { Agent, Workspace, Document } from '@gpt-core/client';
547
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.8.12",
3
+ "version": "0.8.20",
4
4
  "description": "TypeScript SDK for GPT Core Client API - Document extraction, AI agents, and workspace management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -22,7 +22,8 @@
22
22
  "node": ">=18.0.0"
23
23
  },
24
24
  "files": [
25
- "dist"
25
+ "dist",
26
+ "llms.txt"
26
27
  ],
27
28
  "keywords": [
28
29
  "gpt-core",
@@ -31,7 +32,15 @@
31
32
  "typescript",
32
33
  "api-client",
33
34
  "document-extraction",
34
- "ai-agents"
35
+ "ai-agents",
36
+ "llm",
37
+ "ai-integration",
38
+ "openapi",
39
+ "json-api",
40
+ "workspace-management",
41
+ "semantic-search",
42
+ "embeddings",
43
+ "rag"
35
44
  ],
36
45
  "author": "GPT Integrators",
37
46
  "license": "MIT",