feeds

Download a feed file

Changed on

The file behind an artifacts[].url from GET /v2/feeds/{dataset}/latest. Open that link exactly as returned. It is signed and works for 24 hours, needs no API key or session, and costs 0 credits.

.gz files are served as application/gzip; others as text/csv, application/x-ndjson or application/json by their extension. All are sent as downloads.

403 forbidden: the link is invalid or expired; call the latest-run endpoint again for a fresh one. 404: no file by that name in that run. 503: the file could not be fetched right now; retry with backoff.

get/v2/feeds/artifact/{runId}/{name}

Request

  • Base URL
    https://api.cardog.app
  • Auth
    none required

Path parameters

runId, string required

The run ID. Part of the link as returned.

name, string required

The file name. Part of the link as returned.

Query parameters

t, string required

Part of the link as returned

d, string required

Part of the link as returned

exp, integer required

Unix time (seconds) the link stops working: 24 hours from the read that printed it

sig, string required

The link's signature. Part of the link as printed; not something a caller computes

Response

The file

Changes

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    3 more changes in this revision