Suggested cards waiting on a board
curl --request GET \
--url https://hiimpria.ai/api/boards/boards/{boardId}/triage \
--header 'x-access-token: <api-key>'import requests
url = "https://hiimpria.ai/api/boards/boards/{boardId}/triage"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://hiimpria.ai/api/boards/boards/{boardId}/triage', 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://hiimpria.ai/api/boards/boards/{boardId}/triage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$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://hiimpria.ai/api/boards/boards/{boardId}/triage"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hiimpria.ai/api/boards/boards/{boardId}/triage")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hiimpria.ai/api/boards/boards/{boardId}/triage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"drafts": [
{
"_id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"count": 123,
"proposals": [
{
"id": "<string>",
"title": "<string>",
"notes": "<string>",
"priority": "low",
"labels": [
"<string>"
],
"columnId": "<string>",
"assigneeName": "<string>",
"waitingOn": "<string>",
"reason": "<string>"
}
]
}
]
}Boards
Suggested cards waiting on a board
The caller’s own pending AI triage drafts for a board they can see: cards the twin suggested from text the person pasted, staged for review. Nothing here is a card yet. Each draft shows its suggested cards (title, notes, priority, labels, the list it would land in, the name of who it is for and who it waits on, never an id) and when it expires (24 hours after it was made).
GET
/
api
/
boards
/
boards
/
{boardId}
/
triage
Suggested cards waiting on a board
curl --request GET \
--url https://hiimpria.ai/api/boards/boards/{boardId}/triage \
--header 'x-access-token: <api-key>'import requests
url = "https://hiimpria.ai/api/boards/boards/{boardId}/triage"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://hiimpria.ai/api/boards/boards/{boardId}/triage', 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://hiimpria.ai/api/boards/boards/{boardId}/triage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$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://hiimpria.ai/api/boards/boards/{boardId}/triage"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hiimpria.ai/api/boards/boards/{boardId}/triage")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hiimpria.ai/api/boards/boards/{boardId}/triage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"drafts": [
{
"_id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"count": 123,
"proposals": [
{
"id": "<string>",
"title": "<string>",
"notes": "<string>",
"priority": "low",
"labels": [
"<string>"
],
"columnId": "<string>",
"assigneeName": "<string>",
"waitingOn": "<string>",
"reason": "<string>"
}
]
}
]
}Was this page helpful?