Create a sleeve
POST/v1/models/sleeves
Creates a sleeve with the name, asset category, region, primary securities and security groups in the request body. To use the sleeve, add it to a model with Create a model or Update a model.
Make the weights of the primary securities and security groups add up to 100. The API does not check the total. Send each security group ID once. If your firm has no security group with an ID in the request body, the response is 404 and nothing is saved.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 429
The sleeve you created.
The request body is invalid, for example name is missing or region is not US or global.
The access token is missing, invalid, or expired.
The access token does not have the write:model scope.
Your firm has no security group with an ID in the request body.
Too many requests. Wait the number of seconds in the Retry-After-per-person header (script-audience tokens) or the Retry-After header (other requests) before you retry. See Rate limit.