{"openapi":"3.0.4","info":{"title":"InstantiateRec","description":"Instantiate a new rec instance from a rec definition and start its first run. The run\r\n            executes asynchronously; the response returns once the run has started, with the instance Running.","version":"0.0.1"},"servers":[{"url":"https://fbn-prd.lusid.com/api"}],"paths":{"/api/recs/instances":{"post":{"tags":["Recs"],"summary":"InstantiateRec","description":"Instantiate a new rec instance from a rec definition and start its first run. The run\r\n            executes asynchronously; the response returns once the run has started, with the instance Running.","operationId":"InstantiateRec","requestBody":{"description":"The instantiation request.","content":{"application/json-patch+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/InstantiateRecRequest"},"example":{"recDefinitionId":{"scope":"recscope","code":"reccode"},"leftEffectiveAt":"2024-01-01T00:00:00.0000000+00:00","rightEffectiveAt":"2024-01-01T00:00:00.0000000+00:00"}},"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/InstantiateRecRequest"},"example":{"recDefinitionId":{"scope":"recscope","code":"reccode"},"leftEffectiveAt":"2024-01-01T00:00:00.0000000+00:00","rightEffectiveAt":"2024-01-01T00:00:00.0000000+00:00"}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/InstantiateRecRequest"},"example":{"recDefinitionId":{"scope":"recscope","code":"reccode"},"leftEffectiveAt":"2024-01-01T00:00:00.0000000+00:00","rightEffectiveAt":"2024-01-01T00:00:00.0000000+00:00"}},"application/*+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/InstantiateRecRequest"},"example":{"recDefinitionId":{"scope":"recscope","code":"reccode"},"leftEffectiveAt":"2024-01-01T00:00:00.0000000+00:00","rightEffectiveAt":"2024-01-01T00:00:00.0000000+00:00"}}},"required":true},"responses":{"201":{"description":"The instantiated rec instance, in a Running state.","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/RecInstance"}},"text/plain":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/RecInstance"}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/RecInstance"}}}},"400":{"description":"The details of the input related failure","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidValidationProblemDetails"}},"text/plain":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidValidationProblemDetails"}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidValidationProblemDetails"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidProblemDetails"}}}}},"security":[{"BearerAuth":[]}],"x-fbn-apistatus":"Experimental"}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"}}}}