Skip to content
GitmoapAPIBeta
Schema

ServiceDependency

One dependency between two services, with the service at the far end and where the dependency came from.

Shape

  • confidencenumber · floatHow certain the dependency is: 1.0 for anything the platform observed or a person stated, lower only for a derived one.
  • from_service_idServiceId (string · uuid)
  • kindDependencyKindpackageapidatastoreotherHow a service depends on the far end of a dependency — not what the far end is. The same library service can be consumed as a package by one service and called over HTTP by another.
  • sourceDependencySourceobserved_lockfileobserved_publishdeclaredinferredHow a dependency came to be known, and therefore how far it can be trusted. A declared and an observed dependency between the same two services are reported separately, so a declaration no lockfile mentions, or a lockfile entry nobody declared, stands out.
  • toServiceSummary
    • The ServiceSummary schema
    • display_namestring
    • group_idGroupId (string · uuid)
    • kindServiceKindservicelibrarywebsitejobdatastoreapiml_modelotherWhat sort of thing a service is. The kind decides which scorecard checks apply: a library has no deployments, so a deployment check is not applicable to it rather than failing. For your own classifications, use annotations.
    • lifecycleServiceLifecycleexperimentalproductiondeprecatedretiredWhere a service is in its life.
    • service_idServiceId (string · uuid)
    • slugServiceSlug (string)
    • sourceServiceSourceinferreddeclaredapiHow the catalog entry came to exist. Set by the platform, never accepted from a request. Any source other than inferred means a person has vouched for the entry.
    • externalbooleanoptional
    • orphaned_atstring or nulloptional
    • ownerOwnerRef or nulloptional
  • detailDependencyDetailoptional
    • The DependencyDetail schema
    • formatPackageRegistryFormatnpmcargopypior nulloptionalThe package ecosystem a registry speaks. A group has at most one registry per format.
    • lockfile_pathstring or nulloptional
    • package_namePackageName (string) or nulloptional
    • resolvedstring or nulloptionalThe version the lockfile actually pins.
    • version_reqstring or nulloptionalWhat the manifest asked for, where the lockfile records it.
  • observed_atstring or nulloptional
  • observed_repoRepositoryId (string · uuid) or nulloptionalThe repository whose file established this dependency — a lockfile for an observed one, a catalog file for a declared one.
  • observed_shastring or nulloptional

Example

Synthesized example
{
"confidence": 77,
"from_service_id": "0dcb469f-83ce-458a-a825-e90282ca3ac5",
"kind": "package",
"source": "observed_lockfile",
"to": {
"display_name": "Lin Park",
"group_id": "4c1d8e2f-6a3b-4f90-b7c5-1e2d3c4b5a69",
"kind": "service",
"lifecycle": "experimental",
"service_id": "8051087c-1b8c-4bf1-9b43-9cb4f8ca7bbb",
"slug": "slug-d6eb",
"source": "inferred",
"external": false,
"orphaned_at": "2026-10-14T06:56:53Z",
"owner": {
"group_id": "4c1d8e2f-6a3b-4f90-b7c5-1e2d3c4b5a69",
"kind": "group",
"full_path": "acme/payments-api"
}
},
"detail": {
"format": "npm",
"lockfile_path": "lockfile-path-5211",
"package_name": "payments-api",
"resolved": "resolved-0c2e",
"version_req": "version-req-bb2d"
},
"observed_at": "2026-10-09T22:21:38Z",
"observed_repo": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"observed_sha": "7aa55d5116909b59d423d954d3336668d8cbf5f6"
}

Graph

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.