current-cli 0.1.64__tar.gz → 0.1.65__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: current-cli
3
- Version: 0.1.64
3
+ Version: 0.1.65
4
4
  Summary: Command line interface for the Current API, generated from its OpenAPI schema at runtime
5
5
  Author-email: Orin <your-email@example.com>
6
6
  License-Expression: MIT
@@ -4604,6 +4604,27 @@ paths:
4604
4604
  schema:
4605
4605
  $ref: '#/components/schemas/PromoteResponse'
4606
4606
  description: ''
4607
+ /api/workflows/runs/{run_id}/models/snapshots/:
4608
+ get:
4609
+ operationId: workflows_runs_models_snapshots_retrieve
4610
+ parameters:
4611
+ - in: path
4612
+ name: run_id
4613
+ schema:
4614
+ type: string
4615
+ format: uuid
4616
+ required: true
4617
+ tags:
4618
+ - workflows
4619
+ security:
4620
+ - RunTokenAuth: []
4621
+ responses:
4622
+ '200':
4623
+ content:
4624
+ application/json:
4625
+ schema:
4626
+ $ref: '#/components/schemas/ModelSnapshotsResponse'
4627
+ description: ''
4607
4628
  /api/workflows/runs/{run_id}/tools/{tool_name}/invoke/:
4608
4629
  post:
4609
4630
  operationId: workflows_runs_tools_invoke_create
@@ -4984,6 +5005,96 @@ paths:
4984
5005
  schema:
4985
5006
  $ref: '#/components/schemas/AcceptInviteResponse'
4986
5007
  description: ''
5008
+ /api/workspaces/models/:
5009
+ get:
5010
+ operationId: workspaces_models_list
5011
+ description: Discover and read models belonging to the caller's workspace.
5012
+ tags:
5013
+ - workspaces
5014
+ security:
5015
+ - MessagingJobTokenAuth: []
5016
+ - tokenAuth: []
5017
+ responses:
5018
+ '200':
5019
+ content:
5020
+ application/json:
5021
+ schema:
5022
+ type: array
5023
+ items:
5024
+ $ref: '#/components/schemas/WorkspaceModel'
5025
+ description: ''
5026
+ /api/workspaces/models/{id}/:
5027
+ get:
5028
+ operationId: workspaces_models_retrieve
5029
+ description: Discover and read models belonging to the caller's workspace.
5030
+ parameters:
5031
+ - in: path
5032
+ name: id
5033
+ schema:
5034
+ type: string
5035
+ format: uuid
5036
+ description: A UUID string identifying this workspace model.
5037
+ required: true
5038
+ tags:
5039
+ - workspaces
5040
+ security:
5041
+ - MessagingJobTokenAuth: []
5042
+ - tokenAuth: []
5043
+ responses:
5044
+ '200':
5045
+ content:
5046
+ application/json:
5047
+ schema:
5048
+ $ref: '#/components/schemas/WorkspaceModel'
5049
+ description: ''
5050
+ /api/workspaces/models/{id}/records/:
5051
+ get:
5052
+ operationId: workspaces_models_records_retrieve
5053
+ description: Discover and read models belonging to the caller's workspace.
5054
+ parameters:
5055
+ - in: path
5056
+ name: id
5057
+ schema:
5058
+ type: string
5059
+ format: uuid
5060
+ description: A UUID string identifying this workspace model.
5061
+ required: true
5062
+ tags:
5063
+ - workspaces
5064
+ security:
5065
+ - MessagingJobTokenAuth: []
5066
+ - tokenAuth: []
5067
+ responses:
5068
+ '200':
5069
+ content:
5070
+ application/json:
5071
+ schema:
5072
+ $ref: '#/components/schemas/WorkspaceModel'
5073
+ description: ''
5074
+ /api/workspaces/models/{id}/snapshot/:
5075
+ get:
5076
+ operationId: workspaces_models_snapshot_retrieve
5077
+ description: Discover and read models belonging to the caller's workspace.
5078
+ parameters:
5079
+ - in: path
5080
+ name: id
5081
+ schema:
5082
+ type: string
5083
+ format: uuid
5084
+ description: A UUID string identifying this workspace model.
5085
+ required: true
5086
+ tags:
5087
+ - workspaces
5088
+ security:
5089
+ - MessagingJobTokenAuth: []
5090
+ - tokenAuth: []
5091
+ responses:
5092
+ '200':
5093
+ content:
5094
+ application/json:
5095
+ schema:
5096
+ $ref: '#/components/schemas/WorkspaceModel'
5097
+ description: ''
4987
5098
  /api/workspaces/workspaces/:
4988
5099
  get:
4989
5100
  operationId: workspaces_workspaces_list
@@ -7299,6 +7410,14 @@ components:
7299
7410
  required:
7300
7411
  - paths
7301
7412
  - project
7413
+ ModelSnapshotsResponse:
7414
+ type: object
7415
+ properties:
7416
+ models:
7417
+ type: object
7418
+ additionalProperties: {}
7419
+ required:
7420
+ - models
7302
7421
  NullEnum:
7303
7422
  enum:
7304
7423
  - null
@@ -9801,6 +9920,42 @@ components:
9801
9920
  properties:
9802
9921
  role:
9803
9922
  $ref: '#/components/schemas/RoleEnum'
9923
+ WorkspaceModel:
9924
+ type: object
9925
+ properties:
9926
+ id:
9927
+ type: string
9928
+ format: uuid
9929
+ readOnly: true
9930
+ workspace:
9931
+ type: string
9932
+ format: uuid
9933
+ readOnly: true
9934
+ key:
9935
+ type: string
9936
+ readOnly: true
9937
+ pattern: ^[-a-zA-Z0-9_]+$
9938
+ label:
9939
+ type: string
9940
+ readOnly: true
9941
+ description:
9942
+ type: string
9943
+ readOnly: true
9944
+ revision:
9945
+ type: string
9946
+ format: uuid
9947
+ readOnly: true
9948
+ preloaded:
9949
+ type: boolean
9950
+ readOnly: true
9951
+ required:
9952
+ - description
9953
+ - id
9954
+ - key
9955
+ - label
9956
+ - preloaded
9957
+ - revision
9958
+ - workspace
9804
9959
  WorkspaceRequest:
9805
9960
  type: object
9806
9961
  properties:
@@ -1498,6 +1498,10 @@ Options:
1498
1498
  - `--workflow` - Filter by workflow UUID
1499
1499
  - `--workspace` - Filter by workspace UUID
1500
1500
 
1501
+ ### current workflows runs models snapshots retrieve <run_id>
1502
+
1503
+ GET /api/workflows/runs/{run_id}/models/snapshots/
1504
+
1501
1505
  ### current workflows runs retrieve <id>
1502
1506
 
1503
1507
  Run history for workflows in the caller's workspaces, with step
@@ -1646,6 +1650,30 @@ PUT /api/workspaces/workspaces/{workspace_id}/members/{id}/
1646
1650
  Options:
1647
1651
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
1648
1652
 
1653
+ ### current workspaces models list
1654
+
1655
+ Discover and read models belonging to the caller's workspace.
1656
+
1657
+ GET /api/workspaces/models/
1658
+
1659
+ ### current workspaces models records retrieve <id>
1660
+
1661
+ Discover and read models belonging to the caller's workspace.
1662
+
1663
+ GET /api/workspaces/models/{id}/records/
1664
+
1665
+ ### current workspaces models retrieve <id>
1666
+
1667
+ Discover and read models belonging to the caller's workspace.
1668
+
1669
+ GET /api/workspaces/models/{id}/
1670
+
1671
+ ### current workspaces models snapshot retrieve <id>
1672
+
1673
+ Discover and read models belonging to the caller's workspace.
1674
+
1675
+ GET /api/workspaces/models/{id}/snapshot/
1676
+
1649
1677
  ### current workspaces partial-update <id>
1650
1678
 
1651
1679
  Workspaces the current user belongs to. Creating one makes you its admin.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.64"
3
+ version = "0.1.65"
4
4
  description = "Command line interface for the Current API, generated from its OpenAPI schema at runtime"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes