Packages

Get provider package version detail

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

GET/api/packages/providers/{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/providers/string/string/versions/string"
{
  "id": 0,
  "version": "string",
  "manifest": {
    "name": "string",
    "version": "string",
    "type": "provider",
    "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
    },
    "iconUrl": "string",
    "categories": [
      "string"
    ],
    "docsUrl": "string",
    "definition": {
      "authMode": "oauth2",
      "oauth2": {
        "authorizationUrl": "string",
        "tokenUrl": "string",
        "tokenAuthMethod": "client_secret_post",
        "tokenContentType": "application/x-www-form-urlencoded",
        "property1": null,
        "property2": null
      },
      "oauth1": {
        "requestTokenUrl": "string",
        "accessTokenUrl": "string",
        "property1": null,
        "property2": null
      },
      "credentials": {
        "schema": {
          "property1": null,
          "property2": null
        },
        "property1": null,
        "property2": null
      },
      "credentialTransform": {
        "template": "string",
        "encoding": "base64",
        "property1": null,
        "property2": null
      },
      "authorizedUris": [
        "string"
      ],
      "allowAllUris": true,
      "availableScopes": [
        null
      ],
      "property1": null,
      "property2": null
    },
    "setupGuide": {
      "callbackUrlHint": "string",
      "steps": [
        {
          "label": "string",
          "url": "string",
          "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"
}