Api reference/Boards
Get a session board
Returns the current AI-generated board content for a session and board spec. The payload field is free-form JSON whose shape depends on the board definition. Requires the torqee:boards:read scope.
AuthorizationBearer <token>
OAuth 2.1 authorization code flow with PKCE. Audience must be the connect URL.
In: header
Scope: torqee:boards:read
Path Parameters
sessionIdstring
boardSpecIdstring
Response Body
curl -X GET "https://connect.torqee.app/api/v1/sessions/string/boards/string"fetch("https://connect.torqee.app/api/v1/sessions/string/boards/string")package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://connect.torqee.app/api/v1/sessions/string/boards/string"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://connect.torqee.app/api/v1/sessions/string/boards/string"
response = requests.request("GET", url)
print(response.text){
"board": {
"id": "string",
"boardId": "string",
"version": 0,
"status": "string",
"isCurrent": true,
"sourceRevisionKind": "string",
"createdAt": "string",
"payload": null,
"payloadHash": "string"
}
}{
"error": "unauthorized"
}{
"error": "insufficient_scope"
}{
"error": "not_found"
}{
"error": "internal_server_error"
}