Get source maps

GET /api/apm/sourcemaps

Returns an array of Fleet artifacts, including source map uploads.

Headers

  • elastic-api-version string Required

    The version of the API to use

    Value is 2023-10-31. Default value is 2023-10-31.

Query parameters

  • page number

    Page number

  • perPage number

    Number of records per page

Responses

  • 200 application/json

    Successful response

    Hide response attribute Show response attribute object
    • artifacts array[object]

      Artifacts

      Hide artifacts attributes Show artifacts attributes object
      • body object
        Hide body attributes Show body attributes object
        • bundleFilepath string
        • serviceName string
        • serviceVersion string
        • sourceMap object
          Hide sourceMap attributes Show sourceMap attributes object
          • file string
          • mappings string
          • sourceRoot string
          • sources array[string]
          • sourcesContent array[string]
          • version number
      • compressionAlgorithm string

        Compression Algorithm

      • created string

        Created date

      • decodedSha256 string

        Decoded SHA-256

      • decodedSize number

        Decoded size

      • encodedSha256 string

        Encoded SHA-256

      • encodedSize number

        Encoded size

      • encryptionAlgorithm string

        Encryption Algorithm

      • id string

        Identifier

      • identifier string

        Identifier

      • packageName string

        Package name

      • relative_url string

        Relative URL

      • type string

        Type

  • 400 application/json

    Bad Request response

    Hide response attributes Show response attributes object
    • error string

      Error type

    • message string

      Error message

    • statusCode number

      Error status code

  • 401 application/json

    Unauthorized response

    Hide response attributes Show response attributes object
    • error string

      Error type

    • message string

      Error message

    • statusCode number

      Error status code

  • 500 application/json

    Internal Server Error response

    Hide response attributes Show response attributes object
    • error string

      Error type

    • message string

      Error message

    • statusCode number

      Error status code

  • 501 application/json

    Not Implemented response

    Hide response attributes Show response attributes object
    • error string

      Error type

    • message string

      Error message

    • statusCode number

      Error status code

GET /api/apm/sourcemaps
curl \
 --request GET 'http://localhost:5601/api/apm/sourcemaps' \
 --header "Authorization: $API_KEY" \
 --header "elastic-api-version: 2023-10-31"