@gpt-core/client 0.8.12 → 0.8.21

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,555 @@
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 mapping confirmation
232
+
233
+ - `postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping()` - Create mapping
234
+
235
+ ## Field mapping result
236
+
237
+ - `getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping()` - Get mapping
238
+
239
+ ## Field Templates
240
+
241
+ - `getFieldTemplates()` - List field templates
242
+ - `getFieldTemplatesById()` - Get field templates
243
+ - `postFieldTemplates()` - Create field templates
244
+ - `deleteFieldTemplatesById()` - Delete field templates
245
+
246
+ ## Invitations
247
+
248
+ - `getInvitations()` - List invitations
249
+ - `getInvitationsConsumeByToken()` - Get consume
250
+ - `getInvitationsMe()` - List me
251
+ - `postInvitations()` - Create invitations
252
+ - `postInvitationsAcceptByToken()` - Create accept by token
253
+ - `patchInvitationsByIdAccept()` - Update accept
254
+ - `patchInvitationsByIdAccept-by-user()` - Update accept by user
255
+ - `patchInvitationsByIdDecline()` - Update decline
256
+ - `patchInvitationsByIdResend()` - Update resend
257
+ - `patchInvitationsByIdRevoke()` - Update revoke
258
+
259
+ ## Knowledge Graph
260
+
261
+ - `getAiGraphEdges()` - List edges
262
+ - `getAiGraphNodes()` - List nodes
263
+ - `getAiGraphNodesBySourceNodeIdRelated()` - Get related
264
+ - `getAiGraphNodesLabelByLabel()` - Get label
265
+ - `postAiGraphEdges()` - Create edges
266
+ - `postAiGraphNodes()` - Create nodes
267
+ - `deleteAiGraphEdgesById()` - Delete edges
268
+ - `deleteAiGraphNodesById()` - Delete nodes
269
+
270
+ ## Messages
271
+
272
+ - `getAiMessages()` - List messages
273
+ - `getMessages()` - List messages
274
+ - `getMessagesById()` - Get messages
275
+ - `getMessagesSearch()` - List search
276
+ - `getMessagesSemantic-search()` - List semantic search
277
+ - `getThreadsByIdMessages()` - Get messages
278
+ - `postAiMessages()` - Create messages
279
+ - `postMessages()` - Create messages
280
+ - `patchMessagesById()` - Update messages
281
+ - `deleteAiMessagesById()` - Delete messages
282
+ - `deleteMessagesById()` - Delete messages
283
+
284
+ ## Notification log
285
+
286
+ - `getNotificationLogs()` - List notification logs
287
+ - `getNotificationLogsById()` - Get notification logs
288
+ - `getNotificationLogsStats()` - List stats
289
+
290
+ ## Notification method
291
+
292
+ - `getNotificationMethods()` - List notification methods
293
+ - `getNotificationMethodsById()` - Get notification methods
294
+ - `postNotificationMethods()` - Create notification methods
295
+ - `patchNotificationMethodsById()` - Update notification methods
296
+ - `patchNotificationMethodsByIdSendVerification()` - Update send verification
297
+ - `patchNotificationMethodsByIdSetPrimary()` - Update set primary
298
+ - `patchNotificationMethodsByIdVerify()` - Update verify
299
+ - `deleteNotificationMethodsById()` - Delete notification methods
300
+
301
+ ## Notification preference
302
+
303
+ - `getNotificationPreferences()` - List notification preferences
304
+ - `getNotificationPreferencesById()` - Get notification preferences
305
+ - `postNotificationPreferences()` - Create notification preferences
306
+ - `patchNotificationPreferencesById()` - Update notification preferences
307
+ - `deleteNotificationPreferencesById()` - Delete notification preferences
308
+
309
+ ## Operation success
310
+
311
+ - `postDocumentsBulkDelete()` - Create bulk delete
312
+
313
+ ## Permission
314
+
315
+ - `getPermissions()` - List permissions
316
+ - `getPermissionsById()` - Get permissions
317
+
318
+ ## Permission meta
319
+
320
+ - `getPermissionsMeta()` - List meta
321
+
322
+ ## Permission preset
323
+
324
+ - `getPermissionsPresets()` - List presets
325
+ - `getPermissionsPresetsById()` - Get presets
326
+
327
+ ## Presigned url
328
+
329
+ - `postDocumentsPresignedUpload()` - Create presigned upload
330
+ - `postStorageSignDownload()` - Create sign download
331
+ - `postStorageSignUpload()` - Create sign upload
332
+
333
+ ## Schema discovery
334
+
335
+ - `getExtractionSchemaDiscoveriesById()` - Get schema discoveries
336
+ - `postExtractionSchemaDiscoveries()` - Create schema discoveries
337
+
338
+ ## Search
339
+
340
+ - `getSearch()` - List search
341
+ - `getSearchHealth()` - List health
342
+ - `getSearchIndexes()` - List indexes
343
+ - `getSearchSaved()` - List saved
344
+ - `getSearchSemantic()` - List semantic
345
+ - `getSearchStats()` - List stats
346
+ - `getSearchStatus()` - List status
347
+ - `getSearchSuggest()` - List suggest
348
+ - `postAiSearch()` - Create search
349
+ - `postAiSearchAdvanced()` - Create advanced
350
+ - `postSearchBatch()` - Create batch
351
+ - `postSearchReindex()` - Create reindex
352
+ - `postSearchSaved()` - Create saved
353
+ - `postSearchSavedByIdRun()` - Create run
354
+ - `patchSearchSavedById()` - Update saved
355
+ - `deleteSearchSavedById()` - Delete saved
356
+
357
+ ## Search analytics
358
+
359
+ - `getSearchAnalytics()` - List analytics
360
+ - `getSearchAnalyticsSummary()` - List summary
361
+
362
+ ## Storage
363
+
364
+ - `getBuckets()` - List buckets
365
+ - `getBucketsAll()` - List all
366
+ - `getBucketsById()` - Get buckets
367
+ - `getBucketsByIdObjects()` - Get objects
368
+ - `getBucketsByIdStats()` - Get stats
369
+ - `getObjects()` - List objects
370
+ - `getObjectsById()` - Get objects
371
+ - `postBuckets()` - Create buckets
372
+ - `postObjectsBulk-destroy()` - Create bulk destroy
373
+ - `postObjectsCopy()` - Create copy
374
+ - `postObjectsMove()` - Create move
375
+ - `postObjectsRegister()` - Create register
376
+ - `patchBucketsById()` - Update buckets
377
+ - `deleteBucketsById()` - Delete buckets
378
+ - `deleteObjectsById()` - Delete objects
379
+
380
+ ## Storage stats
381
+
382
+ - `getStorageStats()` - List stats
383
+ - `getStorageStatsTenantByTenantId()` - Get tenant
384
+
385
+ ## Tenant document stats
386
+
387
+ - `getTenantsByTenantIdDocumentStats()` - Get document stats
388
+
389
+ ## Tenant stats
390
+
391
+ - `getTenantsByTenantIdStats()` - Get stats
392
+
393
+ ## Tenant-membership
394
+
395
+ - `getTenant-memberships()` - List tenant memberships
396
+ - `postTenant-memberships()` - Create tenant memberships
397
+ - `patchTenant-membershipsByTenantIdByUserId()` - Update tenant memberships
398
+ - `deleteTenant-membershipsByTenantIdByUserId()` - Delete tenant memberships
399
+
400
+ ## Tenants
401
+
402
+ - `getTenants()` - List tenants
403
+ - `getTenantsById()` - Get tenants
404
+ - `postTenants()` - Create tenants
405
+ - `postTenantsByIdBuy-storage()` - Create buy storage
406
+ - `postTenantsByIdCredit()` - Create credit
407
+ - `postTenantsByIdRemove-storage()` - Create remove storage
408
+ - `postTenantsByIdSchedule-purge()` - Create schedule purge
409
+ - `postTenantsIsv()` - Create isv
410
+ - `patchTenantsById()` - Update tenants
411
+ - `deleteTenantsById()` - Delete tenants
412
+
413
+ ## Threads
414
+
415
+ - `getThreads()` - List threads
416
+ - `getThreadsById()` - Get threads
417
+ - `getThreadsSearch()` - List search
418
+ - `getThreadsStats()` - List stats
419
+ - `getThreadsWorkspace-stats()` - List workspace stats
420
+ - `postThreads()` - Create threads
421
+ - `postThreadsActive()` - Create active
422
+ - `postThreadsByIdExport()` - Create export
423
+ - `postThreadsByIdFork()` - Create fork
424
+ - `postThreadsByIdMessages()` - Create messages
425
+ - `postThreadsByIdSummarize()` - Create summarize
426
+ - `patchThreadsById()` - Update threads
427
+ - `patchThreadsByIdArchive()` - Update archive
428
+ - `patchThreadsByIdUnarchive()` - Update unarchive
429
+ - `deleteThreadsById()` - Delete threads
430
+
431
+ ## Token
432
+
433
+ - `postTokens()` - Create tokens
434
+
435
+ ## Training analytics
436
+
437
+ - `getWorkspacesByWorkspaceIdTrainingAnalytics()` - Get analytics
438
+
439
+ ## Transaction
440
+
441
+ - `getTransactions()` - List transactions
442
+ - `getTransactionsById()` - Get transactions
443
+
444
+ ## Users
445
+
446
+ - `getUserProfiles()` - List user profiles
447
+ - `getUserProfilesById()` - Get user profiles
448
+ - `getUserProfilesMe()` - List me
449
+ - `getUsers()` - List users
450
+ - `getUsersBy-email()` - List by email
451
+ - `getUsersById()` - Get users
452
+ - `getUsersMe()` - List me
453
+ - `getUsersMeActivity()` - List activity
454
+ - `getUsersMeDashboard()` - List dashboard
455
+ - `getUsersMeStats()` - List stats
456
+ - `getUsersMeTenants()` - List tenants
457
+ - `postUserProfiles()` - Create user profiles
458
+ - `postUsersAuthConfirm()` - Create confirm
459
+ - `postUsersAuthLogin()` - Create login
460
+ - `postUsersAuthMagicLinkLogin()` - Create login
461
+ - `postUsersAuthMagicLinkRequest()` - Create request
462
+ - `postUsersAuthRegister()` - Create register
463
+ - `postUsersAuthRegisterWithOidc()` - Create register with oidc
464
+ - `postUsersAuthResend-confirmation()` - Create resend confirmation
465
+ - `postUsersRegisterIsv()` - Create register isv
466
+ - `patchUserProfilesById()` - Update user profiles
467
+ - `patchUsersAuthPasswordChange()` - Update change
468
+ - `patchUsersAuthReset-password()` - Update reset password
469
+ - `patchUsersById()` - Update admin
470
+ - `patchUsersByIdConfirm-email()` - Update confirm email
471
+ - `patchUsersByIdEmail()` - Update email
472
+ - `patchUsersByIdReset-password()` - Update reset password
473
+ - `deleteUserProfilesById()` - Delete user profiles
474
+ - `deleteUsersById()` - Delete users
475
+
476
+ ## Watcher claim
477
+
478
+ - `getWatcherClaims()` - List claims
479
+ - `getWatcherClaimsById()` - Get claims
480
+ - `getWatcherClaimsStatus()` - List status
481
+ - `postWatcherClaims()` - Create claims
482
+ - `patchWatcherClaimsById()` - Update claims
483
+ - `patchWatcherClaimsByIdRelease()` - Update release
484
+ - `patchWatcherClaimsByIdRetry()` - Update retry
485
+
486
+ ## Watcher event
487
+
488
+ - `getWatcherEvents()` - List events
489
+ - `getWatcherEventsById()` - Get events
490
+ - `postWatcherEvents()` - Create events
491
+
492
+ ## Webhooks
493
+
494
+ - `getWebhookConfigs()` - List webhook configs
495
+ - `getWebhookConfigsById()` - Get webhook configs
496
+ - `getWebhookConfigsByIdEvents()` - Get events
497
+ - `getWebhookConfigsStats()` - List stats
498
+ - `getWebhookDeliveries()` - List webhook deliveries
499
+ - `getWebhookDeliveriesById()` - Get webhook deliveries
500
+ - `getWebhookDeliveriesStats()` - List stats
501
+ - `postWebhookConfigs()` - Create webhook configs
502
+ - `postWebhookConfigsBulkDisable()` - Create bulk disable
503
+ - `postWebhookConfigsBulkEnable()` - Create bulk enable
504
+ - `postWebhookConfigsByIdReplay()` - Create replay
505
+ - `postWebhookConfigsByIdTest()` - Create test
506
+ - `postWebhookDeliveriesBulkRetry()` - Create bulk retry
507
+ - `postWebhookDeliveriesByIdRetry()` - Create retry
508
+ - `patchWebhookConfigsById()` - Update webhook configs
509
+ - `patchWebhookConfigsByIdRotateSecret()` - Update rotate secret
510
+ - `deleteWebhookConfigsById()` - Delete webhook configs
511
+
512
+ ## Workspace document stats
513
+
514
+ - `getTenantsByTenantIdWorkspaceStats()` - Get workspace stats
515
+
516
+ ## Workspace-membership
517
+
518
+ - `getWorkspace-memberships()` - List workspace memberships
519
+ - `getWorkspacesByIdMembers()` - Get members
520
+ - `postWorkspace-memberships()` - Create workspace memberships
521
+ - `patchWorkspace-membershipsByWorkspaceIdByUserId()` - Update workspace memberships
522
+ - `deleteWorkspace-membershipsByWorkspaceIdByUserId()` - Delete workspace memberships
523
+
524
+ ## Workspaces
525
+
526
+ - `getWorkspaces()` - List workspaces
527
+ - `getWorkspacesById()` - Get workspaces
528
+ - `getWorkspacesMine()` - List mine
529
+ - `getWorkspacesShared()` - List shared
530
+ - `postWorkspaces()` - Create workspaces
531
+ - `patchWorkspacesById()` - Update workspaces
532
+ - `patchWorkspacesByIdAllocate()` - Update allocate
533
+ - `patchWorkspacesByIdStorage-settings()` - Update storage settings
534
+ - `deleteWorkspacesById()` - Delete workspaces
535
+
536
+ ## Error Handling
537
+
538
+ All functions return a Promise that resolves with `{ data, error, response }`.
539
+
540
+ ```typescript
541
+ const { data, error } = await getAgents();
542
+ if (error) {
543
+ console.error(error.status, error.detail);
544
+ } else {
545
+ console.log(data);
546
+ }
547
+ ```
548
+
549
+ ## Types
550
+
551
+ All types are exported:
552
+
553
+ ```typescript
554
+ import type { Agent, Workspace, Document } from '@gpt-core/client';
555
+ ```
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.21",
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",