File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed 
rest-api-spec/src/main/resources/rest-api-spec/api Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+   "inference.inference" : {
3+     "documentation" : {
4+       "url" : " https://www.elastic.co/guide/en/elasticsearch/reference/master/post-inference-api.html"  ,
5+       "description" : " Perform inference" 
6+     },
7+     "stability" : " stable"  ,
8+     "visibility" : " public"  ,
9+     "headers" : {
10+       "accept" : [" application/json"  ],
11+       "content_type" : [" application/json"  ]
12+     },
13+     "url" : {
14+       "paths" : [
15+         {
16+           "path" : " /_inference/{inference_id}"  ,
17+           "methods" : [" POST"  ],
18+           "parts" : {
19+             "inference_id" : {
20+               "type" : " string"  ,
21+               "description" : " The inference Id" 
22+             }
23+           }
24+         },
25+         {
26+           "path" : " /_inference/{task_type}/{inference_id}"  ,
27+           "methods" : [" POST"  ],
28+           "parts" : {
29+             "task_type" : {
30+               "type" : " string"  ,
31+               "description" : " The task type" 
32+             },
33+             "inference_id" : {
34+               "type" : " string"  ,
35+               "description" : " The inference Id" 
36+             }
37+           }
38+         }
39+       ]
40+     },
41+     "body" : {
42+       "description" : " The inference payload" 
43+     }
44+   }
45+ }
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments