Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
curl --request GET \
--url https://api.secton.org/v1/models \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"id": "copilot-zero",
"object": "model",
"category": "chat",
"name": "Copilot Zero",
"description": "Lightweight conversational AI model.",
"capabilities": [
"chat",
"completion"
],
"context_window": 4096,
"cutoff_date": "2024-01-01",
"pricing": "free tier available"
}
]
}Retrieve a list of all available AI models with details.
curl --request GET \
--url https://api.secton.org/v1/models \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"id": "copilot-zero",
"object": "model",
"category": "chat",
"name": "Copilot Zero",
"description": "Lightweight conversational AI model.",
"capabilities": [
"chat",
"completion"
],
"context_window": 4096,
"cutoff_date": "2024-01-01",
"pricing": "free tier available"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.