Dashboard API V2

Luke Bowerman · Friday Demos · June 5, 2026 · 3:36

New breaking-change PATCH endpoint for programmatically editing dashboards — supports targeting a specific draft or published doc, partial updates (send only what changed), explicit null to…

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Apparently, we don't bully here, but I got bullied by Ariel de Gaetano earlier, so I will de Gaetano API stuff really quick. Um, though, this is just to point out that I'm stealing IDs off of the URL. This is like a random draft off of random document called API abuse demo. Um, this is a new collection of endpoints to make altering documents, specifically documents and dashboards, actually work well.

  2. Our current version is um, interesting in some of the choices it makes since they were just trying to harden that and clean up the interface. You'll notice this is like a V2. We only have V1s. This is a new breaking change API endpoint that will support um, this do different shape. And so, we're going to do a major version change just so that we don't get people trying to send the old shape to the the new shape to the old endpoints.

  3. Um, there's a slight change in this structure that you can actually target a specific draft, or you can just like fire and fire and forget at the published document. Um, so, a few more changes there. This will all be documented publicly soon when it's all available to folks. Um, but really quickly, basically, I could take that draft identifier and this is the document identifier in this case.

  4. Um, and I already executed it, so you can see there's just a huge object shape, but there are the actual containers uh, that we use for advanced layout. Um, you have to believe me that the query presentations are things are in here cuz I don't feel like scrolling the whole thing in live. Um, but you can also do a patch update.

  5. So, previously, you kind of had to fire the whole document back at itself. However, in this new version, you can just send in individual individual pieces. So, in this case, I'm going to say a better name, a specific description I want, and then I'm actually going to delete a quick particular query presentation in this case, one, by basically saying null on it.

  6. So, with patching, if you don't include it, we leave it intact. If you want to explicitly remove things, you just tell us null it, basically. Um, and then this summary bit, I don't actually have to do this. It'll It'll get auto summarized. If but if I do include it, I can select my if I'm using Claude to do this or like I can ask Claude to like summarize the changes it's making so that the history will fill that.

  7. So if I go ahead and execute this with my fingers crossed. Um, that's succeeded. Um, and theoretically if I go over here yeah, this has now a better name, my description is showing up there. I have broken this query, uh, which is not really desirable but for my demo it works for what I was going for with that query.

  8. And if I look at history uh, oops, history got that one. Um, rename and drop query presentation one was the history I asked for. So that's all there. Um the caveat is this is not totally ready for go time for everybody. I we have a know know a few bugs in it like replaying the entire document to itself is breaking this config a little bit.

  9. I got to go chase that. Um, but we will be letting some internal folks use it hopefully like in the next few days and opening it up broadly, uh, very quickly thereafter. So yeah. Um, main target is, you know, general API use cases and then, um, our uh, front our LLM friends that like to bang on the APIs.

  10. So yeah. Thanks, uh, thanks for doing that, Luke, and building it and going on stage and showing it. But it just to re-emphasize the last point, the one of the big wins here is we've certainly had some, uh, we'll call it like frustrations or instability with AI agents trying to use our existing dashboard specs that isn't really behaving in reliable ways that we want.

  11. And the whole idea here is that this spec will. So this will be a more reliable API for agents or whoever to programmatically, uh, generate or change dashboards. All right, all right.