List an agent's config version history
curl --request GET \
--url https://www.asteragents.com/api/agents/versions \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.asteragents.com/api/agents/versions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.asteragents.com/api/agents/versions', 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://www.asteragents.com/api/agents/versions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://www.asteragents.com/api/agents/versions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.asteragents.com/api/agents/versions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.asteragents.com/api/agents/versions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"agentId": 1,
"publishedVersionId": 42,
"versions": [
{
"id": 42,
"label": null,
"createdByUserId": "user_2abc...",
"createdAt": "2026-06-22T02:43:23.693Z",
"isCurrent": true
},
{
"id": 17,
"label": "Initial version (backfill)",
"createdByUserId": "user_2abc...",
"createdAt": "2026-06-21T23:23:02.051Z",
"isCurrent": false
}
]
}{
"error": "User is not part of any organization"
}{
"error": "Bad Request",
"details": [
{}
]
}{
"error": "Internal Server Error"
}Agents API
List an agent's config version history
Return the append-only history of config snapshots for an agent,
newest first. Every save (via POST /agents, the manage_agents
tool, tool-schema sync, skill changes, or org cloning) appends a
version; unchanged saves are de-duplicated and add no row.
The config is not returned in the list (it can be large); this
endpoint returns lightweight metadata for building a history view.
GET
/
agents
/
versions
List an agent's config version history
curl --request GET \
--url https://www.asteragents.com/api/agents/versions \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.asteragents.com/api/agents/versions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.asteragents.com/api/agents/versions', 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://www.asteragents.com/api/agents/versions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://www.asteragents.com/api/agents/versions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.asteragents.com/api/agents/versions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.asteragents.com/api/agents/versions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"agentId": 1,
"publishedVersionId": 42,
"versions": [
{
"id": 42,
"label": null,
"createdByUserId": "user_2abc...",
"createdAt": "2026-06-22T02:43:23.693Z",
"isCurrent": true
},
{
"id": 17,
"label": "Initial version (backfill)",
"createdByUserId": "user_2abc...",
"createdAt": "2026-06-21T23:23:02.051Z",
"isCurrent": false
}
]
}{
"error": "User is not part of any organization"
}{
"error": "Bad Request",
"details": [
{}
]
}{
"error": "Internal Server Error"
}Authorizations
JWT token from Clerk authentication.
Must be from a user with org:admin role.
Query Parameters
The agent to list versions for