> ## Documentation Index
> Fetch the complete documentation index at: https://docs.statusstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List a service's dependencies

> What the service runs on and which services run on it, from StatusStack's dependency intelligence. Only confirmed dependencies at the displayed impact tiers are included, collapsed to one entry per counterpart service.




## OpenAPI

````yaml /openapi/api-docs.yaml get /v1/sources/{source}/dependencies
openapi: 3.0.3
info:
  title: StatusStack API
  description: >
    API for managing status monitoring, incidents, stacks, and website
    monitoring.


    You can import this specification directly into Postman, Insomnia or any
    other

    OpenAPI-compatible client.


    Only the operations documented here are part of the supported public API.
    Any other

    endpoint is unstable and may change without a version bump.
  version: 1.5.0
  contact:
    name: StatusStack Support
    url: https://statusstack.com/support
servers:
  - url: https://statusstack.com/api
    description: Production server
security: []
paths:
  /v1/sources/{source}/dependencies:
    get:
      tags:
        - Sources
      summary: List a service's dependencies
      description: >
        What the service runs on and which services run on it, from
        StatusStack's dependency intelligence. Only confirmed dependencies at
        the displayed impact tiers are included, collapsed to one entry per
        counterpart service.
      parameters:
        - name: source
          in: path
          required: true
          description: Source key or UUID
          schema:
            type: string
      responses:
        '200':
          description: The service's upstream and downstream dependencies
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      runs_on:
                        type: array
                        items:
                          $ref: '#/components/schemas/SourceDependency'
                      used_by:
                        type: array
                        items:
                          $ref: '#/components/schemas/SourceDependency'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: Source not found, or service dependencies are not enabled
      security:
        - bearerAuth: []
components:
  schemas:
    SourceDependency:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        key:
          type: string
        logo_url:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
          description: The counterpart service's current status
        impact_tier:
          type: string
          enum:
            - runtime
            - supporting
            - back_office
            - unknown
        relationships:
          type: array
          items:
            type: string
            enum:
              - hosting
              - cdn
              - dns
              - auth
              - payments
              - storage
              - ai
              - monitoring
              - support
              - business_ops
              - other
        purpose:
          type: string
          nullable: true
        url:
          type: string
          format: uri
    AuthError:
      type: object
      description: >
        The shape for authentication failures and missing API-key permissions.
        These

        responses use `error`, not `message`.
      required:
        - error
      properties:
        error:
          type: string
    ApiError:
      type: object
      description: >
        The standard failure envelope. `errors` appears only when there is
        field-level detail.
      required:
        - message
      properties:
        message:
          type: string
        errors:
          type: object
          additionalProperties: true
  responses:
    Unauthenticated:
      description: >
        No bearer credentials, or credentials that do not resolve to a valid API
        key. Every

        v1 operation can return it.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AuthError'
    Forbidden:
      description: >
        The API key lacks the required permission, or access to the resource was
        denied.

        The two cases return different bodies, so this is a union rather than
        one shape.
      content:
        application/json:
          schema:
            oneOf:
              - $ref: '#/components/schemas/AuthError'
              - $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >
        StatusStack authenticates requests with API keys, created via the
        dashboard with

        granular permissions (read, write, delete, admin, *).


        API keys support version compatibility:

        - v1 keys: Can only access v1 endpoints

        - v2 keys: Can access both v1 and v2 endpoints


        Available permissions:

        - `read`: View resources (GET requests)

        - `write`: Create and update resources (POST, PUT requests)

        - `delete`: Delete resources (DELETE requests)

        - `admin`: Administrative access to all resources

        - `*`: Wildcard permission (all actions allowed)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.