Workspace LLM
Connect your own AI provider
Changed onpost/workspaces/{workspaceSlug}/llm/connections
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /workspaces/{workspaceSlug}/llm/connections
- Auth: HTTP bearer
Path parameters
workspaceSlugstring required
Workspace slug
Request body
Example request
{
"apiProtocol": "openai-responses"
}Response
Connection created; URL in the Location header
Example response
{
"apiProtocol": "openai-responses",
"slug": "openai-prod"
}Changes
- breaking
for the
pathrequest parameterworkspaceSlug, the minLength was increased from0to3 - warning
for the
pathrequest parameterworkspaceSlug, the maxLength was set to51 - warning
changed the pattern of the
pathrequest parameterworkspaceSlugfrom^[a-z0-9][a-z0-9-]{2,50}$to^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$
- breaking