Retrieving Dyna Initial Config
The Dyna API GET /v1/content/search/rag/config endpoint allows you to retrieve initial Dyna AI configuration for a user. Since this endpoint returns information specific to a user’s account, an ID token is required.
This endpoint currently returns suggested initial questions based on the user's specialization, when specified, or general default questions otherwise.
The following information is required to execute a request for this endpoint:
Headers
- Authorization: a personalized access token
- x-eis-id-token: an ID token
Basic Configuration Retrieval Query
To retrieve all conversations for a user, use the headers required above and submit a request to the URL below.
GET 'https://apis.ebsco.com/medsapi-dynamedex/v1/content/search/rag/config'You will then receive a response similar to the one below:
{
"_metadata": {
"links": [
{
"rel": "self",
"href": "https://pis.ebsco.com/medsapi-dynamed/v1/content/search/rag/config"
}
]
},
"items": [
{
"recommendedQuestions": {
"results": [
"What is the treatment approach for malignant hyperthermia?",
"What is the recommended approach to managing a difficult airway?",
"What is the management approach for Local Anesthetic Systemic Toxicity (LAST)?"
],
"telemetryData": {
"specialtyCategory": "anesthesiology"
}
}
}
]
}Updated 7 days ago
Did this page help you?
