Skip to content

Commit f700564

Browse files
authored
Merge pull request #3003 from port-labs/update-apiSpec-10-11
Update api spec 10 11
2 parents ee6ab71 + 1285041 commit f700564

10 files changed

+703
-554
lines changed

docs/api-reference/change-a-specific-provider-configuration.api.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "This route allows you to change the configuration of a specific LL
55
sidebar_label: "Change a specific provider configuration"
66
hide_title: true
77
hide_table_of_contents: true
8-
api: eJztWc1y2zYQfhUOpod2KlqSx77oJqc9eOo0HsfpxVE7ELkSEYMEC4BKZA7fvbsgKUESZdmNJ3Uzutg0gN39drF/WJcsBhNpkVuhMjZit4kwgVaFhYBLqT6bYKmKwKogSng2h8AmEEQqm4l5oTnRBGoW8MDkEImZiIKrq7dBrtVCxKBPWI9ZPjdsdMdoPeUZn0MKmWWTHjMQFVrYJe6WbApcg8bPSYVbGv4uwNgLFeNuyVCeJSL85HkuReQE9z8ZQlwyEyWQcvqyyxxQBzX9BJFF4QgkB20FmIYNwnZcsuW7mZO7TWGFlbQwzmyCxCLa4cJz8Rss30Okwf7OU/DkGqtFNkeKVGRXkM1twkbDqqr1ERpiMsQOPerL41iQSlxee7JmXBqoevtBvsshG1++ZoTjh0JD8FI4CaZRhY7gicdjyKVaksNdxl9thS3pW9z/vY0uINYqut81TxSBMYjhMn6WjYw7PG6pn2nfuaiD6rGDiJRbC5ryxZ93PHyYlKdV6D5+Dj9+jMth9QNDbvOC61hzIS9jNBKmB4rwbdb+uT9Am075O5fTaZvHdF/pduCiJihJLUBrTGDmcE5JVQyy85wPd57b8BzXIsmLGELMWxnY8Cw8HZyeD86HZwRqk29NcVA8ZHwqwfftqVISeObcc8YLiVnT6gLIgI/6535s3w7E1233XhAIHci5RsdBNzeuUuxUmZY3HhUUCViy9BIlZS7U2IJLEXMLf0Vk0ciVV98rVnlhh/Eq5iArUnIfhJdxgQuc0mm4/tMrUtN1FlEa62uLCiM1WYNqK/MGEmcRV3VNrjJ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uPPnCrm35ftK6yml3tbN9xZXJlsR1HoeefnHm3KTDXwz/SzmwsWP85u8cscHthwi4YZD4u/RupihH0VoK1Hm+ZRr+KTioqDh8t6I/DQUukLSuX+PLdCl9t0k4aglpZyLLrkSxNotZi9Ob+6qsPzZ22dl7d/pqr1mrdraPHe2qfybdCin35Yr+fckpGHfyWYUhiUHHdoyc5B20soIt5/u6dKmeh+jMMBBxb9Suce/TlPpDHfR4cZyFqMTWJfgWCnS9VCW9rEd0AsX0NVH62JnE4vtSC/toL+tA+MmS56XoV0UrLXHFvZzVMjW1LQ1E9T6H7Sd+Cw=
99
sidebar_class_name: "put api-method"
1010
info_path: api-reference/port-api
1111
custom_edit_url: null
@@ -54,15 +54,15 @@ This route allows you to change the configuration of a specific LLM provider.
5454

5555
<RequestSchema
5656
title={"Body"}
57-
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"config":{"anyOf":[{"type":"object","title":"Anthropic","properties":{"apiKeySecretName":{"type":"string","minLength":1}},"required":["apiKeySecretName"],"additionalProperties":false},{"type":"object","title":"OpenAI","properties":{"apiKeySecretName":{"type":"string","minLength":1}},"required":["apiKeySecretName"],"additionalProperties":false},{"type":"object","title":"Azure OpenAI","properties":{"apiKeySecretName":{"type":"string","minLength":1},"resourceName":{"type":"string","minLength":1},"deploymentId":{"type":"string","minLength":1}},"required":["apiKeySecretName","resourceName","deploymentId"],"additionalProperties":false},{"type":"object","title":"Bedrock","properties":{"accessKeyIdSecretName":{"type":"string","minLength":1},"secretAccessKeySecretName":{"type":"string","minLength":1},"region":{"type":"string","minLength":1,"pattern":"^[a-z]{2}-[a-z]+-\\d{1}$"},"guardrailIdentifier":{"type":"string"},"guardrailVersion":{"type":"string"}},"required":["accessKeyIdSecretName","secretAccessKeySecretName","region"],"additionalProperties":false}]},"overrides":{"type":"object","properties":{"models":{"type":"object","required":["gpt-5","claude-sonnet-4-20250514"],"properties":{"gpt-5":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false},"claude-sonnet-4-20250514":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"enabled":{"type":"boolean","default":true}},"additionalProperties":false}}}}}
57+
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"config":{"anyOf":[{"type":"object","title":"Anthropic","properties":{"apiKeySecretName":{"type":"string","minLength":1}},"required":["apiKeySecretName"],"additionalProperties":false},{"type":"object","title":"OpenAI","properties":{"apiKeySecretName":{"type":"string","minLength":1}},"required":["apiKeySecretName"],"additionalProperties":false},{"type":"object","title":"Azure OpenAI","properties":{"apiKeySecretName":{"type":"string","minLength":1},"resourceName":{"type":"string","minLength":1},"deploymentId":{"type":"string","minLength":1}},"required":["apiKeySecretName","resourceName","deploymentId"],"additionalProperties":false},{"type":"object","title":"Bedrock","properties":{"accessKeyIdSecretName":{"type":"string","minLength":1},"secretAccessKeySecretName":{"type":"string","minLength":1},"region":{"type":"string","minLength":1,"pattern":"^[a-z]{2}-[a-z]+-\\d{1}$"},"guardrailIdentifier":{"type":"string"},"guardrailVersion":{"type":"string"}},"required":["accessKeyIdSecretName","secretAccessKeySecretName","region"],"additionalProperties":false},{"anyOf":[{"not":{}},{"type":"object","properties":{},"additionalProperties":false}]}]},"overrides":{"type":"object","properties":{"models":{"type":"object","required":["gpt-5","claude-sonnet-4-20250514","claude-haiku-4-5-20251001"],"properties":{"gpt-5":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false},"claude-sonnet-4-20250514":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false},"claude-haiku-4-5-20251001":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"enabled":{"type":"boolean","default":true}},"additionalProperties":false}}}}}
5858
>
5959

6060
</RequestSchema>
6161

6262
<StatusCodes
6363
id={undefined}
6464
label={undefined}
65-
responses={{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"result":{"type":"object","properties":{"provider":{"type":"string","enum":["openai","azure-openai","anthropic","bedrock","port"]},"enabled":{"type":"boolean"},"config":{"anyOf":[{"type":"object","properties":{"apiKeySecretName":{"type":"string","minLength":1}},"required":["apiKeySecretName"],"additionalProperties":false},{"type":"object","properties":{"apiKeySecretName":{"type":"string","minLength":1}},"required":["apiKeySecretName"],"additionalProperties":false},{"type":"object","properties":{"apiKeySecretName":{"type":"string","minLength":1},"resourceName":{"type":"string","minLength":1},"deploymentId":{"type":"string","minLength":1}},"required":["apiKeySecretName","resourceName","deploymentId"],"additionalProperties":false},{"type":"object","properties":{"accessKeyIdSecretName":{"type":"string","minLength":1},"secretAccessKeySecretName":{"type":"string","minLength":1},"region":{"type":"string","minLength":1,"pattern":"^[a-z]{2}-[a-z]+-\\d{1}$"},"guardrailIdentifier":{"type":"string"},"guardrailVersion":{"type":"string"}},"required":["accessKeyIdSecretName","secretAccessKeySecretName","region"],"additionalProperties":false},{"anyOf":[{"not":{}},{"type":"object","properties":{},"additionalProperties":false}]}]},"overrides":{"type":"object","properties":{"models":{"type":"object","required":["gpt-5","claude-sonnet-4-20250514"],"properties":{"gpt-5":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false},"claude-sonnet-4-20250514":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"effectiveModels":{"type":"object","required":["gpt-5","claude-sonnet-4-20250514"],"properties":{"gpt-5":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false},"claude-sonnet-4-20250514":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false}},"additionalProperties":false},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"updatedBy":{"type":"string"}},"required":["provider","enabled","effectiveModels"],"additionalProperties":false}},"required":["ok","result"],"additionalProperties":false}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}},"required":["ok","error"],"additionalProperties":false}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}},"required":["ok","error"],"additionalProperties":false}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}},"required":["ok","error"],"additionalProperties":false}}}}}}
65+
responses={{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"result":{"type":"object","properties":{"provider":{"type":"string","enum":["openai","azure-openai","anthropic","bedrock","port"]},"enabled":{"type":"boolean"},"config":{"anyOf":[{"type":"object","properties":{"apiKeySecretName":{"type":"string","minLength":1}},"required":["apiKeySecretName"],"additionalProperties":false},{"type":"object","properties":{"apiKeySecretName":{"type":"string","minLength":1}},"required":["apiKeySecretName"],"additionalProperties":false},{"type":"object","properties":{"apiKeySecretName":{"type":"string","minLength":1},"resourceName":{"type":"string","minLength":1},"deploymentId":{"type":"string","minLength":1}},"required":["apiKeySecretName","resourceName","deploymentId"],"additionalProperties":false},{"type":"object","properties":{"accessKeyIdSecretName":{"type":"string","minLength":1},"secretAccessKeySecretName":{"type":"string","minLength":1},"region":{"type":"string","minLength":1,"pattern":"^[a-z]{2}-[a-z]+-\\d{1}$"},"guardrailIdentifier":{"type":"string"},"guardrailVersion":{"type":"string"}},"required":["accessKeyIdSecretName","secretAccessKeySecretName","region"],"additionalProperties":false},{"anyOf":[{"not":{}},{"type":"object","properties":{},"additionalProperties":false}]}]},"overrides":{"type":"object","properties":{"models":{"type":"object","required":["gpt-5","claude-sonnet-4-20250514","claude-haiku-4-5-20251001"],"properties":{"gpt-5":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false},"claude-sonnet-4-20250514":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false},"claude-haiku-4-5-20251001":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"effectiveModels":{"type":"object","required":["gpt-5","claude-sonnet-4-20250514","claude-haiku-4-5-20251001"],"properties":{"gpt-5":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false},"claude-sonnet-4-20250514":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false},"claude-haiku-4-5-20251001":{"type":"object","properties":{"enabled":{"type":"boolean","default":true}},"additionalProperties":false}},"additionalProperties":false},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"updatedBy":{"type":"string"}},"required":["provider","enabled","effectiveModels"],"additionalProperties":false}},"required":["ok","result"],"additionalProperties":false}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}},"required":["ok","error"],"additionalProperties":false}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}},"required":["ok","error"],"additionalProperties":false}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}},"required":["ok","error"],"additionalProperties":false}}}}}}
6666
>
6767

6868
</StatusCodes>

docs/api-reference/change-default-llm-provider-and-model.api.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "This route allows you to change the default LLM provider and model
55
sidebar_label: "Change default LLM provider and model"
66
hide_title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LEF98c5dD0RQw0uQU5DCWJhZjSmS5OHEE/XtnKDmWUzVB0RyKXmyKs795nKlFji6z0nipK7EQV4V0idXBYwJK6QeX7HVIvE6yAqoNJr7AJMc7CMonFxffEmP1TuZoE6jypNQ5qrEYCQ8bJxY3gjVKqGCDJVZe3I6EwyxY6fckrcUawaKl421DIos/Ajr/QeckrUWmK89GdARjlMyAU5zcO86zFi4rsAQ++b1Bylyv7zHzFJxSMmi9RMfSQ4I9TeetrDakiVUoOU3Sr0DSBTwFi+nxs/IFOZMZndeYW51t2b+2VEozErHc1/xujE/n9J0pCDmmlHmFPj1Pz6Zn8+l8dn4UFSC3gSTzKJtNpzOK0LSYSIs5e3uu5BCZMIM8lwwLqFWv6jtQDptTe28DxgtndOVabM6mU/47ZcCnrruXnSYn+T6t0NuezlprhVCJNicK+F+3kqQWwWO+9ENR7rQtgSQiJ53UyxLF0eTD/lcTkgaT/6nDzmTQ4d+S7dRcM7pdX9+kKdnO/w0morV6gF5MEHSOxtigLEcPUrmhsMOF180gXm30t+GK6fhCk6UwIVYHvqCPyW42UapMD81zk25UO8GT1+7oKg7eYInsovDeuMVkAkaO+SWMpaZyhqTBHRV6Q/w7w90iehjlzxCQ2VfcU9wKSv5eBsrYyqfYMLqW3OECgTnGFXELL48b4PMjlEbh6bM/vu7uvXbPsmF3dzpGl56txIrSTZarL6TLVbeEmo2nrGu087SVWL1L7mO73F5fbGJ0ys/einqvtdlC5/HRT4wCGTkZu1F3Lb4RuxkpnjQ55tW1mZpTUHWsWNdrcHhtVdPwNSFreevScQdWwpphuuHJ1DWBebGljhEabVnpFafD6iq0HX3x4JgrrcUyy9D4V3Vve6RdXV/xGO4WPZdPlxYeeGbQ70LQQUeUI7fiXS0UIRniGxStS6YNBIalz7ptZF134KIOomrfS/AlHds6+JerGjSp65bThOdBvxX91qJD9qDN/aSt3vwEaho5yw==
99
sidebar_class_name: "put api-method"
1010
info_path: api-reference/port-api
1111
custom_edit_url: null
@@ -54,15 +54,15 @@ This route allows you to change the default LLM provider and model.
5454

5555
<RequestSchema
5656
title={"Body"}
57-
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"provider":{"type":"string","enum":["openai","azure-openai","anthropic","bedrock","port"]},"model":{"type":"string","enum":["gpt-5","claude-sonnet-4-20250514"]}},"required":["provider","model"],"additionalProperties":false}}},"required":true}}
57+
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"provider":{"type":"string","enum":["openai","azure-openai","anthropic","bedrock","port"]},"model":{"type":"string","enum":["gpt-5","claude-sonnet-4-20250514","claude-haiku-4-5-20251001"]}},"required":["provider","model"],"additionalProperties":false}}},"required":true}}
5858
>
5959

6060
</RequestSchema>
6161

6262
<StatusCodes
6363
id={undefined}
6464
label={undefined}
65-
responses={{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"result":{"type":"object","properties":{"provider":{"type":"string","enum":["openai","azure-openai","anthropic","bedrock","port"]},"model":{"type":"string","enum":["gpt-5","claude-sonnet-4-20250514"]},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"updatedBy":{"type":"string"}},"required":["provider","model"],"additionalProperties":false}},"required":["ok","result"],"additionalProperties":false}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}},"required":["ok","error"],"additionalProperties":false}}}}}}
65+
responses={{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"result":{"type":"object","properties":{"provider":{"type":"string","enum":["openai","azure-openai","anthropic","bedrock","port"]},"model":{"type":"string","enum":["gpt-5","claude-sonnet-4-20250514","claude-haiku-4-5-20251001"]},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"updatedBy":{"type":"string"}},"required":["provider","model"],"additionalProperties":false}},"required":["ok","result"],"additionalProperties":false}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}},"required":["ok","error"],"additionalProperties":false}}}}}}
6666
>
6767

6868
</StatusCodes>

0 commit comments

Comments
 (0)