An ecosystem's server-bag entries, by key (owner or admin)
Authenticate every request with Authorization: Bearer <token> — a JWT or API token.
Download OpenAPI JSONOverview
GET
/ecosystem/server-bag/{id}ecosystemAn ecosystem's server-bag entries, by key (owner or admin)
Fetch a record from server-bag by id.
Auth: bearerAuth — calls run as the authenticated user.
Parameters
- idpathstring
Responses
200
Bags
- bagsEcosystemServerBagEntry[]
Example
{
"bags": [
{
"key": "string",
"value": {},
"description": "string",
"createdAt": "string",
"updatedAt": "string"
}
]
}401
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}403
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}404
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/ecosystem/server-bag/{id}" \
-H "Authorization: Bearer YOUR_TOKEN"JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/ecosystem/server-bag/{id}", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
},
});
const data = await res.json();