Get dependency history

projectDependencyHistory(input: ProjectDependencyHistoryInput!): ProjectDependencyHistory!

Requires project.files.read.

Arguments

ArgumentTypeRequired
inputProjectDependencyHistoryInput!Yes

Input fields

input

ProjectDependencyHistoryInput

FieldTypeRequiredDescription
projectReferenceString!YesProject UUID or slug.
branchStringNoBranch name or UUID, 1-255 characters without surrounding whitespace. Omit for main.

Response

Returns ProjectDependencyHistory!. Open the type for its fields and nested types.

FieldTypeDescription
versionInt!Dependency history schema version; always 1.
projectIdID!Canonical project UUID whose dependency history was read.
branchStringRequested branch reference, or null for the main branch.
entries[ProjectDependencyHistoryEntry!]!At most 16 recent unexpired raw dependency declaration snapshots captured around guarded package.json changes. Use these snapshots to recover previous declarations. The complete JSON response is bounded to 1 MiB and never truncated.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
query ProjectDependencyHistory($input: ProjectDependencyHistoryInput!) {  projectDependencyHistory(input: $input) {    projectId    branch    version  }}
variables.json
{  "input": {    "projectReference": "00000000-0000-4000-8000-000000000001"  }}