Contents Menu Expand Light mode Dark mode Auto light/dark mode
Argus documentation
Logo
Argus documentation

API documentation

  • Overview
  • General integration guide
    • Compatibility and Deprecation
    • Authentication and API-keys
    • Access restrictions
    • API documentation
    • General endpoint structure
    • Searching: simple search
    • Advanced search
    • Using Argus Search APIs - Time fields
    • API Validation and Sanitation
  • Services integration guides
    • Alarm Integration Guide
    • Asset Integration Guide
      • Asset V2 Lexicon
      • Asset V2 Integration Guide
      • Asset V2 Search Guide
      • Asset V2 Typed References Guide
    • Authentication Integration Guide
      • The Argus Authentication Service
      • Administrator management of user authentication settings
      • Current user permission queries
      • Session management
      • Argus Identity Provider Integration Guide
        • OAuth2 Integration
        • OAuth2 Authorization Code Flow
        • OAuth2 Implicit Flow
        • OAuth2 Client Credentials Flow
        • OpenID Connect Support
        • Required information about the client
        • Configuring your Client
      • External Identity Provider Integration Guide
        • Understanding Argus OpenID Provider integration
        • Defining the OpenID Client in your provider
        • Sending information to mnemonic to set up the provider configuration
        • Setting up Argus to work with an external OpenID Provider - Implicit Flow
        • Setting up Argus to work with an external OpenID Provider - Authorization Code Flow
        • Automatic User mapping
        • Tested provider settings
        • Setting up OpenID Connect SSO with Azure AD
    • Case Integration Guide
      • Case General Integration Guide
      • Case Fields Integration Guide
      • Understanding Case Access Control
      • Case Websockets
      • Case History
    • Configuration Administration Integration Guide
    • Component Administration Integration Guide
    • Customer Networks Integration Guide
      • Networks
      • Network comments
      • Customer domains
    • Customer Integration Guide
      • Basic Customer API
      • Administrative Customer API
      • Property Descriptor API
    • Customer Contacts Integration Guide
    • DataStore Integration Guide
    • Document Integration Guide
    • EventFilter integration guide
    • Event Integration Guide
      • Event Service v1
      • Event Service v2
      • Submitting events via API
    • Metric Integration Guide
      • Metric Descriptors
      • Metrics
    • Notification Integration Guide
    • PassiveDNS Integration Guide
      • Public API
      • Private API
    • Reputation Integration Guide
      • Reputation v1 Integration Guide
      • Reputation v2 Sources
      • Reputation v2 Override Lists
    • Sample Integration Guide
      • Key Concepts
      • Authentication
      • Sample
      • Analysis
      • Evidence
      • Link
      • Submission
      • Challenges
      • Jobs
      • Job tasks
      • Verdicts
      • Analysis Workers
      • Analysis Policy
      • Analysis Rule
      • Static Fact
      • Service Task Framework
    • Sensor Integration Guide
      • Sensors
      • Location
      • Sensor Interface
      • Sensor Status
      • Sensor Type/Application
    • User Integration Guide
      • Basic endpoints
      • Administration endpoints
      • Group administration
      • Permission administration
      • Functions
Back to top

Link#

A link is an entity used to indicate a relationship between two samples.

If, for example, a sample downloads or loads another sample they have a relationship of that given type.

Adding a link#

The role SAMPLEDB-ANALYZER is required to be able to add a link.

To add a link to a sample, the link endpoint can be used with a POST operation along with the sample ID. The request and response body is JSON formatted and contains information about the link. The example request below adds a link between the given samples defined in the context path in the URL, and in the reference -field in the JSON request, of type downloads.

curl -X POST -H "Argus-API-Key: my/api/key" -H "Content-Type: application/json" https://devapi.mnemonic.no/sampledb/v2/sample/<sample sha256 ID>/link -d '{
  "customer": "customer",
  "userAgent": {
    "name": "user agent",
    "version": "version"
  },
  "tlp": "white",
  "acl": [],
  "type": "downloads",
  "reference": "<sample sha256 ID 2>"
}'

Tip

For more detailed information on what the request response model looks like, you can check out the Swagger API documentation.

Fetching links#

The role SAMPLEDB-VIEWER or higher is required to be able to fetch or list links.

List#

To list links of a sample, the link endpoint can be used with a GET operation along with the sample ID. The response body will be JSON formatted and contain data about the link.

curl -X GET -H "Argus-API-Key: my/api/key" https://api.mnemonic.no/sampledb/v2/sample/<sample sha256 ID>/link/

Tip

For more detailed information on what the response model looks like, you can check out the Swagger API documentation.

Fetch#

To fetch a specific link, the link endpoint can be used with a GET operation along with the sample ID, and the link ID. The response body will be JSON formatted and contain data about the link.

curl -X GET -H "Argus-API-Key: my/api/key" https://api.mnemonic.no/sampledb/v2/sample/<sample sha256 ID>/link/<link ID>

Tip

For more detailed information on what the response model looks like, you can check out the Swagger API documentation.

Fetch links summary#

To fetch a link summary for a given Sample, the endpoint can be used with a GET operation along with the sample ID. The response body will be JSON formatted and contain a summary of the (up to) 1000 first links. If there exists more than 1000 links in total, the incompleteTypeCount will be set.

curl -X GET -H "Argus-API-Key: my/api/key" https://api.mnemonic.no/sampledb/v2/sample/<sample sha256 ID>/link/summary

Tip

For more detailed information on what the response model looks like, you can check out the Swagger API documentation.

Next
Submission
Previous
Evidence
Copyright © 2025, Mnemonic
Made with Furo
On this page
  • Link
    • Adding a link
    • Fetching links
      • List
      • Fetch
      • Fetch links summary