Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
curl --request GET \
--url https://api.intelligence.io.solutions/api/v1/models \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"id": "<string>",
"object": "model",
"created": 123,
"owned_by": "io-intelligence",
"root": "<string>",
"parent": "<string>",
"max_model_len": 123,
"permission": [
{
"id": "<string>",
"object": "model_permission",
"created": 123,
"allow_create_engine": false,
"allow_sampling": true,
"allow_logprobs": true,
"allow_search_indices": false,
"allow_view": true,
"allow_fine_tuning": false,
"organization": "*",
"group": "<string>",
"is_blocking": false
}
],
"max_tokens": 123,
"context_window": 123,
"supports_images_input": true,
"supports_prompt_cache": true,
"input_token_price": 123,
"output_token_price": 123,
"cache_write_token_price": 123,
"cache_read_token_price": 123,
"precision": "<string>"
}
]
}
Get list of available models for Chat Completions API
curl --request GET \
--url https://api.intelligence.io.solutions/api/v1/models \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"id": "<string>",
"object": "model",
"created": 123,
"owned_by": "io-intelligence",
"root": "<string>",
"parent": "<string>",
"max_model_len": 123,
"permission": [
{
"id": "<string>",
"object": "model_permission",
"created": 123,
"allow_create_engine": false,
"allow_sampling": true,
"allow_logprobs": true,
"allow_search_indices": false,
"allow_view": true,
"allow_fine_tuning": false,
"organization": "*",
"group": "<string>",
"is_blocking": false
}
],
"max_tokens": 123,
"context_window": 123,
"supports_images_input": true,
"supports_prompt_cache": true,
"input_token_price": 123,
"output_token_price": 123,
"cache_write_token_price": 123,
"cache_read_token_price": 123,
"precision": "<string>"
}
]
}
The access token received from the authorization server in the OAuth 2.0 flow.
Was this page helpful?