SQL
dashboard.fork
Fork a dashboard
Details
- Endpoint
- POST /v1/dashboard/:dashboard/fork
- Credits
- Free
- Rate class
- Light. Counts against your light requests per second.
Copies a dashboard into your account (widgets keep pointing at the same saved queries; fork a query to change its SQL).
Parameters
| Name | Type | Description |
|---|---|---|
| dashboardrequired | string | Slug or numeric id. |
Request
Send your key in the x-api-key header, or leave it out to use the keyless tier.
curl
curl -X POST "https://api.tide.ad/v1/dashboard/sui-pulse/fork" \
-H "x-api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{}'TypeScript
const res = await fetch("https://api.tide.ad/v1/dashboard/sui-pulse/fork", {
method: "POST",
headers: {
"x-api-key": process.env.TIDE_API_KEY!,
"content-type": "application/json",
},
body: JSON.stringify({}),
});
const data = await res.json();Response
No example response is available for this method yet.