Skip to main content
GET
/
artifacts
JavaScript
import Antimetal from '@antimetal/sdk';

const client = new Antimetal({
  apiKey: process.env['ANTIMETAL_API_KEY'], // This is the default and can be omitted
});

const artifacts = await client.artifacts.list({ id: ['string'] });

console.log(artifacts);
[
  {
    "id": "<string>",
    "provider": "datadog",
    "providerUrl": "<string>",
    "summary": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "type": "metric",
    "data": {
      "metricType": "gauge",
      "name": "<string>",
      "description": "<string>",
      "unit": "<string>",
      "dataPoints": [
        {
          "attributes": [
            {
              "key": "<string>",
              "value": {
                "stringValue": "<string>",
                "boolValue": true,
                "intValue": "<string>",
                "doubleValue": 123,
                "arrayValue": {
                  "values": "<array>"
                },
                "kvlistValue": {
                  "values": "<array>"
                },
                "bytesValue": "<string>"
              }
            }
          ],
          "startTimeUnixNano": "<string>",
          "timeUnixNano": "<string>",
          "asDouble": 123,
          "asInt": "<string>",
          "exemplars": [
            {
              "filteredAttributes": [
                {
                  "key": "<string>",
                  "value": {
                    "stringValue": "<string>",
                    "boolValue": true,
                    "intValue": "<string>",
                    "doubleValue": 123,
                    "arrayValue": {
                      "values": "<array>"
                    },
                    "kvlistValue": {
                      "values": "<array>"
                    },
                    "bytesValue": "<string>"
                  }
                }
              ],
              "timeUnixNano": "<string>",
              "asDouble": 123,
              "asInt": "<string>",
              "spanId": "<string>",
              "traceId": "<string>"
            }
          ],
          "flags": 123
        }
      ]
    }
  }
]

Authorizations

Authorization
string
header
required

API key authentication via Bearer token

Headers

Antimetal-Version
string
default:2026-03-17

The API version to use. Defaults to the latest stable version if omitted. Pin to the version string in this document's info.version field to opt into exactly this version's schema.

Example:

"2026-03-17"

Query Parameters

id
string[]
required

Artifact IDs to retrieve (can be specified multiple times: ?id=foo&id=bar)

Maximum array length: 100
Example:

"art_123"

Response

id
string
required
provider
enum<string>
required
Available options:
datadog,
github,
slack,
antimetal,
sentry,
kubernetes,
incident-io,
prometheus,
grafana-tempo,
loki,
gcp,
cloudwatch,
user
providerUrl
string | null
required
summary
string | null
required
createdAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
updatedAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
type
enum<string>
required
Available options:
metric
data
object
required