@gpt-platform/admin 0.5.0 → 0.5.1

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
@@ -62,6 +62,13 @@ client.setConfig({
62
62
  - `getAgent-version-revisions()` - /agent-version-revisions operation on agent_version_revision resource
63
63
  - `getAgent-version-revisionsById()` - /agent-version-revisions/:id operation on agent_version_revision resource
64
64
 
65
+ ## Agent-execution
66
+
67
+ - `getAgent-executions()` - /agent-executions operation on agent-execution resource
68
+ - `getAgent-executionsById()` - /agent-executions/:id operation on agent-execution resource
69
+ - `patchAgent-executionsByIdCancel()` - /agent-executions/:id/cancel operation on agent-execution resource
70
+ - `patchAgent-executionsByIdResume()` - /agent-executions/:id/resume operation on agent-execution resource
71
+
65
72
  ## AI Agents
66
73
 
67
74
  - `getAgent-versions()` - List AgentVersions, optionally filtered to a specific agent
@@ -89,6 +96,7 @@ client.setConfig({
89
96
  - `postAgentsClone-for-workspace()` - Clone a system agent for workspace-specific customization
90
97
  - `postAgentsImport()` - Import an agent from a JSON payload produced by `:export`
91
98
  - `postAgentsPredict()` - Predicts the best agents for a given input
99
+ - `patchAgent-versionsById()` - Update an AgentVersion's prompt template, field descriptions, or changes summary
92
100
  - `patchAgentsByIdSchema-versionsByVersionId()` - Update a schema version without creating a new version
93
101
  - `deleteAgent-versionsById()` - Delete an AgentVersion
94
102
  - `deleteAgentsByIdTraining-examplesByExampleId()` - Delete a training example belonging to this agent
@@ -104,14 +112,17 @@ client.setConfig({
104
112
 
105
113
  - `getTraining-examples()` - List training examples with filtering support
106
114
  - `getTraining-examplesById()` - Fetch a single TrainingExample by ID.
115
+ - `getTraining-sessions()` - /training-sessions operation on training_session resource
107
116
  - `getTraining-sessionsAgentsByAgentIdSessions()` - /training-sessions/agents/:agent_id/sessions operation on training_session resource
108
117
  - `getTraining-sessionsById()` - /training-sessions/:id operation on training_session resource
109
118
  - `postTraining-examples()` - Create a single training example (golden example for few-shot learning)
110
119
  - `postTraining-examplesBulk()` - Create multiple training examples in a single transaction using `Ash.bulk_create`
111
120
  - `postTraining-examplesBulk-delete()` - Delete multiple training examples by ID in a single transaction
112
121
  - `postTraining-examplesSearch()` - Public entry point for semantic similarity search over training examples
122
+ - `postTraining-sessions()` - /training-sessions operation on training_session resource
113
123
  - `patchTraining-examplesById()` - Update an existing training example's input text, expected output JSON, notes,
114
124
  correction reasons, or image reference
125
+ - `patchTraining-sessionsByIdRevert()` - /training-sessions/:id/revert operation on training_session resource
115
126
  - `deleteTraining-examplesById()` - /training-examples/:id operation on training_example resource
116
127
  - `deleteTraining-sessionsById()` - /training-sessions/:id operation on training_session resource
117
128
 
@@ -121,17 +132,6 @@ correction reasons, or image reference
121
132
  - `postAiMessages()` - Append a new message turn (system, user, or assistant) to a Conversation
122
133
  - `deleteAiMessagesById()` - /ai/messages/:id operation on ai-message resource
123
134
 
124
- ## Analytics
125
-
126
- - `getLlmAnalytics()` - List LLM analytics records sorted by created_at descending; scoped to the caller's tenant.
127
- - `getLlmAnalyticsById()` - /llm_analytics/:id operation on llm_analytics resource
128
- - `getLlmAnalyticsCosts()` - Retrieve cost-focused analytics records for the caller's tenant; use for billing reconciliation and cost analysis.
129
- - `getLlmAnalyticsPlatform()` - Platform-wide analytics summary (platform admin only)
130
- - `getLlmAnalyticsSummary()` - Aggregate LLM usage and cost statistics optionally filtered by a date range; returns a single summary record.
131
- - `getLlmAnalyticsUsage()` - Return token usage summary analytics for the caller's tenant; useful for quota monitoring and capacity planning.
132
- - `getLlmAnalyticsWorkspace()` - Fetch LLM analytics scoped to a single workspace; use for per-workspace usage dashboards and cost attribution.
133
- - `postLlmAnalytics()` - Append a single LLM call analytics record (model, tokens, latency, cost); called by the billing/analytics pipeline after each LLM invocation
134
-
135
135
  ## API Keys
136
136
 
137
137
  - `getApi-keys()` - List or fetch API keys
@@ -923,6 +923,17 @@ fields
923
923
  - `patchLegal-documentsByIdUnpublish()` - Deactivate a legal document without deleting it
924
924
  - `deleteLegal-documentsById()` - /legal-documents/:id operation on legal_document resource
925
925
 
926
+ ## Llm-analytics
927
+
928
+ - `getLlm-analytics()` - List LLM analytics records sorted by created_at descending; scoped to the caller's tenant.
929
+ - `getLlm-analyticsById()` - /llm-analytics/:id operation on llm-analytics resource
930
+ - `getLlm-analyticsCosts()` - Retrieve cost-focused analytics records for the caller's tenant; use for billing reconciliation and cost analysis.
931
+ - `getLlm-analyticsPlatform()` - Platform-wide analytics summary (platform admin only)
932
+ - `getLlm-analyticsSummary()` - Aggregate LLM usage and cost statistics optionally filtered by a date range; returns a single summary record.
933
+ - `getLlm-analyticsUsage()` - Return token usage summary analytics for the caller's tenant; useful for quota monitoring and capacity planning.
934
+ - `getLlm-analyticsWorkspace()` - Fetch LLM analytics scoped to a single workspace; use for per-workspace usage dashboards and cost attribution.
935
+ - `postLlm-analytics()` - Append a single LLM call analytics record (model, tokens, latency, cost); called by the billing/analytics pipeline after each LLM invocation
936
+
926
937
  ## Messages
927
938
 
928
939
  - `getMessages()` - /messages operation on message resource
@@ -1289,6 +1300,95 @@ fields
1289
1300
  - `patchStorage-recommendationsByIdAccept()` - /storage-recommendations/:id/accept operation on storage-recommendation resource
1290
1301
  - `patchStorage-recommendationsByIdDismiss()` - /storage-recommendations/:id/dismiss operation on storage-recommendation resource
1291
1302
 
1303
+ ## Support ai config
1304
+
1305
+ - `getSupportAi-configsWorkspaceByWorkspaceId()` - Fetch the AI configuration for a specific workspace
1306
+ - `postSupportAi-configs()` - Create or update the AI configuration for a workspace (upsert — one config per workspace)
1307
+
1308
+ ## Support canned response
1309
+
1310
+ - `getSupportCanned-responsesWorkspaceByWorkspaceId()` - List all canned responses for a workspace
1311
+ - `postSupportCanned-responses()` - Create a pre-written response template for agent use
1312
+ - `patchSupportCanned-responsesById()` - Update a canned response's content, category, or shortcut
1313
+ - `deleteSupportCanned-responsesById()` - /support/canned-responses/:id operation on support_canned_response resource
1314
+
1315
+ ## Support channel capture config
1316
+
1317
+ - `getSupportChannel-capture-configsWorkspaceByWorkspaceId()` - Fetch the channel capture configuration for a workspace
1318
+ - `postSupportChannel-capture-configs()` - Create or update the channel capture configuration for a workspace (upsert — one config per workspace)
1319
+
1320
+ ## Support queue
1321
+
1322
+ - `getSupportQueuesApplicationByApplicationId()` - List all queues for an application
1323
+ - `getSupportQueuesById()` - /support/queues/:id operation on support_queue resource
1324
+ - `postSupportQueues()` - Create an application-scoped support queue
1325
+ - `patchSupportQueuesById()` - Update queue settings including ai_mode, SLA policy, priority boost, and business hours
1326
+ - `deleteSupportQueuesById()` - /support/queues/:id operation on support_queue resource
1327
+
1328
+ ## Support queue member
1329
+
1330
+ - `getSupportQueue-membersApplicationByApplicationId()` - List all queue members across all queues for an application
1331
+ - `getSupportQueue-membersQueueByQueueId()` - List all members of a specific queue including their role, capacity, and availability
1332
+ - `postSupportQueue-members()` - Add an agent to a support queue with a role and capacity
1333
+ - `patchSupportQueue-membersById()` - Update a queue member's role, ticket capacity, or availability status
1334
+ - `deleteSupportQueue-membersById()` - /support/queue-members/:id operation on support_queue_member resource
1335
+
1336
+ ## Support routing rule
1337
+
1338
+ - `getSupportRouting-rulesApplicationByApplicationId()` - List all routing rules for an application, sorted by priority ascending (lower first)
1339
+ - `getSupportRouting-rulesById()` - /support/routing-rules/:id operation on support_routing_rule resource
1340
+ - `postSupportRouting-rules()` - Create a ticket routing rule for an application
1341
+ - `patchSupportRouting-rulesById()` - Update a routing rule's conditions, action, parameters, or priority order
1342
+ - `deleteSupportRouting-rulesById()` - /support/routing-rules/:id operation on support_routing_rule resource
1343
+
1344
+ ## Support sla policy
1345
+
1346
+ - `getSupportSla-policiesApplicationByApplicationId()` - List all SLA policies for an application
1347
+ - `getSupportSla-policiesById()` - /support/sla-policies/:id operation on support_sla_policy resource
1348
+ - `postSupportSla-policies()` - Create an application-scoped SLA policy defining first_response and resolution targets in minutes
1349
+ - `patchSupportSla-policiesById()` - Update SLA policy targets or business hours setting
1350
+ - `deleteSupportSla-policiesById()` - /support/sla-policies/:id operation on support_sla_policy resource
1351
+
1352
+ ## Support sync config
1353
+
1354
+ - `getSupportSync-configsWorkspaceByWorkspaceId()` - List all sync configurations for a workspace, one per connector instance
1355
+ - `postSupportSync-configs()` - Create a connector sync configuration for a workspace+connector pair
1356
+ - `patchSupportSync-configsById()` - Update sync configuration: toggle enabled, change direction, update status mapping, or adjust interval
1357
+ - `deleteSupportSync-configsById()` - /support/sync-configs/:id operation on support_sync_config resource
1358
+
1359
+ ## Support tag
1360
+
1361
+ - `getSupportTagsWorkspaceByWorkspaceId()` - List all tags defined for a workspace
1362
+ - `postSupportTags()` - Create a workspace-scoped ticket tag
1363
+ - `deleteSupportTagsById()` - Hard-delete a tag
1364
+
1365
+ ## Support ticket
1366
+
1367
+ - `getSupportTicketsById()` - Fetch a single active ticket by ID
1368
+ - `getSupportTicketsWorkspaceByWorkspaceId()` - List active tickets for a workspace, optionally filtered by status, priority, queue, or agent
1369
+ - `postSupportTickets()` - Create a support ticket
1370
+ - `patchSupportTicketsById()` - Update ticket fields including status (validated by ValidStatusTransition), queue assignment, SLA, and AI classification fields
1371
+ - `patchSupportTicketsByIdAssign()` - Assign a ticket to an agent, setting status to :open
1372
+ - `patchSupportTicketsByIdClose()` - Close a resolved ticket, ending the ticket lifecycle
1373
+ - `patchSupportTicketsByIdMerge()` - Close this ticket by merging it with another ticket
1374
+ - `patchSupportTicketsByIdReopen()` - Reopen a resolved or closed ticket, setting status back to :open
1375
+ - `patchSupportTicketsByIdResolve()` - Mark a ticket as resolved, recording resolved_at timestamp
1376
+ - `deleteSupportTicketsById()` - Soft-delete a ticket by setting deleted_at
1377
+
1378
+ ## Support ticket attachment
1379
+
1380
+ - `getSupportTicket-attachmentsMessageByTicketMessageId()` - List all attachments for a specific ticket message
1381
+ - `postSupportTicket-attachments()` - Register a file attachment on a ticket message
1382
+
1383
+ ## Support ticket message
1384
+
1385
+ - `getSupportTicket-messagesTicketByTicketId()` - List all messages on a ticket in chronological order
1386
+ - `postSupportTicket-messages()` - Add a message to a ticket thread
1387
+
1388
+ ## Support ticket rating
1389
+
1390
+ - `postSupportTicket-ratings()` - Submit or update a CSAT rating (1-5) for a resolved ticket
1391
+
1292
1392
  ## Sync-log
1293
1393
 
1294
1394
  - `getConnectorsSync-logs()` - /connectors/sync-logs operation on sync-log resource
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-platform/admin",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
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",