Create a Model

Send an id to make a retried create safe: a repeat of the same request either creates the model once or answers 409. Success is 200 on both the first attempt and a retry that wins the race.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string | null
^model_[0-7][0-9A-HJKMNP-TV-Z]{25}$

Identifier for the model. Omitted or null, the server mints one. Supplied, the create is safe to retry: a repeat either creates the model or answers 409. Reusing an id for a different logical model is never safe.

asset_classes
array of objects
required

The asset classes to include in the strategy

Asset Classes*
Allowed:
string
required

The description of the strategy

number
Defaults to 1

The liquidity estimate associated with the strategy

number
Defaults to 1000000

The cash amount associated with the strategy

string
enum

The municipal state focus of the strategy. This is used purely for filtering; the strategy itself will not be restricted to holdings in this state, unless the strategy explicitly includes a universe constraint for that state.

string
enum

The municipal state preference of the strategy. This is used purely for filtering; the strategy itself will not be restricted to holdings in this state, unless the strategy explicitly includes a universe constraint for that state.

string
required

The name of the strategy

string | null

The organization that owns the strategy. This organization and its parent organizations will be able to access the strategy. Defaults to the authenticated user's organization if not provided.

strategy
object
required

Fixed income optimization strategy with constraints

string
enum
required
Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json