Boards
Le Boards sono la superficie di dati strutturati di Copera. La Boards API ti consente di leggere e scrivere record in modo programmatico: elencare board e le loro table, leggere e creare righe con colonne tipizzate, modificare celle rich-text, caricare, scaricare e rimuovere allegati di colonne file, gestire commenti di riga, autenticare righe rispetto a colonne di credenziali ed esportare una view in un file.
Quick Start
- REST API
- Node.js SDK
- CLI
# List all boards
curl -X GET https://api.copera.ai/public/v1/board/list-boards \
-H "Authorization: Bearer YOUR_API_KEY"
# Get a specific board
curl -X GET https://api.copera.ai/public/v1/board/BOARD_ID \
-H "Authorization: Bearer YOUR_API_KEY"
# List rows in a table
curl -X GET https://api.copera.ai/public/v1/board/BOARD_ID/table/TABLE_ID/rows \
-H "Authorization: Bearer YOUR_API_KEY"
# Create a row
curl -X POST https://api.copera.ai/public/v1/board/BOARD_ID/table/TABLE_ID/row \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"columns": [
{ "columnId": "COLUMN_ID", "value": "Hello" }
]
}'
npm install @copera.ai/sdk
import { CoperaAI } from '@copera.ai/sdk';
const copera = CoperaAI({ apiKey: 'YOUR_API_KEY' });
// List all boards
const boards = await copera.board.listBoards();
// Get board details
const board = await copera.board.getBoardDetails({ boardId: 'BOARD_ID' });
// List tables in a board
const tables = await copera.board.listBoardTables({ boardId: 'BOARD_ID' });
// List rows in a table
const rows = await copera.board.listTableRows({
boardId: 'BOARD_ID',
tableId: 'TABLE_ID',
});
// Create a row
const newRow = await copera.board.createTableRow({
boardId: 'BOARD_ID',
tableId: 'TABLE_ID',
columns: [{ columnId: 'COLUMN_ID', value: 'Hello' }],
});
// List row comments (cursor pagination + visibility filter)
const comments = await copera.board.listRowComments({
boardId: 'BOARD_ID',
tableId: 'TABLE_ID',
rowId: 'ROW_ID',
visibility: 'all',
});
@copera.ai/sdk
Documentazione completa dell'SDK e codice sorgente
curl -fsSL https://cli.copera.ai/install.sh | bash
# List boards (add --json for machine-readable output)
copera boards list
copera boards list --query "roadmap"
copera boards get <board-id>
# Tables
copera tables list --board <board-id>
copera tables get <table-id> --board <board-id>
# Rows
copera rows list --board <board-id> --table <table-id>
copera rows get <row-id> --board <board-id> --table <table-id>
copera rows create --board <board-id> --table <table-id> \
--data '{"columns":[{"columnId":"<column-id>","value":"Hello"}]}'
copera-cli
Configurazione CLI e riferimento completo ai comandi
Disponibile in
| Public API | CLI | MCP | Copera AI |
|---|---|---|---|
| ✅ Full | ✅ Full | ✅ Most (no rich-text column markdown, no row authenticate, no file upload/remove) | ◑ Read-only |
Boards è l'unico dominio attualmente esposto all'assistente Copera AI in-app, e lì è read-only. L'MCP server hostato copre l'intero modello board tranne gli endpoint markdown di colonna rich-text, il flusso authenticate di riga e le operazioni di upload/remove delle colonne file.
Successivi
- Come funziona una Board — il modello dati board/table/row, tipi di colonna e celle, rich-text e allegati file, commenti di riga e visibility, autenticazione di riga, filtri, sort ed export async.
- Boards nell'API Reference — ogni endpoint board, table, row, comment, authenticate ed export con schemi request/response.