Search Protocols
curl --request POST \
--url https://api.dev.eka.care/eka-mcp/protocols/v1/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"queries": [
{
"query": "<string>",
"tag": "<string>",
"publisher": "<string>"
}
]
}
'import requests
url = "https://api.dev.eka.care/eka-mcp/protocols/v1/search"
payload = { "queries": [
{
"query": "<string>",
"tag": "<string>",
"publisher": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({queries: [{query: '<string>', tag: '<string>', publisher: '<string>'}]})
};
fetch('https://api.dev.eka.care/eka-mcp/protocols/v1/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.dev.eka.care/eka-mcp/protocols/v1/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"queries\": [\n {\n \"query\": \"<string>\",\n \"tag\": \"<string>\",\n \"publisher\": \"<string>\"\n }\n ]\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.dev.eka.care/eka-mcp/protocols/v1/search");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"queries\": [\n {\n \"query\": \"<string>\",\n \"tag\": \"<string>\",\n \"publisher\": \"<string>\"\n }\n ]\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.dev.eka.care/eka-mcp/protocols/v1/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"queries\": [\n {\n \"query\": \"<string>\",\n \"tag\": \"<string>\",\n \"publisher\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body[
{
"url": "<string>",
"source_url": "<string>",
"type": "image",
"author": "<string>",
"publication_year": 123,
"conditions": [
"<string>"
]
}
]{
"error": "<string>"
}{
"error": "<string>"
}Medical Knowledge-bases
Search Protocols
This endpoint returns pages from the protocols based on the query, publishers and tag.
POST
/
eka-mcp
/
protocols
/
v1
/
search
Search Protocols
curl --request POST \
--url https://api.dev.eka.care/eka-mcp/protocols/v1/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"queries": [
{
"query": "<string>",
"tag": "<string>",
"publisher": "<string>"
}
]
}
'import requests
url = "https://api.dev.eka.care/eka-mcp/protocols/v1/search"
payload = { "queries": [
{
"query": "<string>",
"tag": "<string>",
"publisher": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({queries: [{query: '<string>', tag: '<string>', publisher: '<string>'}]})
};
fetch('https://api.dev.eka.care/eka-mcp/protocols/v1/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.dev.eka.care/eka-mcp/protocols/v1/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"queries\": [\n {\n \"query\": \"<string>\",\n \"tag\": \"<string>\",\n \"publisher\": \"<string>\"\n }\n ]\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.dev.eka.care/eka-mcp/protocols/v1/search");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"queries\": [\n {\n \"query\": \"<string>\",\n \"tag\": \"<string>\",\n \"publisher\": \"<string>\"\n }\n ]\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.dev.eka.care/eka-mcp/protocols/v1/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"queries\": [\n {\n \"query\": \"<string>\",\n \"tag\": \"<string>\",\n \"publisher\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body[
{
"url": "<string>",
"source_url": "<string>",
"type": "image",
"author": "<string>",
"publication_year": 123,
"conditions": [
"<string>"
]
}
]{
"error": "<string>"
}{
"error": "<string>"
}Body
application/json
Was this page helpful?

