curl --request GET \
--url https://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts', 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://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts",
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-API-Key: <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://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"artifact_type": "<string>",
"connected_org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"registry_url": "<string>",
"source_repository_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "2023-11-07T05:31:56Z",
"version": "<string>",
"consumer_count": 0,
"is_first_party": true,
"is_orphan": false,
"source_repository": {
"full_path": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}List artifacts (Docker images, packages, modules) produced in a connected org.
List all known artifacts in a connected org, including orphans.
Each response row carries consumer_count + is_orphan. Orphans are
artifacts the org produces but nothing in the org consumes — valuable
dead-weight signal, not noise.
Upstream aliases are excluded by default (issue #258). A repo that forks an
upstream project and keeps its package identity registers as the producer of the
upstream coordinate — a forked go.mod still says module go.opentelemetry.io/otel — so listing every row meant listing other people’s
packages: 15,741 production rows against 4,477 the orgs actually publish. Every
row carries is_first_party; pass include_upstream_aliases=true to get them
all back. An upstream-alias artifact is exactly one with is_first_party: false.
A fork that rewrote its coordinate into its own namespace
(github.com/acme/go-i18n) is first-party and is always listed.
Paginated via limit / offset query params (default 100, max 500).
X-Total-Count counts the rows matching the same filter as the page, so it is
the first-party total by default and the all-rows total with
include_upstream_aliases=true. X-Upstream-Alias-Count always carries the
excluded-row count, so a client can name what the default hides without a second
request.
curl --request GET \
--url https://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts', 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://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts",
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-API-Key: <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://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/connected-orgs/{connected_org_id}/artifacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"artifact_type": "<string>",
"connected_org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"registry_url": "<string>",
"source_repository_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "2023-11-07T05:31:56Z",
"version": "<string>",
"consumer_count": 0,
"is_first_party": true,
"is_orphan": false,
"source_repository": {
"full_path": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Authorizations
Headers
Path Parameters
Query Parameters
Maximum items to return.
1 <= x <= 500Items to skip.
x >= 0Include artifacts produced by forked repos that kept the upstream project's package identity. Off by default — an upstream-alias artifact is exactly one with is_first_party: false.
Cookies
Response
Successful Response
Minimal representation of the repository that produces an artifact.
Show child attributes
Show child attributes
