Skip to main content
GET
/
api
/
v1
/
rag
/
misc
/
capabilities
Get capabilities of available models
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/rag/misc/capabilities', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "embeddings": [
    {
      "fullName": "<string>"
    }
  ],
  "rerankers": [
    {
      "fullName": "<string>"
    }
  ]
}

Response

OK

embeddings
object[] | null
rerankers
object[] | null