Skip to main content
The AI•Pkg Registry API provides all endpoints needed to publish, discover, and install packages. All endpoints are under /v3/ and return JSON.
The registry publishes a machine-readable OpenAPI specification at GET /v3/openapi.json. Consuming this endpoint is the recommended way to generate client SDKs or interactive documentation for the registry.

Service Index

Returns the service index listing all available resource endpoints.

Registration

Returns package registration data. Uses paged blobs identical to NuGet registration blobs, but with updated JSON-LD schema fields:
  • Replace packageTypescapabilities
  • Replace targetFrameworkstargets (APM monikers)
  • Add permissions, mcpServers, modelCompatibility
  • Remove: requireLicenseAcceptance, developmentDependency, semVerLevel

Flat Container (Downloads)

The .aispec endpoint lets clients read manifest metadata without downloading the full archive.

Query Parameters: Response:

Autocomplete


Package Push

Success: 201 Created with Location: /v3/registration/{id}/{version}.json Error responses:

Package Delete (Unlist)

Marks the version as unlisted (sets listed: false). Does not physically delete the package from storage. Returns 204 No Content.

Platform List


Per-Platform Install Manifest

Returns the list of files that would be installed for a given APM, with their source paths resolved through the fallback graph. Allows clients to preview what they will receive before downloading the full archive.

Non-Functional Requirements


Search Index Fields

The following fields are indexed and available for filtering in the search endpoint: