Celebrating Our $100M Funding Round and $800M Valuation

Port queries and reporting

Port Search is one API to answer all software and infrastructure questions or reporting needs, taking advantage of the breadth and depth of Port’s software catalog and the underlying dependencies of software catalog entities.

Dudi Elhadad
Dudi Elhadad
June 18, 2025
Dudi Elhadad
Dudi Elhadad&
June 18, 2025
Port queries and reporting

Introduction

Port’s API comes with a built-in search route that allows you to navigate your Software Catalog with ease. 

Essentially, Port Search is one API to answer all software and infrastructure questions or reporting needs, taking advantage of the breadth and depth of Port’s software catalog and the underlying dependencies of software catalog entities.

Since the Port software catalog contains information about all infrastructure and software elements, such as changes, versions and more, the ability to query it provides valuable information. This provides super detailed information without the need for heavy lifting or effort to unlock and join data from siloed devops tools. Using queries you can:

  • Track changes in developer productivity
  • Create compliance, auditing, security and migration reporting without the need to write scripts
  • Use the software catalog as part of your CI/CD processes, such as verifying that a service isn’t locked before performing a deployment, since the service catalog is always up to date

{{cta_6}}

Queries & Search Usecases

  • Upstream or downstream microservices dependencies to other microservice
  • Which pull requests were made in the last month
  • What is the currently running version of a microservice in the canary deployment in a specific environment? 
  • What Kubernetes clusters are affected by the log4j vulnerability? 
  • What cloud resources were consumed by each team and what was the expense?
  • Which teams have deployed to production in the past 24 hours
  • What are the live on-demand environments that were created more than 7 days ago
  • What are the services that are running in production and have more than X open bugs

Search in Port is performed by writing simple querying rules which can be combined together to form a more complex and precise query. These same queries can be delivered as reports or made ad hoc.

The following code snippet will get all software components that depend on the recommendation microservice:

def main():
    search_rule = {
        "combinator": "and",
        "rules": [
            {
                "operator": "relatedTo",
                "direction": "downstream",
                "value": "log4j-2-15-0"
            }
        ]
    }
    get_entity_search_result(auth_token, search_rule)

And the result would be a list of all dependent entities (other Microservices, DeploymentConfigs, CIJobRuns, etc.):

[
  {
    "identifier": "payment",
    "title": "payment",
    "blueprint": "service"
  },
  {
    "identifier": "recommendation",
    "title": "recommendation",
    "blueprint": "service"
  },
  {
    "identifier": "product-catalog",
    "title": "product-catalog",
    "blueprint": "service"
  },
  {
    "identifier": "recommendation-production",
    "title": "recommendation-production",
    "blueprint": "runningService"
  },
  {
    "identifier": "e_1wCQlGCYBNqQiboc",
    "title": "recommendations-staging",
    "blueprint": "runningService"
  },
  {
    "identifier": "e_c2EQQ61JoirmZkNZ",
    "title": "recommendations-qa1",
    "blueprint": "runningService"
  }
]

Visual representation of the Query result
Tags:
No items found.
{{survey-buttons}}

Get your survey template today

By clicking this button, you agree to our Terms of Use and Privacy Policy
{{survey}}

Download your survey template today

By clicking this button, you agree to our Terms of Use and Privacy Policy
{{roadmap}}

Free Roadmap planner for Platform Engineering teams

  • Set Clear Goals for Your Portal

  • Define Features and Milestones

  • Stay Aligned and Keep Moving Forward

{{rfp}}

Free RFP template for Internal Developer Portal

Creating an RFP for an internal developer portal doesn’t have to be complex. Our template gives you a streamlined path to start strong and ensure you’re covering all the key details.

{{ai_jq}}

Leverage AI to generate optimized JQ commands

test them in real-time, and refine your approach instantly. This powerful tool lets you experiment, troubleshoot, and fine-tune your queries—taking your development workflow to the next level.

{{cta_1}}

Check out Port's pre-populated demo and see what it's all about.

Check live demo

No email required

{{cta_survey}}

Check out the 2025 State of Internal Developer Portals report

See the full report

No email required

{{cta_2}}

Minimize engineering chaos. Port serves as one central platform for all your needs.

Explore Port
{{cta_3}}

Act on every part of your SDLC in Port.

{{cta_4}}

Your team needs the right info at the right time. With Port's software catalog, they'll have it.

{{cta_5}}

Learn more about Port's agentic engineering platform

Read the launch blog

Let’s start
{{cta_6}}

Contact sales for a technical walkthrough of Port

Let’s start
{{cta_7}}

Every team is different. Port lets you design a developer experience that truly fits your org.

{{cta_8}}

As your org grows, so does complexity. Port scales your catalog, orchestration, and workflows seamlessly.

{{cta-demo}}
{{reading-box-backstage-vs-port}}
{{cta-backstage-docs-button}}

Starting with Port is simple, fast, and free.