v1
protected
model-specs
Upsert Model Spec
Changed onCreate or update a model specification by provider and model name.
This endpoint is useful for bulk operations and bootstrapping.
post/v1/workspaces/{workspace}/model-specs/upsert
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspacestring required
Slug of the workspace the request acts in
Request body
Response
Successful Response
Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info