{
"data": [
{
"created": 1703187200,
"id": "Qwen/Qwen3-30B-A3B-FP8",
"object": "model",
"owned_by": "qwen"
}
],
"object": "list"
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key provided",
"type": "authentication_error"
}
}Endpoints
List Models
Return the list of models available to your API key.
GET
/
models
{
"data": [
{
"created": 1703187200,
"id": "Qwen/Qwen3-30B-A3B-FP8",
"object": "model",
"owned_by": "qwen"
}
],
"object": "list"
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key provided",
"type": "authentication_error"
}
}Use this endpoint to discover exactly which model IDs your key can access before sending chat or embeddings requests.
Base URL
https://api.dottxt.ai/v1
Practical request pattern
curl https://api.dottxt.ai/v1/models \
-H "Authorization: Bearer $DOTTXT_API_KEY"
Example response shape
{
"object": "list",
"data": [
{
"id": "openai/gpt-oss-20b",
"object": "model"
}
]
}
Notes
- Use
data[].iddirectly inmodelforPOST /chat/completions. - If auth is missing or invalid, this endpoint returns
401.
Authorizations
API key authentication. Include your key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
API keys can be created and managed in the dashboard.