List skills
curl --request GET \
--url https://api.phylo.bio/v1/experimental/skills \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.phylo.bio/v1/experimental/skills"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.phylo.bio/v1/experimental/skills', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.phylo.bio/v1/experimental/skills",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.phylo.bio/v1/experimental/skills"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.phylo.bio/v1/experimental/skills")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.phylo.bio/v1/experimental/skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"type": "list",
"data": [
{
"id": "skill_0008d582238d9a1f65a2322b3bf71728",
"type": "skill",
"name": "generative-molecule-design",
"description": "Goal-directed de novo small-molecule design against a molecular target.",
"category": "molecular_design",
"owner_type": "system"
}
],
"has_more": true,
"first_id": "skill_0008d582238d9a1f65a2322b3bf71728",
"last_id": "skill_019caa158c8a4011b19285967639a364"
}Skills
List skills
List the skills you can run in a task.
GET
/
experimental
/
skills
List skills
curl --request GET \
--url https://api.phylo.bio/v1/experimental/skills \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.phylo.bio/v1/experimental/skills"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.phylo.bio/v1/experimental/skills', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.phylo.bio/v1/experimental/skills",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.phylo.bio/v1/experimental/skills"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.phylo.bio/v1/experimental/skills")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.phylo.bio/v1/experimental/skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"type": "list",
"data": [
{
"id": "skill_0008d582238d9a1f65a2322b3bf71728",
"type": "skill",
"name": "generative-molecule-design",
"description": "Goal-directed de novo small-molecule design against a molecular target.",
"category": "molecular_design",
"owner_type": "system"
}
],
"has_more": true,
"first_id": "skill_0008d582238d9a1f65a2322b3bf71728",
"last_id": "skill_019caa158c8a4011b19285967639a364"
}A skill is a packaged workflow from the Biomni catalog, such as a grounded literature review or a genome-editing design routine. This returns both built-in skills and your own.
Pass an entry’s
id or name as skill on POST /tasks/{id}/messages to run it. owner_type is system for a built-in skill and user for one of your own.Authorizations
Requires an API key. See the Authentication guide.
Query Parameters
Maximum objects to return.
Required range:
1 <= x <= 100