Skip to main content
GET
Requires version 1.1.9 or later of the Archetype platform.

Overview

This endpoint returns the blueprint catalog as a cursor-paginated page of blueprint summaries, newest first. Summaries omit the full blueprint document — fetch a single blueprint with GET /agents/blueprints/{reference} when you need its document or yaml_document.

Request

integer
default:"100"
Page size. Minimum 1, maximum 1000.
string
Forward cursor: return blueprints older than the one with this id. Pass the next_cursor of the previous page to fetch the next page. Mutually exclusive with before.
string
Backward cursor: return blueprints newer than the one with this id. Pass the prev_cursor of the current page to walk back. Mutually exclusive with after.
string
Filter to a single key.
boolean
default:"false"
When true, each item carries bundles_count — the number of bundles visible to the caller’s organization pinned to that blueprint. v1.1.11+

Response

array
required
The page, newest first. Each entry is a blueprint summary.
boolean
required
True when more results exist beyond this page in the direction of travel.
string
Cursor for the next page in the same direction — pass it as after when paging forward, or as before when you supplied before. null when has_more is false.
string
Cursor to step back the way this page was reached — pass it as before after a forward page, or as after after a backward one. null when the request carried no cursor.

Blueprint summary object

string
required
TypeID-encoded blueprint identifier (blp_ prefix).
string
required
Human-readable key for the blueprint, e.g. osm.
string
required
Name of the blueprint.
string
required
Description of the blueprint.
boolean
required
True for platform-authored (gallery) blueprints shared with every org; false for blueprints owned by a specific org.
boolean
required
True for the current version of a key; false once it has been replaced by a newer blueprint (its key was archived to <key>-<date>).
integer
Number of bundles visible to the caller’s organization — its own plus canonical ones — pinned to this blueprint. Present only when the list was requested with bundles_count=true; omitted otherwise. A blueprint with no matching bundles reports 0. v1.1.11+
string
required
Creation timestamp (date-time).

Important Notes

  • after and before are mutually exclusive — send at most one of them.
  • Results are ordered newest first in both cursor directions, so render data as returned.
  • An archived (replaced) blueprint stays in the catalog with is_active: false and a key of the form <key>-<date>.
  • bundles_count=true counts only the bundles visible to the caller’s organization — its own plus canonical ones — so the count is per-viewer. The count is computed over the blueprints on the current page. v1.1.11+