curl --request GET \
--url https://api.totoy.ai/v1/knowledge-bases \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"knowledge_base_id": "kb_feMfJbeqbAEj4u8K5HqmKpUbY",
"name": "Totoy Customer Support Assistant",
"instructions": "You are a customer support assistant for the customers of the company Totoy.",
"project_id": "pj_avX7imfLaPcQnv5ckvGlOEBA9",
"created_at": "2023-07-05T12:00:00Z",
"updated_at": "2023-07-05T12:00:00Z"
},
{
"knowledge_base_id": "kb_kfjd34sfgsd2gfskijuh23zgt",
"name": "Totoy Internal Assistant",
"instructions": "You are an internal assistant for the employees of the company Totoy.",
"project_id": "pj_avX7imfLaPcQnv5ckvGlOEBA9",
"created_at": "2023-07-05T12:34:13Z",
"updated_at": "2023-07-05T12:34:13Z"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
curl --request GET \
--url https://api.totoy.ai/v1/knowledge-bases \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"knowledge_base_id": "kb_feMfJbeqbAEj4u8K5HqmKpUbY",
"name": "Totoy Customer Support Assistant",
"instructions": "You are a customer support assistant for the customers of the company Totoy.",
"project_id": "pj_avX7imfLaPcQnv5ckvGlOEBA9",
"created_at": "2023-07-05T12:00:00Z",
"updated_at": "2023-07-05T12:00:00Z"
},
{
"knowledge_base_id": "kb_kfjd34sfgsd2gfskijuh23zgt",
"name": "Totoy Internal Assistant",
"instructions": "You are an internal assistant for the employees of the company Totoy.",
"project_id": "pj_avX7imfLaPcQnv5ckvGlOEBA9",
"created_at": "2023-07-05T12:34:13Z",
"updated_at": "2023-07-05T12:34:13Z"
}
]
}
curl --request GET \
--url https://api.totoy.ai/v1/knowledge-bases \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"knowledge_base_id": "kb_feMfJbeqbAEj4u8K5HqmKpUbY",
"name": "Totoy Customer Support Assistant",
"instructions": "You are a customer support assistant for the customers of the company Totoy.",
"project_id": "pj_avX7imfLaPcQnv5ckvGlOEBA9",
"created_at": "2023-07-05T12:00:00Z",
"updated_at": "2023-07-05T12:00:00Z"
},
{
"knowledge_base_id": "kb_kfjd34sfgsd2gfskijuh23zgt",
"name": "Totoy Internal Assistant",
"instructions": "You are an internal assistant for the employees of the company Totoy.",
"project_id": "pj_avX7imfLaPcQnv5ckvGlOEBA9",
"created_at": "2023-07-05T12:34:13Z",
"updated_at": "2023-07-05T12:34:13Z"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
curl --request GET \
--url https://api.totoy.ai/v1/knowledge-bases \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"knowledge_base_id": "kb_feMfJbeqbAEj4u8K5HqmKpUbY",
"name": "Totoy Customer Support Assistant",
"instructions": "You are a customer support assistant for the customers of the company Totoy.",
"project_id": "pj_avX7imfLaPcQnv5ckvGlOEBA9",
"created_at": "2023-07-05T12:00:00Z",
"updated_at": "2023-07-05T12:00:00Z"
},
{
"knowledge_base_id": "kb_kfjd34sfgsd2gfskijuh23zgt",
"name": "Totoy Internal Assistant",
"instructions": "You are an internal assistant for the employees of the company Totoy.",
"project_id": "pj_avX7imfLaPcQnv5ckvGlOEBA9",
"created_at": "2023-07-05T12:34:13Z",
"updated_at": "2023-07-05T12:34:13Z"
}
]
}