Tags

List Tags

get

Return a list of all Tags.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
terseintegerOptional

boolean as integer. default 1 (true). 0 for false. true will return a simple array of tags, e.g. [ 'tag1', 'tag2', 'tag3', ... ]

Example: 0
Responses
200

An array of Tags

application/json
get
/api/v1/tags

List Tags by Entity Type

get

Return a list of all Tags.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
entitytypestring · enumRequired

Entity Type of the Tags, e.g. device, flow, vpc

Possible values:
Query parameters
terseintegerOptional

boolean as integer. default 1 (true). 0 for false. true will return a simple array of tags, e.g. [ 'tag1', 'tag2', 'tag3', ... ]

Example: 0
Responses
200

An array of Tags

application/json
get
/api/v1/tags/{entitytype}

Get Tag Values for IP

get

Returns all tag values associated with a specific IP address within the specified timeframe.

This endpoint allows you to retrieve all tags that have been applied to flows associated with the given IP address during the specified time period.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
ipstringRequired

The IP address to retrieve tag values for

Example: 20.60.146.129
startintegerRequired

Start time for the query. Negative values represent lookback time in seconds from now (e.g., -86400 for 24 hours ago), or positive values represent Unix timestamp in seconds.

Example: -86400
endintegerRequired

End time for the query. Negative values represent lookback time in seconds from now (e.g., -3600 for 1 hour ago), 0 for current time, or positive values represent Unix timestamp in seconds.

Example: 0
Responses
200

Tag values for an IP address within a timeframe

application/json
get
/api/v1/tags/ip

Create Flow Tag

post

Create a Tag given the provided object.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
anyOptional
Responses
post
/api/v1/tag/flow

Get Flow Tag

get

Fetches a specific Flow Tag from the ID supplied in the path.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the Flow Tag to be returned.

Responses
200

An array of Flow Tags

application/json
get
/api/v1/tag/flow/{id}

Update Flow Tag

put

Update a Flow Tag given the provided object. This does not do a diff. You must send the complete object and have at least 1 match criteria set.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the Flow Tag Rule to be updated

Body
namestringRequired

The name of the Flow Tag Rule. Eg. carrier tags

tagsstring[]Required

An array of strings to tag every flow that matches this response policy (rule) with

inputaliasregexstringOptional

A regular expression that matches against inputalias of a given flow record.

inputnameregexstringOptional

A regular expression that matches against inputname of the input interface of a given flow record.

outputaliasregexstringOptional

A regular expression that matches against outputalias of a given flow record.

outputnameregexstringOptional

A regular expression that matches against outputname of a given flow record.

srcnetsstring[]Optional

An array of CIDR blocks to match against the source IP for a given flow record.

dstnetsstring[]Optional

An array of CIDR blocks to match against the destination IP for a given flow record.

srcportinteger · int32Optional

Source port to match against a given flow.

dstportinteger · int32Optional

Destination port to match against a given flow.

protocolstringOptional

lower case string representing the protocol of this flow. Eg. tcp, udp, icmp etc

tcpflagsintinteger · int32Optional

integer representing which tcp flags were set in the flow record. Values between 0-255 are valid.

srcasinteger[]Optional

An array of AS numbers to match against the source AS for a given flow record.

dstasinteger[]Optional

An array of AS numbers to match against the destination AS for a given flow record.

srcownerasinteger[]Optional

An array of AS numbers to match against the AS of the source IP for a given flow record.

dstownerasinteger[]Optional

An array of AS numbers to match against the AS of the destination IP for a given flow record.

Responses
200

An array of Flow Tags

application/json
put
/api/v1/tag/flow/{id}

Delete Flow Tag

delete

Deletes the Flow Tag.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the Flow Tag Rule to be deleted

Responses
delete
/api/v1/tag/flow/{id}

No content

Last updated