Skip to main content
GET
/
data
/
{username}
/
{namespace}
/
{datasetName}
/
ingest
/
attempts
List ingestions for a dataset
curl --request GET \
  --url https://api.datalinks.com/api/v1/data/{username}/{namespace}/{datasetName}/ingest/attempts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "<string>",
      "expectedTotalBytes": 123,
      "statusMessage": "<string>",
      "processedBytes": 123,
      "processedRows": 123
    }
  ],
  "metadata": {
    "pageSize": 55,
    "beforeCreatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Path Parameters

namespace
string
required

Namespace for the dataset.

datasetName
string
required

Name of the dataset.

username
string
required

The username associated with the request.

Query Parameters

beforeCreatedAt
string<date-time>

Value of the created_at field before or equals which to return ingestions.

Example:

"2024-03-01T14:30:22.000Z"

pageSize
integer
default:25

Maximum number of results to return.

Required range: 1 <= x <= 100

Response

Returns ingestion records for the specified dataset.

data
object[]
required
metadata
object
required