List worker-backed deployments of a project
curl --request GET \
--url https://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments', 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://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$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://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"publishedHead": {
"revisionId": "<string>",
"generation": 123,
"publishedAt": "2023-11-07T05:31:56Z"
},
"services": [
{
"serviceId": "68be1f0a4b2c1d0012a4f001",
"kind": "dev",
"environment": "staging",
"revisionId": "0123456789abcdef0123456789abcdef",
"artifactId": "<string>",
"generation": 123,
"status": "starting",
"health": {
"observedAt": "2023-11-07T05:31:56Z",
"detail": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"artifacts": [
{
"artifactId": "<string>",
"revisionId": "<string>",
"artifactDigest": "<string>",
"files": 123,
"bytes": 123,
"status": "sealed",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}{
"success": false,
"message": "not-found"
}Agentspace
List worker-backed deployments of a project
The registered dev/release service instances of the project (health, environment, revision, generation), the sealed artifacts behind the release services and the current published head. Requires project edit access (owner or listed editor; tenant membership re-checked). Responses are no-store.
GET
/
api
/
user
/
agentspace
/
{projectId}
/
deployments
List worker-backed deployments of a project
curl --request GET \
--url https://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments', 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://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$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://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/agentspace/{projectId}/deployments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"publishedHead": {
"revisionId": "<string>",
"generation": 123,
"publishedAt": "2023-11-07T05:31:56Z"
},
"services": [
{
"serviceId": "68be1f0a4b2c1d0012a4f001",
"kind": "dev",
"environment": "staging",
"revisionId": "0123456789abcdef0123456789abcdef",
"artifactId": "<string>",
"generation": 123,
"status": "starting",
"health": {
"observedAt": "2023-11-07T05:31:56Z",
"detail": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"artifacts": [
{
"artifactId": "<string>",
"revisionId": "<string>",
"artifactDigest": "<string>",
"files": 123,
"bytes": 123,
"status": "sealed",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}{
"success": false,
"message": "not-found"
}Was this page helpful?