|
4230 | 4230 | "/ml/text-to-cad/iteration": {
|
4231 | 4231 | "post": {
|
4232 | 4232 | "tags": [
|
4233 |
| - "ml", |
4234 |
| - "beta" |
| 4233 | + "ml" |
4235 | 4234 | ],
|
4236 | 4235 | "summary": "Iterate on a CAD model with a prompt.",
|
4237 | 4236 | "description": "Even if you give specific ranges to edit, the model might change more than just those in order to make the changes you requested without breaking the code.\n\nYou always get the whole code back, even if you only changed a small part of it.\n\nThis operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.\n\nThis endpoint will soon be deprecated in favor of the `/ml/text-to-cad/multi-file/iteration` endpoint. In that the endpoint path will remain but it will have the same behavior as `ml/text-to-cad/multi-file/iteration`.",
|
|
4389 | 4388 | "/ml/text-to-cad/multi-file/iteration": {
|
4390 | 4389 | "post": {
|
4391 | 4390 | "tags": [
|
4392 |
| - "ml", |
4393 |
| - "beta" |
| 4391 | + "ml" |
4394 | 4392 | ],
|
4395 | 4393 | "summary": "Iterate on a multi-file CAD model with a prompt.",
|
4396 | 4394 | "description": "This endpoint can iterate on multi-file models.\n\nEven if you give specific ranges to edit, the model might change more than just those in order to make the changes you requested without breaking the code.\n\nYou always get the whole code back, even if you only changed a small part of it. This endpoint will always return all the code back, including files that were not changed. If your original source code imported a stl/gltf/step/etc file, the output will not include that file since the model will never change non-kcl files. The endpoint will only return the kcl files that were changed.\n\nThis operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.",
|
|
7077 | 7075 | "summary": "Get balance for your org.",
|
7078 | 7076 | "description": "This endpoint requires authentication by an org admin. It gets the balance information for the authenticated user's org.",
|
7079 | 7077 | "operationId": "get_payment_balance_for_org",
|
| 7078 | + "parameters": [ |
| 7079 | + { |
| 7080 | + "in": "query", |
| 7081 | + "name": "include_total_due", |
| 7082 | + "description": "If you would like to return the total due for a user. This makes the API call take longer so it is off by default.", |
| 7083 | + "schema": { |
| 7084 | + "type": "boolean" |
| 7085 | + } |
| 7086 | + } |
| 7087 | + ], |
7080 | 7088 | "responses": {
|
7081 | 7089 | "200": {
|
7082 | 7090 | "description": "successful operation",
|
|
9651 | 9659 | "description": "This endpoint requires authentication by a Zoo employee. It gets the balance information for the specified org.",
|
9652 | 9660 | "operationId": "get_payment_balance_for_any_org",
|
9653 | 9661 | "parameters": [
|
| 9662 | + { |
| 9663 | + "in": "query", |
| 9664 | + "name": "include_total_due", |
| 9665 | + "description": "If you would like to return the total due for a user. This makes the API call take longer so it is off by default.", |
| 9666 | + "schema": { |
| 9667 | + "type": "boolean" |
| 9668 | + } |
| 9669 | + }, |
9654 | 9670 | {
|
9655 | 9671 | "in": "path",
|
9656 | 9672 | "name": "id",
|
|
9747 | 9763 | "schema": {
|
9748 | 9764 | "$ref": "#/components/schemas/Uuid"
|
9749 | 9765 | }
|
| 9766 | + }, |
| 9767 | + { |
| 9768 | + "in": "query", |
| 9769 | + "name": "include_total_due", |
| 9770 | + "description": "If you would like to return the total due for a user. This makes the API call take longer so it is off by default.", |
| 9771 | + "schema": { |
| 9772 | + "type": "boolean" |
| 9773 | + } |
9750 | 9774 | }
|
9751 | 9775 | ],
|
9752 | 9776 | "requestBody": {
|
|
13365 | 13389 | "summary": "Get balance for your user.",
|
13366 | 13390 | "description": "This endpoint requires authentication by any Zoo user. It gets the balance information for the authenticated user.",
|
13367 | 13391 | "operationId": "get_payment_balance_for_user",
|
| 13392 | + "parameters": [ |
| 13393 | + { |
| 13394 | + "in": "query", |
| 13395 | + "name": "include_total_due", |
| 13396 | + "description": "If you would like to return the total due for a user. This makes the API call take longer so it is off by default.", |
| 13397 | + "schema": { |
| 13398 | + "type": "boolean" |
| 13399 | + } |
| 13400 | + } |
| 13401 | + ], |
13368 | 13402 | "responses": {
|
13369 | 13403 | "200": {
|
13370 | 13404 | "description": "successful operation",
|
|
16146 | 16180 | "schema": {
|
16147 | 16181 | "$ref": "#/components/schemas/UserIdentifier"
|
16148 | 16182 | }
|
| 16183 | + }, |
| 16184 | + { |
| 16185 | + "in": "query", |
| 16186 | + "name": "include_total_due", |
| 16187 | + "description": "If you would like to return the total due for a user. This makes the API call take longer so it is off by default.", |
| 16188 | + "schema": { |
| 16189 | + "type": "boolean" |
| 16190 | + } |
16149 | 16191 | }
|
16150 | 16192 | ],
|
16151 | 16193 | "responses": {
|
|
16234 | 16276 | "schema": {
|
16235 | 16277 | "$ref": "#/components/schemas/UserIdentifier"
|
16236 | 16278 | }
|
| 16279 | + }, |
| 16280 | + { |
| 16281 | + "in": "query", |
| 16282 | + "name": "include_total_due", |
| 16283 | + "description": "If you would like to return the total due for a user. This makes the API call take longer so it is off by default.", |
| 16284 | + "schema": { |
| 16285 | + "type": "boolean" |
| 16286 | + } |
16237 | 16287 | }
|
16238 | 16288 | ],
|
16239 | 16289 | "requestBody": {
|
|
16421 | 16471 | "/ws/modeling/commands": {
|
16422 | 16472 | "get": {
|
16423 | 16473 | "tags": [
|
16424 |
| - "modeling", |
16425 |
| - "beta" |
| 16474 | + "modeling" |
16426 | 16475 | ],
|
16427 | 16476 | "summary": "Open a websocket which accepts modeling commands.",
|
16428 | 16477 | "description": "Pass those commands to the engine via websocket, and pass responses back to the client. Basically, this is a websocket proxy between the frontend/client and the engine.",
|
|
19913 | 19962 | "type": "string"
|
19914 | 19963 | },
|
19915 | 19964 | "total_due": {
|
| 19965 | + "nullable": true, |
19916 | 19966 | "title": "double",
|
19917 |
| - "description": "This includes any outstanding, draft, or open invoices and any pending invoice items. This does not include any credits the customer has on their account.", |
| 19967 | + "description": "This includes any outstanding, draft, or open invoices and any pending invoice items. This does not include any credits the customer has on their account. This amount is only returned if requested from the api.", |
19918 | 19968 | "type": "number",
|
19919 | 19969 | "format": "money-usd"
|
19920 | 19970 | },
|
|
19933 | 19983 | "monthly_api_credits_remaining_monetary_value",
|
19934 | 19984 | "stable_api_credits_remaining",
|
19935 | 19985 | "stable_api_credits_remaining_monetary_value",
|
19936 |
| - "total_due", |
19937 | 19986 | "updated_at"
|
19938 | 19987 | ]
|
19939 | 19988 | },
|
|
0 commit comments