List native tools
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/tools \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/tools"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"tools": [
{
"id": "<string>",
"name": "<string>",
"type": "native",
"object": "tool",
"require_document": true,
"accepted_file_types": [
"<string>"
]
}
]
}"<unknown>""<unknown>""<unknown>"{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}Tools
List native tools
Returns native tools available to the authenticated user’s company. If the company has no tool restrictions configured, all native tools are returned. Sys-admins can pass company_id to inspect another company’s allowed tools.
GET
/
api
/
v3
/
tools
List native tools
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/tools \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/tools"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"tools": [
{
"id": "<string>",
"name": "<string>",
"type": "native",
"object": "tool",
"require_document": true,
"accepted_file_types": [
"<string>"
]
}
]
}"<unknown>""<unknown>""<unknown>"{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}