Packages

Get tool version detail

Resolve a version query and return versioned tool data including content extracted from ZIP.

GET/api/packages/tools/{scope}/{name}/versions/{version}

Authorization

better-auth.session_token<token>

Cookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.

In: cookie

Path Parameters

scope*string

Package scope (e.g. @my-org)

Match^@[a-z0-9][a-z0-9-]*$
name*string

Package name

version*string

Version query — exact version, dist-tag, or semver range

Header Parameters

X-Org-Id?string

Organization ID. Required for cookie auth. Not needed for API key auth (org resolved from key).

Formatuuid
curl -X GET "https://loading/api/packages/tools/string/string/versions/string"
{
  "id": 0,
  "version": "string",
  "manifest": {
    "name": "string",
    "version": "string",
    "type": "tool",
    "displayName": "string",
    "description": "string",
    "keywords": [
      "string"
    ],
    "license": "string",
    "repository": "string",
    "schemaVersion": "string",
    "dependencies": {
      "skills": {
        "property1": "string",
        "property2": "string"
      },
      "tools": {
        "property1": "string",
        "property2": "string"
      },
      "providers": {
        "property1": "string",
        "property2": "string"
      },
      "property1": null,
      "property2": null
    },
    "entrypoint": "string",
    "tool": {
      "name": "string",
      "description": "string",
      "inputSchema": {
        "property1": null,
        "property2": null
      }
    },
    "property1": null,
    "property2": null
  },
  "content": "string",
  "yanked": true,
  "yankedReason": "string",
  "integrity": "string",
  "artifactSize": 0,
  "createdAt": "2019-08-24T14:15:22Z",
  "distTags": [
    "string"
  ]
}
{
  "type": "https://docs.appstrate.dev/errors/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "Invalid or missing session",
  "code": "unauthorized",
  "requestId": "req_abc123"
}
{
  "type": "https://docs.appstrate.dev/errors/not-found",
  "title": "Not Found",
  "status": 404,
  "detail": "Resource not found",
  "code": "not_found",
  "requestId": "req_abc123"
}