List available grounded models
client.models.list(RequestOptionsoptions?): ModelListResponse { data, object }
GET/v1/models
Returns the OpenAI-compatible model list plus capability metadata so callers can choose a model programmatically. _maps_to exposes the underlying Anthropic Claude model the grounded pipeline runs on.
Returns
List available grounded models
import CementedAI from 'cemented.ai';
const client = new CementedAI({
apiKey: process.env['CEMENTED_AI_API_KEY'], // This is the default and can be omitted
});
const models = await client.models.list();
console.log(models.data);{
"data": [
{
"id": "id",
"created": 0,
"object": "model",
"owned_by": "owned_by",
"_maps_to": "_maps_to",
"context_length": 0,
"grounded": true,
"max_output_tokens": 0,
"search_providers": [
"string"
],
"supports_streaming": true,
"supports_tools": true
}
],
"object": "list"
}Returns Examples
{
"data": [
{
"id": "id",
"created": 0,
"object": "model",
"owned_by": "owned_by",
"_maps_to": "_maps_to",
"context_length": 0,
"grounded": true,
"max_output_tokens": 0,
"search_providers": [
"string"
],
"supports_streaming": true,
"supports_tools": true
}
],
"object": "list"
}