|
1571 | 1571 | }
|
1572 | 1572 | }
|
1573 | 1573 | },
|
| 1574 | + "/auth/saml/org/{org_id}/login": { |
| 1575 | + "get": { |
| 1576 | + "tags": [ |
| 1577 | + "hidden" |
| 1578 | + ], |
| 1579 | + "summary": "GET /auth/saml/{org_id}", |
| 1580 | + "description": "Redirects the browser straight to the org’s SAML IdP.", |
| 1581 | + "operationId": "get_auth_saml_by_org", |
| 1582 | + "parameters": [ |
| 1583 | + { |
| 1584 | + "in": "path", |
| 1585 | + "name": "org_id", |
| 1586 | + "description": "The ID of the organisation that owns the IdP.", |
| 1587 | + "required": true, |
| 1588 | + "schema": { |
| 1589 | + "$ref": "#/components/schemas/Uuid" |
| 1590 | + } |
| 1591 | + }, |
| 1592 | + { |
| 1593 | + "in": "query", |
| 1594 | + "name": "callback_url", |
| 1595 | + "description": "The URL to redirect back to after we have authenticated.", |
| 1596 | + "schema": { |
| 1597 | + "nullable": true, |
| 1598 | + "type": "string", |
| 1599 | + "format": "uri" |
| 1600 | + } |
| 1601 | + } |
| 1602 | + ], |
| 1603 | + "responses": { |
| 1604 | + "302": { |
| 1605 | + "description": "Temporary Redirect", |
| 1606 | + "headers": { |
| 1607 | + "Access-Control-Allow-Credentials": { |
| 1608 | + "description": "Access-Control-Allow-Credentials header.", |
| 1609 | + "style": "simple", |
| 1610 | + "schema": { |
| 1611 | + "nullable": true, |
| 1612 | + "type": "string" |
| 1613 | + } |
| 1614 | + }, |
| 1615 | + "Access-Control-Allow-Headers": { |
| 1616 | + "description": "Access-Control-Allow-Headers header. This is a comma-separated list of headers.", |
| 1617 | + "style": "simple", |
| 1618 | + "schema": { |
| 1619 | + "nullable": true, |
| 1620 | + "type": "string" |
| 1621 | + } |
| 1622 | + }, |
| 1623 | + "Access-Control-Allow-Methods": { |
| 1624 | + "description": "Access-Control-Allow-Methods header.", |
| 1625 | + "style": "simple", |
| 1626 | + "schema": { |
| 1627 | + "nullable": true, |
| 1628 | + "type": "string" |
| 1629 | + } |
| 1630 | + }, |
| 1631 | + "Access-Control-Allow-Origin": { |
| 1632 | + "description": "Access-Control-Allow-Origin header.", |
| 1633 | + "style": "simple", |
| 1634 | + "schema": { |
| 1635 | + "nullable": true, |
| 1636 | + "type": "string" |
| 1637 | + } |
| 1638 | + }, |
| 1639 | + "Set-Cookie": { |
| 1640 | + "description": "Set-Cookie header.", |
| 1641 | + "style": "simple", |
| 1642 | + "schema": { |
| 1643 | + "nullable": true, |
| 1644 | + "type": "string" |
| 1645 | + } |
| 1646 | + }, |
| 1647 | + "X-Api-Call-Id": { |
| 1648 | + "description": "ID for this request. We return it so that users can report this to us and help us debug their problems.", |
| 1649 | + "style": "simple", |
| 1650 | + "required": true, |
| 1651 | + "schema": { |
| 1652 | + "type": "string" |
| 1653 | + } |
| 1654 | + } |
| 1655 | + } |
| 1656 | + }, |
| 1657 | + "4XX": { |
| 1658 | + "$ref": "#/components/responses/Error" |
| 1659 | + }, |
| 1660 | + "5XX": { |
| 1661 | + "$ref": "#/components/responses/Error" |
| 1662 | + } |
| 1663 | + } |
| 1664 | + } |
| 1665 | + }, |
1574 | 1666 | "/auth/saml/provider/{provider_id}/login": {
|
1575 | 1667 | "get": {
|
1576 | 1668 | "tags": [
|
|
19306 | 19398 | "type": "string",
|
19307 | 19399 | "format": "date-time"
|
19308 | 19400 | },
|
| 19401 | + "conversation_id": { |
| 19402 | + "description": "The conversation ID Conversations group different prompts together.", |
| 19403 | + "allOf": [ |
| 19404 | + { |
| 19405 | + "$ref": "#/components/schemas/Uuid" |
| 19406 | + } |
| 19407 | + ] |
| 19408 | + }, |
19309 | 19409 | "created_at": {
|
19310 | 19410 | "title": "DateTime",
|
19311 | 19411 | "description": "The time and date the API call was created.",
|
|
19412 | 19512 | }
|
19413 | 19513 | },
|
19414 | 19514 | "required": [
|
| 19515 | + "conversation_id", |
19415 | 19516 | "created_at",
|
19416 | 19517 | "id",
|
19417 | 19518 | "model",
|
|
24060 | 24161 | "type": "string",
|
24061 | 24162 | "format": "date-time"
|
24062 | 24163 | },
|
| 24164 | + "conversation_id": { |
| 24165 | + "nullable": true, |
| 24166 | + "description": "The id for the conversation related to this prompt.", |
| 24167 | + "allOf": [ |
| 24168 | + { |
| 24169 | + "$ref": "#/components/schemas/Uuid" |
| 24170 | + } |
| 24171 | + ] |
| 24172 | + }, |
24063 | 24173 | "created_at": {
|
24064 | 24174 | "title": "DateTime",
|
24065 | 24175 | "description": "The date and time the ML prompt was created.",
|
|
24268 | 24378 | "free"
|
24269 | 24379 | ]
|
24270 | 24380 | },
|
| 24381 | + { |
| 24382 | + "description": "The plus tier.", |
| 24383 | + "type": "string", |
| 24384 | + "enum": [ |
| 24385 | + "plus" |
| 24386 | + ] |
| 24387 | + }, |
24271 | 24388 | {
|
24272 | 24389 | "description": "The pro tier.",
|
24273 | 24390 | "type": "string",
|
|
24447 | 24564 | "free"
|
24448 | 24565 | ]
|
24449 | 24566 | },
|
| 24567 | + { |
| 24568 | + "description": "The plus tier.", |
| 24569 | + "type": "string", |
| 24570 | + "enum": [ |
| 24571 | + "plus" |
| 24572 | + ] |
| 24573 | + }, |
24450 | 24574 | {
|
24451 | 24575 | "description": "The pro tier.",
|
24452 | 24576 | "type": "string",
|
|
24593 | 24717 | ]
|
24594 | 24718 | },
|
24595 | 24719 | "extrude_method": {
|
24596 |
| - "description": "Should the extrusion create a new object or be part of the existing object. If a new object is created, the command id will be the id of the newly created object.", |
| 24720 | + "description": "Should the extrusion create a new object or be part of the existing object.", |
24597 | 24721 | "default": "merge",
|
24598 | 24722 | "allOf": [
|
24599 | 24723 | {
|
|
34728 | 34852 | "type": "string",
|
34729 | 34853 | "format": "date-time"
|
34730 | 34854 | },
|
| 34855 | + "conversation_id": { |
| 34856 | + "description": "The conversation ID Conversations group different prompts together.", |
| 34857 | + "allOf": [ |
| 34858 | + { |
| 34859 | + "$ref": "#/components/schemas/Uuid" |
| 34860 | + } |
| 34861 | + ] |
| 34862 | + }, |
34731 | 34863 | "created_at": {
|
34732 | 34864 | "title": "DateTime",
|
34733 | 34865 | "description": "The time and date the API call was created.",
|
|
34828 | 34960 | }
|
34829 | 34961 | },
|
34830 | 34962 | "required": [
|
| 34963 | + "conversation_id", |
34831 | 34964 | "created_at",
|
34832 | 34965 | "id",
|
34833 | 34966 | "model",
|
|
34842 | 34975 | "description": "Body for iterating on models from text prompts.",
|
34843 | 34976 | "type": "object",
|
34844 | 34977 | "properties": {
|
| 34978 | + "conversation_id": { |
| 34979 | + "nullable": true, |
| 34980 | + "description": "The conversation ID Conversations group different prompts together. This should be omitted when starting a new conversation. The conversation_id returned in the response should be used to link future messages in the same conversation.", |
| 34981 | + "allOf": [ |
| 34982 | + { |
| 34983 | + "$ref": "#/components/schemas/Uuid" |
| 34984 | + } |
| 34985 | + ] |
| 34986 | + }, |
34845 | 34987 | "kcl_version": {
|
34846 | 34988 | "nullable": true,
|
34847 | 34989 | "description": "The version of kcl to use. If empty, the latest version will be used.",
|
|
0 commit comments