@gpt-platform/admin 0.8.5 → 0.9.0

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 CHANGED
@@ -158,13 +158,6 @@ correction reasons, or image reference
158
158
  - `deleteTraining-examplesById()` - /training-examples/:id operation on training_example resource
159
159
  - `deleteTraining-sessionsById()` - /training-sessions/:id operation on training_session resource
160
160
 
161
- ## Ai-message
162
-
163
- - `getAiMessages()` - /ai/messages operation on ai-message resource
164
- - `getAiMessagesById()` - /ai/messages/:id operation on ai-message resource
165
- - `postAiMessages()` - Append a new message turn (system, user, or assistant) to a Conversation
166
- - `deleteAiMessagesById()` - /ai/messages/:id operation on ai-message resource
167
-
168
161
  ## Amendment-request
169
162
 
170
163
  - `getAmendment-requests()` - /amendment-requests operation on amendment-request resource
@@ -443,6 +436,58 @@ flags, workspace mode, and execution limits
443
436
  - `postCde-scope-reports()` - Generate a PCI-DSS Cardholder Data Environment scope report for a workspace, classifying it as in-scope, out-of-scope, or connected based on ScanResult data
444
437
  - `deleteCde-scope-reportsById()` - /cde-scope-reports/:id operation on cde-scope-report resource
445
438
 
439
+ ## Chat-ai-message
440
+
441
+ - `getAiMessages()` - /ai/messages operation on chat-ai-message resource
442
+ - `getAiMessagesById()` - /ai/messages/:id operation on chat-ai-message resource
443
+ - `postAiMessages()` - Append a new message turn (system, user, or assistant) to a Conversation
444
+ - `deleteAiMessagesById()` - /ai/messages/:id operation on chat-ai-message resource
445
+
446
+ ## Chat-conversation
447
+
448
+ - `getAiConversations()` - /ai/conversations operation on chat-conversation resource
449
+ - `getAiConversationsById()` - /ai/conversations/:id operation on chat-conversation resource
450
+ - `postAiConversations()` - Start a new AI conversation session with optional structured context data (e.g., prediction results to discuss)
451
+ - `patchAiConversationsById()` - Update the conversation title or replace the context data map
452
+ - `deleteAiConversationsById()` - /ai/conversations/:id operation on chat-conversation resource
453
+
454
+ ## Chat-message
455
+
456
+ - `getMessages()` - /messages operation on chat-message resource
457
+ - `getMessagesById()` - /messages/:id operation on chat-message resource
458
+ - `getMessagesSearch()` - Full-text search messages by substring match on content within the actor's accessible threads
459
+ - `getMessagesSemantic-search()` - Vector similarity search across messages using a generated embedding of the query string
460
+ - `getThreadsByIdMessages()` - /threads/:id/messages operation on chat-message resource
461
+ - `postMessages()` - Add a new message turn to a thread
462
+ - `patchMessagesById()` - Edit a message's content, role, or metadata
463
+ - `deleteMessagesById()` - /messages/:id operation on chat-message resource
464
+
465
+ ## Chat-thread
466
+
467
+ - `getThreads()` - /threads operation on chat-thread resource
468
+ - `getThreadsById()` - /threads/:id operation on chat-thread resource
469
+ - `getThreadsMine()` - List only the calling user's threads within their current workspace
470
+ - `getThreadsSearch()` - Full-text search threads by title or context summary within the actor's accessible workspace
471
+ - `postThreads()` - Create a new conversation thread scoped to a tenant, workspace, and user
472
+ - `postThreadsActive()` - Return the current user's active thread for their workspace, creating a new one if none exists or the existing thread has expired (>24h inactive)
473
+ - `postThreadsByIdComplete()` - Trigger AI inference on an existing thread without providing new user message content
474
+ - `postThreadsByIdExport()` - Export thread with messages to JSON, Markdown, or plain text format
475
+ - `postThreadsByIdFork()` - Fork a thread by cloning it with all its messages
476
+ - `postThreadsByIdMessages()` - Submit a user message to a thread and receive the AI response synchronously
477
+ - `postThreadsByIdSummarize()` - Generate a 2-3 sentence LLM summary of the thread's message history and persist it as `context_summary`
478
+ - `patchThreadsById()` - Update the thread's title or context summary
479
+ - `patchThreadsByIdArchive()` - Archive a thread by setting `archived_at` to the current timestamp
480
+ - `patchThreadsByIdUnarchive()` - Restore an archived thread by clearing `archived_at`, making it visible in the default thread list again.
481
+ - `deleteThreadsById()` - /threads/:id operation on chat-thread resource
482
+
483
+ ## Chat-thread-stats
484
+
485
+ - `getThreadsStats()` - Return platform-wide chat statistics including total threads, total messages, threads active in the last 24h and 7d, message distribution by role, and top 10 workspaces by thread count
486
+
487
+ ## Chat-thread-workspace-stats
488
+
489
+ - `getThreadsWorkspace-stats()` - Return aggregated chat statistics for the actor's current workspace: total threads, total messages, activity counts for 24h and 7d windows, and message distribution by role
490
+
446
491
  ## Chunk entity link
447
492
 
448
493
  - `getExtractionChunk-entity-links()` - /extraction/chunk-entity-links operation on chunk_entity_link resource
@@ -454,30 +499,39 @@ flags, workspace mode, and execution limits
454
499
  ## Clinical-client-goal
455
500
 
456
501
  - `getClinicalClient-goals()` - /clinical/client-goals operation on clinical-client-goal resource
502
+ - `getClinicalClient-goalsArchived()` - /clinical/client-goals/archived operation on clinical-client-goal resource
457
503
  - `getClinicalClient-goalsById()` - /clinical/client-goals/:id operation on clinical-client-goal resource
458
504
  - `getClinicalPatientsByIdGoals()` - /clinical/patients/:id/goals operation on clinical-client-goal resource
459
505
  - `postClinicalClient-goals()` - /clinical/client-goals operation on clinical-client-goal resource
460
506
  - `postClinicalClient-goalsFrom-template()` - /clinical/client-goals/from-template operation on clinical-client-goal resource
461
507
  - `patchClinicalClient-goalsById()` - /clinical/client-goals/:id operation on clinical-client-goal resource
462
- - `deleteClinicalClient-goalsById()` - /clinical/client-goals/:id operation on clinical-client-goal resource
508
+ - `patchClinicalClient-goalsByIdArchive()` - /clinical/client-goals/:id/archive operation on clinical-client-goal resource
509
+ - `patchClinicalClient-goalsByIdRestore()` - /clinical/client-goals/:id/restore operation on clinical-client-goal resource
510
+ - `deleteClinicalClient-goalsByIdPermanent()` - /clinical/client-goals/:id/permanent operation on clinical-client-goal resource
463
511
 
464
512
  ## Clinical-client-resource-assignment
465
513
 
466
514
  - `getClinicalClient-resource-assignments()` - /clinical/client-resource-assignments operation on clinical-client-resource-assignment resource
515
+ - `getClinicalClient-resource-assignmentsArchived()` - /clinical/client-resource-assignments/archived operation on clinical-client-resource-assignment resource
467
516
  - `getClinicalClient-resource-assignmentsById()` - /clinical/client-resource-assignments/:id operation on clinical-client-resource-assignment resource
468
517
  - `getClinicalPatientsByIdResourceAssignments()` - /clinical/patients/:id/resource_assignments operation on clinical-client-resource-assignment resource
469
518
  - `postClinicalClient-resource-assignments()` - /clinical/client-resource-assignments operation on clinical-client-resource-assignment resource
470
519
  - `patchClinicalClient-resource-assignmentsById()` - /clinical/client-resource-assignments/:id operation on clinical-client-resource-assignment resource
471
- - `deleteClinicalClient-resource-assignmentsById()` - /clinical/client-resource-assignments/:id operation on clinical-client-resource-assignment resource
520
+ - `patchClinicalClient-resource-assignmentsByIdArchive()` - /clinical/client-resource-assignments/:id/archive operation on clinical-client-resource-assignment resource
521
+ - `patchClinicalClient-resource-assignmentsByIdRestore()` - /clinical/client-resource-assignments/:id/restore operation on clinical-client-resource-assignment resource
522
+ - `deleteClinicalClient-resource-assignmentsByIdPermanent()` - /clinical/client-resource-assignments/:id/permanent operation on clinical-client-resource-assignment resource
472
523
 
473
524
  ## Clinical-client-supplement
474
525
 
475
526
  - `getClinicalClient-supplements()` - /clinical/client-supplements operation on clinical-client-supplement resource
527
+ - `getClinicalClient-supplementsArchived()` - /clinical/client-supplements/archived operation on clinical-client-supplement resource
476
528
  - `getClinicalClient-supplementsById()` - /clinical/client-supplements/:id operation on clinical-client-supplement resource
477
529
  - `getClinicalPatientsByIdSupplements()` - /clinical/patients/:id/supplements operation on clinical-client-supplement resource
478
530
  - `postClinicalClient-supplements()` - /clinical/client-supplements operation on clinical-client-supplement resource
479
531
  - `patchClinicalClient-supplementsById()` - /clinical/client-supplements/:id operation on clinical-client-supplement resource
480
- - `deleteClinicalClient-supplementsById()` - /clinical/client-supplements/:id operation on clinical-client-supplement resource
532
+ - `patchClinicalClient-supplementsByIdArchive()` - /clinical/client-supplements/:id/archive operation on clinical-client-supplement resource
533
+ - `patchClinicalClient-supplementsByIdRestore()` - /clinical/client-supplements/:id/restore operation on clinical-client-supplement resource
534
+ - `deleteClinicalClient-supplementsByIdPermanent()` - /clinical/client-supplements/:id/permanent operation on clinical-client-supplement resource
481
535
 
482
536
  ## Clinical-delivery
483
537
 
@@ -490,17 +544,23 @@ flags, workspace mode, and execution limits
490
544
  ## Clinical-goal-template
491
545
 
492
546
  - `getClinicalGoal-templates()` - /clinical/goal-templates operation on clinical-goal-template resource
547
+ - `getClinicalGoal-templatesArchived()` - /clinical/goal-templates/archived operation on clinical-goal-template resource
493
548
  - `getClinicalGoal-templatesById()` - /clinical/goal-templates/:id operation on clinical-goal-template resource
494
549
  - `getClinicalGoal-templatesCatalog()` - /clinical/goal-templates/catalog operation on clinical-goal-template resource
550
+ - `getClinicalGoal-templatesCatalogArchived()` - /clinical/goal-templates/catalog/archived operation on clinical-goal-template resource
495
551
  - `getClinicalGoal-templatesCatalogById()` - /clinical/goal-templates/catalog/:id operation on clinical-goal-template resource
496
552
  - `getClinicalGoal-templatesMine()` - /clinical/goal-templates/mine operation on clinical-goal-template resource
497
553
  - `postClinicalGoal-templates()` - /clinical/goal-templates operation on clinical-goal-template resource
498
554
  - `postClinicalGoal-templatesCatalog()` - /clinical/goal-templates/catalog operation on clinical-goal-template resource
499
555
  - `postClinicalGoal-templatesFrom-existing()` - /clinical/goal-templates/from-existing operation on clinical-goal-template resource
500
556
  - `patchClinicalGoal-templatesById()` - /clinical/goal-templates/:id operation on clinical-goal-template resource
557
+ - `patchClinicalGoal-templatesByIdArchive()` - /clinical/goal-templates/:id/archive operation on clinical-goal-template resource
558
+ - `patchClinicalGoal-templatesByIdRestore()` - /clinical/goal-templates/:id/restore operation on clinical-goal-template resource
501
559
  - `patchClinicalGoal-templatesCatalogById()` - /clinical/goal-templates/catalog/:id operation on clinical-goal-template resource
502
- - `deleteClinicalGoal-templatesById()` - /clinical/goal-templates/:id operation on clinical-goal-template resource
503
- - `deleteClinicalGoal-templatesCatalogById()` - /clinical/goal-templates/catalog/:id operation on clinical-goal-template resource
560
+ - `patchClinicalGoal-templatesCatalogByIdArchive()` - /clinical/goal-templates/catalog/:id/archive operation on clinical-goal-template resource
561
+ - `patchClinicalGoal-templatesCatalogByIdRestore()` - /clinical/goal-templates/catalog/:id/restore operation on clinical-goal-template resource
562
+ - `deleteClinicalGoal-templatesByIdPermanent()` - /clinical/goal-templates/:id/permanent operation on clinical-goal-template resource
563
+ - `deleteClinicalGoal-templatesCatalogByIdPermanent()` - /clinical/goal-templates/catalog/:id/permanent operation on clinical-goal-template resource
504
564
 
505
565
  ## Clinical-goal-template-category
506
566
 
@@ -510,33 +570,47 @@ flags, workspace mode, and execution limits
510
570
  ## Clinical-health-metric
511
571
 
512
572
  - `getClinicalHealth-metrics()` - /clinical/health-metrics operation on clinical-health-metric resource
573
+ - `getClinicalHealth-metricsArchived()` - /clinical/health-metrics/archived operation on clinical-health-metric resource
513
574
  - `getClinicalHealth-metricsBy-session()` - /clinical/health-metrics/by-session operation on clinical-health-metric resource
514
575
  - `getClinicalHealth-metricsById()` - /clinical/health-metrics/:id operation on clinical-health-metric resource
515
576
  - `getClinicalPatientsByIdHealthMetrics()` - /clinical/patients/:id/health_metrics operation on clinical-health-metric resource
516
577
  - `postClinicalHealth-metrics()` - /clinical/health-metrics operation on clinical-health-metric resource
517
578
  - `patchClinicalHealth-metricsById()` - /clinical/health-metrics/:id operation on clinical-health-metric resource
518
- - `deleteClinicalHealth-metricsById()` - /clinical/health-metrics/:id operation on clinical-health-metric resource
579
+ - `patchClinicalHealth-metricsByIdArchive()` - /clinical/health-metrics/:id/archive operation on clinical-health-metric resource
580
+ - `patchClinicalHealth-metricsByIdRestore()` - /clinical/health-metrics/:id/restore operation on clinical-health-metric resource
581
+ - `deleteClinicalHealth-metricsByIdPermanent()` - /clinical/health-metrics/:id/permanent operation on clinical-health-metric resource
582
+
583
+ ## Clinical-import
584
+
585
+ - `getClinicalImports()` - /clinical/imports operation on clinical-import resource
586
+ - `getClinicalImportsById()` - /clinical/imports/:id operation on clinical-import resource
519
587
 
520
588
  ## Clinical-meal-plan
521
589
 
522
590
  - `getClinicalMeal-plans()` - /clinical/meal-plans operation on clinical-meal-plan resource
591
+ - `getClinicalMeal-plansArchived()` - /clinical/meal-plans/archived operation on clinical-meal-plan resource
523
592
  - `getClinicalMeal-plansBy-workspace()` - /clinical/meal-plans/by-workspace operation on clinical-meal-plan resource
524
593
  - `getClinicalMeal-plansById()` - /clinical/meal-plans/:id operation on clinical-meal-plan resource
525
594
  - `getClinicalSessionsByIdMealPlans()` - /clinical/sessions/:id/meal_plans operation on clinical-meal-plan resource
526
595
  - `postClinicalMeal-plans()` - /clinical/meal-plans operation on clinical-meal-plan resource
527
596
  - `patchClinicalMeal-plansById()` - /clinical/meal-plans/:id operation on clinical-meal-plan resource
528
- - `deleteClinicalMeal-plansById()` - /clinical/meal-plans/:id operation on clinical-meal-plan resource
597
+ - `patchClinicalMeal-plansByIdArchive()` - /clinical/meal-plans/:id/archive operation on clinical-meal-plan resource
598
+ - `patchClinicalMeal-plansByIdRestore()` - /clinical/meal-plans/:id/restore operation on clinical-meal-plan resource
599
+ - `deleteClinicalMeal-plansByIdPermanent()` - /clinical/meal-plans/:id/permanent operation on clinical-meal-plan resource
529
600
 
530
601
  ## Clinical-note
531
602
 
532
603
  - `getClinicalNotes()` - /clinical/notes operation on clinical-note resource
604
+ - `getClinicalNotesArchived()` - /clinical/notes/archived operation on clinical-note resource
533
605
  - `getClinicalNotesById()` - /clinical/notes/:id operation on clinical-note resource
534
606
  - `getClinicalSessionsByIdSessionNotes()` - /clinical/sessions/:id/session_notes operation on clinical-note resource
535
607
  - `postClinicalNotes()` - /clinical/notes operation on clinical-note resource
536
608
  - `patchClinicalNotesById()` - /clinical/notes/:id operation on clinical-note resource
537
609
  - `patchClinicalNotesByIdApprove()` - RD approves the clinical note
610
+ - `patchClinicalNotesByIdArchive()` - /clinical/notes/:id/archive operation on clinical-note resource
538
611
  - `patchClinicalNotesByIdReject()` - RD rejects the clinical note.
539
- - `deleteClinicalNotesById()` - /clinical/notes/:id operation on clinical-note resource
612
+ - `patchClinicalNotesByIdRestore()` - /clinical/notes/:id/restore operation on clinical-note resource
613
+ - `deleteClinicalNotesByIdPermanent()` - /clinical/notes/:id/permanent operation on clinical-note resource
540
614
 
541
615
  ## Clinical-note-version
542
616
 
@@ -554,15 +628,21 @@ flags, workspace mode, and execution limits
554
628
  ## Clinical-practice-resource
555
629
 
556
630
  - `getClinicalPractice-resources()` - /clinical/practice-resources operation on clinical-practice-resource resource
631
+ - `getClinicalPractice-resourcesArchived()` - /clinical/practice-resources/archived operation on clinical-practice-resource resource
557
632
  - `getClinicalPractice-resourcesById()` - /clinical/practice-resources/:id operation on clinical-practice-resource resource
558
633
  - `getClinicalPractice-resourcesCatalog()` - /clinical/practice-resources/catalog operation on clinical-practice-resource resource
634
+ - `getClinicalPractice-resourcesCatalogArchived()` - /clinical/practice-resources/catalog/archived operation on clinical-practice-resource resource
559
635
  - `getClinicalPractice-resourcesCatalogById()` - /clinical/practice-resources/catalog/:id operation on clinical-practice-resource resource
560
636
  - `postClinicalPractice-resources()` - /clinical/practice-resources operation on clinical-practice-resource resource
561
637
  - `postClinicalPractice-resourcesCatalog()` - /clinical/practice-resources/catalog operation on clinical-practice-resource resource
562
638
  - `patchClinicalPractice-resourcesById()` - /clinical/practice-resources/:id operation on clinical-practice-resource resource
639
+ - `patchClinicalPractice-resourcesByIdArchive()` - /clinical/practice-resources/:id/archive operation on clinical-practice-resource resource
640
+ - `patchClinicalPractice-resourcesByIdRestore()` - /clinical/practice-resources/:id/restore operation on clinical-practice-resource resource
563
641
  - `patchClinicalPractice-resourcesCatalogById()` - /clinical/practice-resources/catalog/:id operation on clinical-practice-resource resource
564
- - `deleteClinicalPractice-resourcesById()` - /clinical/practice-resources/:id operation on clinical-practice-resource resource
565
- - `deleteClinicalPractice-resourcesCatalogById()` - /clinical/practice-resources/catalog/:id operation on clinical-practice-resource resource
642
+ - `patchClinicalPractice-resourcesCatalogByIdArchive()` - /clinical/practice-resources/catalog/:id/archive operation on clinical-practice-resource resource
643
+ - `patchClinicalPractice-resourcesCatalogByIdRestore()` - /clinical/practice-resources/catalog/:id/restore operation on clinical-practice-resource resource
644
+ - `deleteClinicalPractice-resourcesByIdPermanent()` - /clinical/practice-resources/:id/permanent operation on clinical-practice-resource resource
645
+ - `deleteClinicalPractice-resourcesCatalogByIdPermanent()` - /clinical/practice-resources/catalog/:id/permanent operation on clinical-practice-resource resource
566
646
 
567
647
  ## Clinical-practice-resource-category
568
648
 
@@ -572,21 +652,32 @@ flags, workspace mode, and execution limits
572
652
  ## Clinical-practice-tool
573
653
 
574
654
  - `getClinicalPractice-tools()` - /clinical/practice-tools operation on clinical-practice-tool resource
655
+ - `getClinicalPractice-toolsArchived()` - /clinical/practice-tools/archived operation on clinical-practice-tool resource
575
656
  - `getClinicalPractice-toolsById()` - /clinical/practice-tools/:id operation on clinical-practice-tool resource
576
657
  - `getClinicalPractice-toolsCatalog()` - /clinical/practice-tools/catalog operation on clinical-practice-tool resource
658
+ - `getClinicalPractice-toolsCatalogArchived()` - /clinical/practice-tools/catalog/archived operation on clinical-practice-tool resource
577
659
  - `getClinicalPractice-toolsCatalogById()` - /clinical/practice-tools/catalog/:id operation on clinical-practice-tool resource
578
660
  - `postClinicalPractice-tools()` - /clinical/practice-tools operation on clinical-practice-tool resource
579
661
  - `postClinicalPractice-toolsCatalog()` - /clinical/practice-tools/catalog operation on clinical-practice-tool resource
580
662
  - `patchClinicalPractice-toolsById()` - /clinical/practice-tools/:id operation on clinical-practice-tool resource
663
+ - `patchClinicalPractice-toolsByIdArchive()` - /clinical/practice-tools/:id/archive operation on clinical-practice-tool resource
664
+ - `patchClinicalPractice-toolsByIdRestore()` - /clinical/practice-tools/:id/restore operation on clinical-practice-tool resource
581
665
  - `patchClinicalPractice-toolsCatalogById()` - /clinical/practice-tools/catalog/:id operation on clinical-practice-tool resource
582
- - `deleteClinicalPractice-toolsById()` - /clinical/practice-tools/:id operation on clinical-practice-tool resource
583
- - `deleteClinicalPractice-toolsCatalogById()` - /clinical/practice-tools/catalog/:id operation on clinical-practice-tool resource
666
+ - `patchClinicalPractice-toolsCatalogByIdArchive()` - /clinical/practice-tools/catalog/:id/archive operation on clinical-practice-tool resource
667
+ - `patchClinicalPractice-toolsCatalogByIdRestore()` - /clinical/practice-tools/catalog/:id/restore operation on clinical-practice-tool resource
668
+ - `deleteClinicalPractice-toolsByIdPermanent()` - /clinical/practice-tools/:id/permanent operation on clinical-practice-tool resource
669
+ - `deleteClinicalPractice-toolsCatalogByIdPermanent()` - /clinical/practice-tools/catalog/:id/permanent operation on clinical-practice-tool resource
584
670
 
585
671
  ## Clinical-practice-tool-category
586
672
 
587
673
  - `getClinicalPractice-toolsCategories()` - /clinical/practice-tools/categories operation on clinical-practice-tool-category resource
588
674
  - `getClinicalPractice-toolsCategoriesCatalog()` - /clinical/practice-tools/categories/catalog operation on clinical-practice-tool-category resource
589
675
 
676
+ ## Clinical-resource-import
677
+
678
+ - `getClinicalResource-imports()` - /clinical/resource-imports operation on clinical-resource-import resource
679
+ - `getClinicalResource-importsById()` - /clinical/resource-imports/:id operation on clinical-resource-import resource
680
+
590
681
  ## Clinical-session
591
682
 
592
683
  - `getClinicalSessions()` - /clinical/sessions operation on clinical-session resource
@@ -667,7 +758,15 @@ flags, workspace mode, and execution limits
667
758
  - `postConnectorsByIdSync()` - Execute an action on an external connector
668
759
  - `postConnectorsFullscriptCheck-patient()` - Check if a patient exists in Fullscript by email
669
760
  - `postConnectorsFullscriptCreate-patient()` - Create a patient in Fullscript
761
+ - `postConnectorsFullscriptOrdersGet()` - Get order details from Fullscript
762
+ - `postConnectorsFullscriptOrdersList()` - List orders for a Fullscript patient
763
+ - `postConnectorsFullscriptProductsGet()` - Get product details from Fullscript
764
+ - `postConnectorsFullscriptProductsSearch()` - Search the Fullscript product catalog
765
+ - `postConnectorsFullscriptProductsSimilar()` - List similar products from Fullscript
670
766
  - `postConnectorsFullscriptSession-grant()` - Get a Fullscript embed session grant token for the prescribing widget
767
+ - `postConnectorsFullscriptTreatment-plansCancel()` - Cancel an active Fullscript treatment plan
768
+ - `postConnectorsFullscriptTreatment-plansGet()` - Get treatment plan details from Fullscript
769
+ - `postConnectorsFullscriptTreatment-plansList()` - List treatment plans for a Fullscript patient
671
770
  - `postConnectorsOauthCallback()` - Exchange OAuth authorization code for credential.
672
771
  - `postConnectorsOauthInitiate()` - Initiate OAuth flow for a connector type
673
772
  - `patchConnectorsById()` - Update a connector instance's name, configuration, sync interval, health status, or metadata
@@ -694,14 +793,6 @@ flags, workspace mode, and execution limits
694
793
  - `postContentShorten()` - Shorten text to a target character count.
695
794
  - `postContentSuggest-topics()` - Suggest content topics based on industry and audience.
696
795
 
697
- ## Conversations
698
-
699
- - `getAiConversations()` - /ai/conversations operation on conversation resource
700
- - `getAiConversationsById()` - /ai/conversations/:id operation on conversation resource
701
- - `postAiConversations()` - Start a new AI conversation session with optional structured context data (e.g., prediction results to discuss)
702
- - `patchAiConversationsById()` - Update the conversation title or replace the context data map
703
- - `deleteAiConversationsById()` - /ai/conversations/:id operation on conversation resource
704
-
705
796
  ## Crawler job
706
797
 
707
798
  - `getCrawlerJobs()` - /crawler/jobs operation on crawler_job resource
@@ -1167,6 +1258,7 @@ fields
1167
1258
  - `getFeature-usages()` - List all feature usage records.
1168
1259
  - `getFeature-usagesBy-tenantByTenantId()` - List feature usage records for a specific tenant.
1169
1260
  - `getFeature-usagesById()` - Fetch a single feature usage record by ID.
1261
+ - `postFeature-usagesIncrement()` - Increment usage for a feature by key
1170
1262
 
1171
1263
  ## Field mapping confirmation
1172
1264
 
@@ -1251,17 +1343,6 @@ fields
1251
1343
  - `getLlm-analyticsWorkspace()` - Fetch LLM analytics scoped to a single workspace; use for per-workspace usage dashboards and cost attribution.
1252
1344
  - `postLlm-analytics()` - Append a single LLM call analytics record (model, tokens, latency, cost); called by the billing/analytics pipeline after each LLM invocation
1253
1345
 
1254
- ## Messages
1255
-
1256
- - `getMessages()` - /messages operation on message resource
1257
- - `getMessagesById()` - /messages/:id operation on message resource
1258
- - `getMessagesSearch()` - Full-text search messages by substring match on content within the actor's accessible threads
1259
- - `getMessagesSemantic-search()` - Vector similarity search across messages using a generated embedding of the query string
1260
- - `getThreadsByIdMessages()` - /threads/:id/messages operation on message resource
1261
- - `postMessages()` - Add a new message turn to a thread
1262
- - `patchMessagesById()` - Edit a message's content, role, or metadata
1263
- - `deleteMessagesById()` - /messages/:id operation on message resource
1264
-
1265
1346
  ## Notification log
1266
1347
 
1267
1348
  - `getNotification-logs()` - /notification-logs operation on notification_log resource
@@ -1311,14 +1392,14 @@ fields
1311
1392
 
1312
1393
  ## Permission
1313
1394
 
1314
- - `getPermissions()` - List all platform permissions for a given context (:tenant or :workspace); returns permission metadata from the PermissionRegistry for use in permission-picker UIs.
1395
+ - `getPermissions()` - List all registered permissions from the PermissionRegistry, optionally filtered by app, context, or category
1315
1396
  - `getPermissionsById()` - Fetch all permissions and apply any query filters supplied by the caller; use :by_id for single-record lookup by permission ID string.
1316
1397
 
1317
- ## Permission meta
1398
+ ## Permission-meta
1318
1399
 
1319
1400
  - `getPermissionsMeta()` - Fetch a single metadata record describing the permission system — schema version, available apps, scopes, categories, and suggested client cache TTL
1320
1401
 
1321
- ## Permission preset
1402
+ ## Permission-preset
1322
1403
 
1323
1404
  - `getPermissionsPresets()` - List all permission presets (pre-defined role bundles) from the PermissionRegistry, optionally filtered by context and app
1324
1405
  - `getPermissionsPresetsById()` - Fetch a single permission preset by its composite ID (e.g., 'workspace:org:admin'); returns the preset with its full permission list or a not-found error.
@@ -1803,31 +1884,6 @@ plan tier, vanity slug, and storage spending cap
1803
1884
  - `patchTenantsByIdUnsuspend()` - Restore a suspended tenant to active status.
1804
1885
  - `deleteTenantsById()` - Permanently delete a tenant and all associated data
1805
1886
 
1806
- ## Thread stats
1807
-
1808
- - `getThreadsStats()` - Return platform-wide chat statistics including total threads, total messages, threads active in the last 24h and 7d, message distribution by role, and top 10 workspaces by thread count
1809
-
1810
- ## Thread workspace stats
1811
-
1812
- - `getThreadsWorkspace-stats()` - Return aggregated chat statistics for the actor's current workspace: total threads, total messages, activity counts for 24h and 7d windows, and message distribution by role
1813
-
1814
- ## Threads
1815
-
1816
- - `getThreads()` - /threads operation on thread resource
1817
- - `getThreadsById()` - /threads/:id operation on thread resource
1818
- - `getThreadsSearch()` - Full-text search threads by title or context summary within the actor's accessible workspace
1819
- - `postThreads()` - Create a new conversation thread scoped to a tenant, workspace, and user
1820
- - `postThreadsActive()` - Return the current user's active thread for their workspace, creating a new one if none exists or the existing thread has expired (>24h inactive)
1821
- - `postThreadsByIdComplete()` - Trigger AI inference on an existing thread without providing new user message content
1822
- - `postThreadsByIdExport()` - Export thread with messages to JSON, Markdown, or plain text format
1823
- - `postThreadsByIdFork()` - Fork a thread by cloning it with all its messages
1824
- - `postThreadsByIdMessages()` - Submit a user message to a thread and receive the AI response synchronously
1825
- - `postThreadsByIdSummarize()` - Generate a 2-3 sentence LLM summary of the thread's message history and persist it as `context_summary`
1826
- - `patchThreadsById()` - Update the thread's title or context summary
1827
- - `patchThreadsByIdArchive()` - Archive a thread by setting `archived_at` to the current timestamp
1828
- - `patchThreadsByIdUnarchive()` - Restore an archived thread by clearing `archived_at`, making it visible in the default thread list again.
1829
- - `deleteThreadsById()` - /threads/:id operation on thread resource
1830
-
1831
1887
  ## Token
1832
1888
 
1833
1889
  - `postTokens()` - Create a payment token
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-platform/admin",
3
- "version": "0.8.5",
3
+ "version": "0.9.0",
4
4
  "description": "TypeScript SDK for GPT Platform Admin API - Platform administration and ISV management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",