Skip to main content

Check out Port for yourselfย 

Search entities

POST 

/v1/entities/search

This route allows you to search for entities in your software catalog based on a given set of rules.

To learn more about entities, check out the documentation.

For more details about Port's search mechanism, rules, and operators - see the search & query documentation.

Requestโ€‹

Query Parameters

    exclude_calculated_properties boolean

    If true, calculated properties will be excluded from the entities.

    Default value: false
    include string[]

    An array of values from the entity JSON. Only these values will be returned in the response.
    For example: { "properties.propertyIdentifier","identifier"}

    exclude string[]

    An array of values from the entity JSON to be ommitted from the response.
    For example: { "properties.propertyIdentifier","identifier"}

Body

required

    combinatorrequired

    The combinator to use for the rules.

    Possible values: [and, or]

    rules

    object[]

    required

  • Array [

  • anyOf

    propertystringrequired
    operatorrequired

    Possible values: [>, >=, <, <=]

    valuenumberrequired
  • ]

Responsesโ€‹

Success