List this space's package placements
List the packages PLACED in this space — active and inactive alike — with their enabled flag and their model/proxy overrides. A row survives deactivation, so an inactive entry still carries the settings the space chose. Returns only package types the caller has permission to read, within the credential scope ceiling.
GET
/api/spaces/{spaceId}/packagesbetter-auth.session_token<token>
Cookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.
In: cookie
Path Parameters
spaceId*string
Query Parameters
type?string
Filter by package type
Value in
"agent" | "skill" | "integration" | "mcp-server"Header Parameters
X-Org-Id?string
Organization ID. Required for cookie auth. Not needed for API key auth (org resolved from key).
Format
uuidcurl -X GET "https://your-instance/api/spaces/string/packages"{
"object": "list",
"data": [
{
"object": "space_package",
"packageId": "string",
"generation_config": {
"temperature": 0,
"reasoning_level": "off"
},
"modelId": "string",
"proxyId": "string",
"enabled": true,
"chat_enforced": true,
"installed_at": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"package_type": "agent",
"package_source": "local",
"draft_manifest": {}
}
],
"hasMore": true
}{
"type": "https://docs.appstrate.dev/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid or missing session",
"code": "unauthorized",
"request_id": "req_abc123"
}{
"type": "https://docs.appstrate.dev/errors/forbidden",
"title": "Forbidden",
"status": 403,
"detail": "Insufficient permissions",
"code": "forbidden",
"request_id": "req_abc123"
}{
"type": "https://docs.appstrate.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Resource not found",
"code": "not_found",
"request_id": "req_abc123"
}